Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Grinder

Importing the Package

script.zs
import mods.magneticraft.Grinder;

Adding Recipes

script.zs
//mods.magneticraft.Grinder.addRecipe(IIngredient input, IItemStack output, IItemStack secondaryOutput, float probability, float ticks);
mods.magneticraft.Grinder.addRecipe(<minecraft:iron_ore>, <minecraft:iron_ingot>, <minecraft:gold_ingot>, 0.5, 80.0);
mods.magneticraft.Grinder.addRecipe(<minecraft:gold_ore>, <minecraft:gold_ingot>, <minecraft:stone>, 0.0, 50.0);

Removing Recipes

script.zs
//mods.magneticraft.Grinder.removeRecipe(IItemStack input);
mods.magneticraft.Grinder.removeRecipe(<minecraft:iron_ore>);