Difference between revisions of "Mods:GregTech Support"
From MineTweaker 3
Line 35: | Line 35: | ||
import mods.gregtech.Boxing; | import mods.gregtech.Boxing; | ||
− | The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: | + | The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: https://www.dropbox.com/s/6pkfllgkoeozv78/gttweaker-1.7.10-0.3.0.jar?dl=0 |
import mods.gregtech.Assemblerliq; (Lquid Support for the Assembler) | import mods.gregtech.Assemblerliq; (Lquid Support for the Assembler) | ||
Line 105: | Line 105: | ||
Boxing.addUnboxingRecipe(item, emptyBox, fullBox, durationTicks, euPerTick); | Boxing.addUnboxingRecipe(item, emptyBox, fullBox, durationTicks, euPerTick); | ||
− | The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: | + | The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: https://www.dropbox.com/s/6pkfllgkoeozv78/gttweaker-1.7.10-0.3.0.jar?dl=0 |
AssemblerLiq.addRecipe(output, input1, input2, liquid, durationTicks, euPerTick); | AssemblerLiq.addRecipe(output, input1, input2, liquid, durationTicks, euPerTick); |
Revision as of 00:11, 13 March 2015
MineTweaker now also contains GregTech support. Each machine has methods to add recipes for it.
These recipes are not undoable, and will be stuck when you alter and reload them. Reloading scripts without altering the scripts will not result in any issues, as MineTweaker will detect those cases.
The following machines and methods are available:
import mods.gregtech.AlloySmelter; import mods.gregtech.Assembler; import mods.gregtech.BlastFurnace; import mods.gregtech.Canner; import mods.gregtech.Centrifuge; import mods.gregtech.CNC; import mods.gregtech.ChemicalReactor; import mods.gregtech.DistillationTower; import mods.gregtech.Electrolyzer; import mods.gregtech.ForgeHammer; import mods.gregtech.Fuels; import mods.gregtech.FusionReactor; (not implemented in GT 5 under MC Version 1.7.10) import mods.gregtech.Grinder; import mods.gregtech.ImplosionCompressor; import mods.gregtech.Lathe; import mods.gregtech.PlateBender; import mods.gregtech.PlateCutter; import mods.gregtech.Sawmill; import mods.gregtech.Sonictron; import mods.gregtech.VacuumFreezer; import mods.gregtech.Wiremill; // these are 1.6.4 only import mods.gregtech.ComputerCube; import mods.gregtech.JackHammer; // these are 1.7.2 only import mods.gregtech.Aplifabricator; import mods.gregtech.Boxing;
The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: https://www.dropbox.com/s/6pkfllgkoeozv78/gttweaker-1.7.10-0.3.0.jar?dl=0
import mods.gregtech.Assemblerliq; (Lquid Support for the Assembler) import mods.gregtech.Autoclave; import.mods.gregtech.Brewery; import mods.gregtech.CentrifugeLiq; (Liquid and EU Support for the Centrifuge) import.mods.gregtech.ChemicalBath; import.mods.gregtech.ChemicalReactorLiq; (Liquid Support for the Chemical Reactor) import.mods.gregtech.Distillery; import.mods.gregtech.Fermenter; import.mods.gregtech.FormingPress; import.mods.gregtech.Mixer; import.mods.gregtech.PrecisionLaser; import.mods.gregtech.Printer; import.mods.gregtech.SawLiq; (Liquid Support for the Cutting Saw)
# TODO: replace with real examples # Soon there will be the complete API documentation AlloySmelter.addRecipe(output, input1, input2, durationTicks, euPerTick); Assembler.addRecipe(output, input1, input2, durationTicks, euPerTick); BlastFurnace.addRecipe(output, input1, input2, durationTicks, euPerTick, temperature); BlastFurnace.addRecipe([output1, output2], input1, input2, durationTicks, euPerTick, temperature); Canner.addRecipe(output, input1, input2, durationTicks, euPerTick); Canner.addRecipe([output1, output2], input1, input2, durationTicks, euPerTick); Centrifuge.addRecipe([output1, output2, output3, output4], input, cells, durationTicks); Centrifuge.addRecipeFuelCan([output1, output2, output3, output4], input, durationTicks); ChemicalReactor.addRecipe(output, input1, input2, durationTicks); DistillationTower.addRecipe(output, input, numCells, durationTicks, euPerTick); DistillationTower.addRecipe([output1, output2, output3, output4], input, numCells, durationTicks, euPerTick); Electrolyzer.addRecipe([output1, output2, output3, output4], input, cells, duration, euPerTick); Extruder.addRecipe(output, input2 shape, durationTicks, euPerTick); ForgeHammer.addRecipe(output, input, durationTicks, euPerTick); Fuels.addDieselFuel(output, input, euPerMillibucket); Fuels.addGasTurbineFuel(output, input, euPerMillibucket); Fuels.addThermalGeneratorFuel(output, input, euPerMillibucket); Fuels.addDenseFluidFuel(output, input, euPerMillibucket); Fuels.addPlasmaGeneratorFuel(output, input, euPerMillibucket); Fuels.addMagicGeneratorFuel(output, input, euPerMillibucket); FusionReactor.addRecipe(output, input1, input2, durationTicks, energyPerTick, startEnergy); Grinder.addRecipe(output, input); Grinder.addRecipe(output, input1, input2); Grinder.addRecipe([output1, output2, output3, output4], input); Grinder.addRecipe([output1, output2, output3, output4], input1, input2); ImplosionCompressor.addRecipe(output, input, numTnt); ImplosionCompressor.addRecipe([output1, output2], input, numTnt); Lathe.addRecipe(output, input, durationTicks, euPerTick); Lathe.addRecipe([output1, output2], input, durationTicks, euPerTick); PlateBender.addRecipe(output, input, durationTicks, euPerTick); PlateCutter.addRecipe(output, input, durationTicks, euPerTick); Sawmill.addRecipe(output, input1); Sawmill.addRecipe(output, input1, input2); Sawmill.addRecipe([output1, output2], input1); Sawmill.addRecipe([output1, output2], input1, input2); Sonictron.addSound(item, soundName); VacuumFreezer.addRecipe(output, input, durationTicks); Wiremill.addRecipe(<item.stick> * 3, <tile.wood>, 20, 1); // these are 1.6.4 only ComputerCube.addDescriptionSet([item1, item2, ...], [textLine1, textLine2, ...]); JackHammer.addMinableBlock(item); JackHammer.addDiamondMinableBlock(item); // these are 1.7.2 only Amplifabricator.addAmplifier(item, durationTicks, amount); Boxing.addBoxingRecipe(fullBox, item, emptyBox, durationTicks, euPerTick); Boxing.addUnboxingRecipe(item, emptyBox, fullBox, durationTicks, euPerTick);
The following machines and methods are available with Gregtech 5 Addon Mod 0.3.0: https://www.dropbox.com/s/6pkfllgkoeozv78/gttweaker-1.7.10-0.3.0.jar?dl=0
AssemblerLiq.addRecipe(output, input1, input2, liquid, durationTicks, euPerTick); Autoclave.addRecipe(output, input, liquid, chance, durationTicks, euPerTick); (chance 9000 = 90%) Brewery.addRecipe(liquidOutput, liquidInput, true or false); (true = Recipe are hidden) CentrifugeLiq.addRecipe(output1, output 2, output3, output4, output5, output6, liquidInput, input, cells, liquidOtput, chance1, chance2, chance3, chance4, chance5, chance6, durationTicks, euPerTick); (chance1 for output1...) ChemicalBath.addRecipe(outpu1, output2, output3, input, liquidInput, chance1, chance2, chance3, durationTicks, euPerTick); ChemicalReactorLiq.addRecipe(output, liquidOutput, input, liquidInput, durationTicks, euPerTick); Distillery.addRecipe(output, circuit, input,durationTicks, euPerTick, true or false); (false= Recipe are visible) Fermenter.addRecipe(output, input, durationTicks, true or false); (true = Recipe are hidden) FormingPress.addRecipe(output, input1, input2, durationTicks, euPerTick); PrecisionLaser.addRecipe(output, lense, input, durationTicks, euPerTick); Mixer.addRecipe(output, liquidOutput, input1, input2, input3, input4, liquidInput, durationTicks, euPerTick); Printer.addRecipe(output, input, DataStick, liquidInput, durationTicks, euPerTick); SawLiq.addRecipe(output1, output2, input, liquidInput, durationTicks, euPerTick);