Saw
Link to saw
Basic Recipe
Link to basic-recipe
- Adds Saw Recipe - inputs MUST have a block associated with them.
ZenScript Copymods.betterwithmods.Saw.add(IIngredient input, IItemStack[] output);
//Examples
mods.betterwithmods.Saw.add(<minecraft:fence>,[<minecraft:stick>,<minecraft:stick>]);
Removal by input
Link to removal-by-input
- Remove a recipe based on the input ingredient
ZenScript Copymods.betterwithmods.Saw.remove(IIngredient input);
Removal by output
Link to removal-by-output
- Remove a recipe based on the output
ZenScript Copymods.betterwithmods.Saw.remove(IItemStack[] outputs);
Remove all
Link to remove-all
- Remove all recipes
ZenScript Copymods.betterwithmods.Saw.removeAll();
Builder
Link to builder
The Saw has a recipe builder. Due to the nature of the saw it currently has no special builder methods, I will document it none-the-less.
-
To create a new Saw builder.
mods.betterwithmods.Saw.builder()
-
Saw methods
- Sets up the inputs and outputs of the recipe
ZenScriptCopy
buildRecipe(IIngredient[] inputs, IItemStack[] outputs)
- Finalize the recipe and add it to the game
ZenScriptCopy
build()
- Sets up the inputs and outputs of the recipe
Example builder usage
Link to example-builder-usage
Copymods.betterwithmods.Saw.builder()
.buildRecipe([<minecraft:oak_fence>], [<minecraft:stick>*6])
.build();