-
Notifications
You must be signed in to change notification settings - Fork 21
CraftTweaker Guide
e99999 edited this page Dec 18, 2019
·
7 revisions
GT Classic has support for CraftTweaker adding and removing, here some examples:
import mods.gtclassic.IndustrialCentrifuge;/*
* Arguments: output, input1, input2, totalEu
* - IItemStack[] output
* - IIngredient input1
* - IIngredient input2 - Can be omitted
* - int totalEu - Can be omitted-will default to 3200 if so. Also must be greater then 0
*/
IndustrialCentrifuge.addRecipe([<minecraft:diamond_block>, <minecraft:diamond>], <minecraft:dirt> * 64, <minecraft:grass> * 64, 6400);
IndustrialCentrifuge.addRecipe([<minecraft:diamond_block>, <minecraft:diamond>], <minecraft:dirt> * 64, 6400);/*
* Adds Recipe that takes empty glass tubes as the second input.
* Arguments: output, input1, cells, totalEu
* - IItemStack[] output
* - IIngredient input1
* - int cells - Must be greater then 0.
* - int totalEu - Can be omitted-will default to 3200 if so. Also must be greater then 0
*/
IndustrialCentrifuge.addCellRecipe([<minecraft:diamond_block>, <minecraft:diamond>], <minecraft:dirt> * 64, 6400);
IndustrialCentrifuge.addCellRecipe([<minecraft:diamond_block>, <minecraft:diamond>], <minecraft:dirt> * 64);import mods.gtclassic.FusionReactor;/*
* Arguments: output, input1, input2, totalEu
* - IItemStack output
* - IIngredient input1
* - IIngredient input2
* - int totalEu - Must be greater then 0.
*/
FusionReactor.addRecipe(<minecraft:diamond>, <minecraft:dirt> * 64, <minecraft:grass> * 64, 640000);import mods.gtclassic.MatterFab;/*
* Arguments: input, amplifier
* - IIngredient input
* - int amplifier - This value represents the Eu cost to consume the input, as well as its value as an amplifier
*/
MatterFab.addRecipe(<minecraft:diamond>, 640000);