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!

Flint Workbench

Package

import mods.stone_age.FlintWorkbenchManager;

Methods

Addition

script.zs
<recipetype:stone_age:flint_workbench>.addRecipe(String name, IItemStack output, IIngredient[][] inputMatrix, IIngredient tool, @OptionalString String group)
<recipetype:stone_age:flint_workbench>.addRecipe("cobblestone", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);
FlintWorkbenchManager.INSTANCE.addRecipe("cobblestone", <item:minecraft:cobblestone>, [[<item:minecraft:dirt>, <item:minecraft:dirt]], <item:minecraft:emerald>);