-
Notifications
You must be signed in to change notification settings - Fork 31
Stonecutter Functions
thedarkcolour edited this page May 8, 2020
·
3 revisions
Add a recipe.
// mods.futuremc.Stonecutter.addOutput(IItemStack input, IItemStack outputs);
mods.futuremc.Stonecutter.addOutput(<minecraft:stone>, <minecraft:furnace>); // Adds glass as an option for cutting stone
Shortcut function to add multiple recipes for each output.
// mods.futuremc.Stonecutter.addOutputs(IItemStack input, IItemStack... outputs);
mods.futuremc.Stonecutter.addOutputs(<minecraft:stone>, <minecraft:glass>, <minecraft:sandstone>); // Adds glass as an option for cutting stone
Remove a certain output from a given input.
// mods.futuremc.Stonecutter.removeOutputs(IItemStack input, IItemStack... outputs);
mods.futuremc.Stonecutter.removeOutputs(<minecraft:stone>, <minecraft:stone_slab>); // Removes the option to cut stone into slabs
Remove an input and all its outputs.
// mods.futuremc.Stonecutter.removeAllOutputsForInput(IItemStack input);
mods.futuremc.Stonecutter.removeAllOutputsForInput(<minecraft:stone>); // Removes stone from being cuttable
Call this before you add your own recipes if you would like to remove all the default recipes.
mods.futuremc.Stonecutter.clearRecipes();