This page relates to Yanny's Stone Age, which has built-in support!

importar mods.stone_age.DryingRackManager;

  • String name Recipe name
  • IItemStack output
  • IIngredient input
  • int dryingTime Drying time in ticks
  • String group Recipe group
ZenScript
Copy
<recipetype:stone_age:drying_rack>.addRecipe(String name, IItemStack output, IIngredient input, int dryingTime, @OptionalString String group)

<recipetype:stone_age:drying_rack>.addRecipe("dried_meat", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, "foods");

DryingRackManager.INSTANCE.addRecipe("dried_meat", <item:minecraft:cooked_mutton>, <item:minecraft:mutton>, 1200, "foods");