Tinkers' Construct has built in mod support! You don't need any other mods for this to work!

Tinkers' Construct Severing

Severing is a type of IRecipeManager and implements all the methods that are available to IRecipeManager's, such as removeRecipe() and removeAll().

Methods

Add Recipe

The following script adds a Severing recipe that drops a Diamond when a Sheep (Entity) is killed.

ZenScript
Copy
// <recipetype:tconstruct:severing>.addRecipe(name as string, ingredient as CTEntityIngredient, output as IItemStack)

<recipetype:tconstruct:severing>.addRecipe("beaheading_test", <entitytype:minecraft:sheep>, <item:minecraft:diamond>);

Remove Recipes

The following script does the following:

  1. Removes all Severing recipes that drop a Skeleton Skull.
  2. Removes all Severing recipes that drop from a Creeper (Entity).
ZenScript
Copy
// <recipetype:tconstruct:severing>.removeRecipe(output as IItemStack)
// <recipetype:tconstruct:severing>.removeRecipe(input as CTEntityIngredient)

<recipetype:tconstruct:severing>.removeRecipe(<item:minecraft:skeleton_skull>);
<recipetype:tconstruct:severing>.removeRecipe(<entitytype:minecraft:creeper>);