-
Notifications
You must be signed in to change notification settings - Fork 0
Mod Integration
CraftTweaker support is included, with the following methods:
This script is used to add a new recipe to the roller. An example usage is as follows:
mods.supertech.processing.addRolling(<minecraft:stick>, <ore:foilIron>, 100);
This will add a recipe that turns a piece of iron foil into a stick, which will take 1000 rf.
This script is used to add a new recipe to the extruder. This functions identically to the addRoller method, but adds to the extruder instead.
mods.supertech.processing.addAssembly(ItemStack, IIngredient, IIngredient, IIngredient, IIngredient[])
This script adds a new recipe to the Mechanical Assembler. This is the most complicated method currently added by the SuperTech Suite of mods. The first variable is the output, followed by the wiring, circuit, base block, and finally any extra materials required.
An example is as follows:
mods.supertech.processing.addAssembly(<mekanism:EnergyCube>.withTag({tier: 0}), <ore:wireCopper> * 5, <ore:circuitBasic>, <mekanism:BasicBlock:8>, [<ore:battery> * 2, <ore:ingotIron>*4]);
This will create a Mekanism energy cube using 5 copper wire, one basic circuit, and a steel casing. It will also require 2 batteries and 4 iron ingots. The power usage is calculated automatically from the input.
Each wire will add 200 rf, each circuit 400, each base 1000, and each additional component will add 500.