Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Anvil Welding

Package

script.zs
import mods.terrafirmacraft.Welding;

Addition

script.zs
Welding.addRecipe(String registryName, IIngredient input1, IIngredient input2, IItemStack output, int minTier);

Removal

script.zs
Welding.removeRecipe(IItemStack output);
Welding.removeRecipe(String registryName);
  • As with anvil recipes, the same rules for input applies here. The input must be forgeable(see ItemRegistry for registering forging capability to an item) and can’t be stacked.