• Adds Saw Recipe - inputs MUST have a block associated with them.
ZenScript
Copy
mods.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
Copy
mods.betterwithmods.Saw.remove(IIngredient input);

Removal by output

Link to removal-by-output

  • Remove a recipe based on the output
ZenScript
Copy
mods.betterwithmods.Saw.remove(IItemStack[] outputs);
  • Remove all recipes
ZenScript
Copy
mods.betterwithmods.Saw.removeAll();

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
      ZenScript
      Copy
      buildRecipe(IIngredient[] inputs, IItemStack[] outputs)
    • Finalize the recipe and add it to the game
      ZenScript
      Copy
      build()

Example builder usage

Link to example-builder-usage

Copy
mods.betterwithmods.Saw.builder()
.buildRecipe([<minecraft:oak_fence>], [<minecraft:stick>*6])
.build();