Knife - vectorwing/FarmersDelight GitHub Wiki

The Knife is a new category of tool/weapon, aimed at preparing ingredients and foraging resources from plants and animals.

Crafting

Knives are tiered tools, much like pickaxes and swords, but they cannot be made out of wood or stone. The weakest knife available is the Flint Knife.

Iron, Gold and Diamond Knives are craftable as usual, and the latter can be upgraded to a Netherite Knife in 1.16 and beyond.

Usage

Knives work as a hybrid between a tool and a weapon. As a weapon, it swings faster than a sword while dealing weaker strikes. They have a slightly inferior damage per second (DPS) than swords, but can pressure an opponent more often through a shorter knockback.

Mining

Knives are effective mining tools for the following types of blocks:

  • Cakes and pies;
  • All wool blocks;
  • Cobwebs;
  • Straw-based blocks.

Scavenging

Knives have the ability to cleanly forage resources from harvested plants and slain animals.

  • When killing animals, their secondary drop (leather, feathers etc.) is guaranteed to drop once. For example, killing a cow with a knife transforms the odds of 0-2 Leather into 1-3 Leather;
    • Pigs, in particular, have a chance to drop Ham when slain with a knife, with chances affected by Looting;
    • Hoglins are guaranteed to drop 1 Ham when scavenged, with Looting increasing the odds of getting 2 units.
  • When harvesting grassy plants (Tall Grass, Wheat and Rice), it may collect Straw, a useful crafting material. Harvesting crops guarantees a unit of Straw, but tall grass only has a small chance of dropping it;

Food preparation

When combined with a Cutting Board, Knives allow players to portion and process ingredients, primarily for cooking.

  • Rice Panicles can be manually sliced open to retrieve both the Rice grain and a unit of Straw;
  • Certain food ingredients can be chopped into portions, together with bone meal from their bones. Food portions have exactly half the nourishment of the full piece, but are twice as efficient when used to prepare meals, as they can substitute a full piece in the recipe.

Enchanting

Knives are able to receive the following selection of enchantments:

  • Sharpness, Smite, Bane of Arthropods, Knockback, Fire Aspect, Looting, Efficiency, Unbreaking, Mending.

Knives also have an exclusive enchantment: Backstabbing. This three-level enchantment multiplies the damage dealt when striking targets from behind, by 1.4x, 1.8x and 2.2x respectively. It stacks with standard damage-increasing enchantments, allowing for extreme damage on unsuspecting players and mobs. Although it might be hard to use this on hostile mobs, it can be assisted by Potions of Invisibility.