Home Migration Guide Getting Started With Scripts Commands Examples
Generic JSON Recipes
This page relates to Yanny’s Stone Age, which has built-in support!

Drying Rack

Package

import mods.stone_age.DryingRackManager;

Methods

  • String name Recipe name
  • IItemStack output
  • IIngredient input
  • int dryingTime Drying time in ticks
  • String group Recipe group

Addition

script.zs
<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");