导入 mods.stone_age.MillstoneManager;

  • String name Recipe name
  • IItemStack output
  • IIngredient input
  • int activateCount Activate millstone count
  • String group Recipe group
ZenScript
Copy
<recipetype:stone_age:millstone>.addRecipe(String name, IItemStack output, IIngredient input, int activateCount, @OptionalString String group)

<recipetype:stone_age:millstone>.addRecipe("sugar", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, "foods");
MillstoneManager.INSTANCE.addRecipe("sugar", <item:minecraft:sugar>, <item:minecraft:sugar_cane>, 2, "foods");