Skip to content
Jakub edited this page Aug 17, 2023 · 136 revisions

Welcome to the Minetweaker-Gregtech-5-Addon wiki!



RA2 builder (The new and better recipe adder) (Available since GT version 5.09.42.27)

builder()

Call builder() to get a new builder instance and start making recipe


mods.gregtech.RA2.builder()....;
itemInputs([items…])

Call to set item inputs in the recipe, don’t use oredicts !


.itemInputs([input1, input2, ...])....
noItemInputs()

Call if your recipe doesn’t have any item inputs


.noItemInputs()....
itemOutputs([items…])

Call to set item outputs in the recipe, don’t use oredicts !


.itemOutputs([output1, output2, ...])....
noItemOutputs()

Call if your recipe doesn’t have any item outputs


.noItemOutputs()....
fluidInputs([fluids…])

Call to set fluid inputs in the recipe


.fluidInputs([fluid1, fluid2, ...])....
noFluidInputs()

Call if your recipe doesn’t have any fluid inputs


.noFluidInputs()....
fluidOutputs([fluids…])

Call to set fluid outputs in the recipe


.fluidOutputs([fluid1, fluid2, ...])....
noFluidOutputs()

Call if your recipe doesn’t have any fluid outputs


.noFluidOutputs()....
duration(number of ticks)

Call to set recipe duration (in ticks)


.duration(number)....
eut(power)

Call to set recipe power demand (in EU per tick)


.eut(power)....
outputChances(chances…)

If you need to set output chances call this method.
Remember that you HAVE to put as many chances as outputs you declared, otherwise it will throw an exception!
(10000 – 100% | 5555 – 55.55%)


.outputChances(chance1, chance2, ...)....
noOptimize()

If your recipe have diffrent numbers than you put in the file (16x/64x/… less), that means your recipe is beeing automatically optimized.
To disable the optimization simply call this.


.noOptimize()....
specialValue(value)

If your recipe needs special value (such as heat level in EBF recipes), call this.


.specialValue(value)....
specialItem(item)

If your recipe needs special item, call this.


.specialItem(item)....
addTo(“Recipe map name”)

This is the last call of the chain, it will add the recipe to the specified map.
The list of available recipe maps can be found here


.addTo("Recipe map name");

Example RA2 usage:

Dirt to obsidian recipe in the assembler, 420 ticks, 100 eu/t

// Add glass recipe
mods.gregtech.RA2
    .builder()
    .itemInputs([<minecraft:dirt>])
    .itemOutputs([<minecraft:obsidian>])
    .noFluidInputs()
    .noFluidOutputs()
    .duration(420)
    .eut(100)
    .addTo("gt.recipe.assembler");

Recipe Remover


remove(“Recipe map name”, [input items…], [input fluids…])

mods.gregtech.RecipeRemover.remove("Recipe map name", [input1, input2, input3, ...], [fluid1, fluid2, fluid3, ...]);

Example usage:


// Remove sticky piston recipe (crafted using slime ball)
mods.gregtech.RecipeRemover.remove("gt.recipe.assembler", [<minecraft:piston>, <minecraft:slime_ball>], []);

Available recipe maps:

  • gt.recipe.orewasher
  • gt.recipe.thermalcentrifuge
  • gt.recipe.compressor
  • gt.recipe.extractor
  • ic.recipe.recycler
  • mc.recipe.furnace
  • gt.recipe.microwave
  • gt.recipe.scanner
  • gt.recipe.rockbreaker
  • gt.recipe.byproductlist
  • gt.recipe.replicator
  • gt.recipe.fakeAssemblylineProcess
  • gt.recipe.plasmaarcfurnace
  • gt.recipe.arcfurnace
  • gt.recipe.printer
  • gt.recipe.sifter
  • gt.recipe.press
  • gt.recipe.laserengraver
  • gt.recipe.mixer
  • gt.recipe.autoclave
  • gt.recipe.electromagneticseparator
  • gt.recipe.polarizer
  • gt.recipe.macerator
  • gt.recipe.chemicalbath
  • gt.recipe.fluidcanner
  • gt.recipe.brewer
  • gt.recipe.fluidheater
  • gt.recipe.distillery
  • gt.recipe.fermenter
  • gt.recipe.fluidsolidifier
  • gt.recipe.fluidextractor
  • gt.recipe.packager
  • gt.recipe.unpackager
  • gt.recipe.fusionreactor
  • gt.recipe.complexfusionreactor
  • gt.recipe.centrifuge
  • gt.recipe.electrolyzer
  • gt.recipe.blastfurnace
  • gt.recipe.plasmaforge
  • gt.recipe.transcendentplasmamixerrecipes
  • gt.recipe.fakespaceprojects
  • gt.recipe.primitiveblastfurnace
  • gt.recipe.implosioncompressor
  • gt.recipe.vacuumfreezer
  • gt.recipe.chemicalreactor
  • gt.recipe.largechemicalreactor
  • gt.recipe.distillationtower
  • gt.recipe.craker
  • gt.recipe.pyro
  • gt.recipe.wiremill
  • gt.recipe.metalbender
  • gt.recipe.alloysmelter
  • gt.recipe.assembler
  • gt.recipe.circuitassembler
  • gt.recipe.canner
  • gt.recipe.cncmachine
  • gt.recipe.lathe
  • gt.recipe.cuttingsaw
  • gt.recipe.slicer
  • gt.recipe.extruder
  • gt.recipe.hammer
  • gt.recipe.uuamplifier
  • gt.recipe.massfab
  • gt.recipe.dieselgeneratorfuel
  • gt.recipe.extremedieselgeneratorfuel
  • gt.recipe.gasturbinefuel
  • gt.recipe.thermalgeneratorfuel
  • gt.recipe.semifluidboilerfuels
  • gt.recipe.plasmageneratorfuels
  • gt.recipe.magicfuels
  • gt.recipe.smallnaquadahreactor
  • gt.recipe.largenaquadahreactor
  • gt.recipe.fluidnaquadahreactor
  • gt.recipe.hugenaquadahreactor
  • gt.recipe.extrahugenaquadahreactor
  • gt.recipe.fluidfuelnaquadahreactor
  • gt.recipe.largeelectrolyzer
  • gt.recipe.largecentrifuge
  • gt.recipe.largemixer
  • gt.recipe.largeboilerfakefuels
  • gt.recipe.nanoforge
  • gt.recipe.pcbfactory
  • gt.recipe.ic2nuke
  • gtpp.recipe.cokeoven
  • gtpp.recipe.matterfab2
  • gtpp.recipe.rocketenginefuel
  • gtpp.recipe.quantumforcesmelter
  • gtpp.recipe.geothermalfuel
  • gtpp.recipe.chemicaldehydrator
  • gtpp.recipe.vacfurnace
  • gtpp.recipe.alloyblastsmelter
  • gtpp.recipe.steamturbinefuel
  • gtpp.recipe.lftr
  • gtpp.recipe.nuclearsaltprocessingplant
  • gtpp.recipe.oremill
  • gtpp.recipe.fissionfuel
  • gtpp.recipe.coldtrap
  • gtpp.recipe.reactorprocessingunit
  • gtpp.recipe.simplewasher
  • gtpp.recipe.moleculartransformer
  • gtpp.recipe.elementaldupe
  • gtpp.recipe.fluidchemicaleactor
  • gtpp.recipe.RTGgenerators
  • gtpp.recipe.thermalgeneratorfuel
  • gtpp.recipe.solartower
  • gtpp.recipe.cyclotron
  • gtpp.recipe.slowfusionreactor
  • gtpp.recipe.componentassembler
  • gtpp.recipe.fishpond
  • gtpp.recipe.spargetower
  • gtpp.recipe.cryogenicfreezer
  • gtpp.recipe.multicentrifuge
  • gtpp.recipe.multielectro
  • gtpp.recipe.temp4
  • gtpp.recipe.multimixer
  • gtpp.recipe.multidehydrator
  • gtpp.recipe.semifluidgeneratorfuels
  • gtpp.recipe.flotationcell
  • gtpp.recipe.treefarm
  • bw.recipe.biolab
  • bw.recipe.BacteriaVat
  • bw.fuels.acidgens
  • bw.recipe.cal
  • bw.recipe.radhatch
  • bw.recipe.htgr
  • emt.recipe.fusioncrafting
  • gg.recipe.naquadah_reactor
  • gg.recipe.naquadah_fuel_refine_factory
  • gg.recipe.neutron_activator
  • gg.recipe.extreme_heat_exchanger
  • gg.recipe.precise_assembler
  • gg.recipe.componentassemblyline
  • gt.recipe.fakerockbreaker
  • gt.recipe.spaceResearch
  • gt.recipe.spaceAssembler
  • gt.recipe.spaceMining
  • gt.recipe.eyeofharmony
  • gt.recipe.researchStation
  • gt.recipe.em_scanner
  • gtnhlanth.recipe.digester
  • gtnhlanth.recipe.disstank
  • gt.recipe.electricimplosioncompressor

The Following section is DEPRECATED and does NOT fully function

The following machines and methods are available with
Gregtech 5 Addon Mod:


Alloy Smelter


//output stack1, input stack1, input stack2, time in ticks, energy per tick
//Applied Energistics Certus Tank
import mods.gregtech.AlloySmelter;

AlloySmelter.addRecipe(<extracells:certustank>, <appliedenergistics2:tile.BlockQuartzGlass> * 8, <gregtech:gt.metaitem.01:32308> * 0, 800, 30);
Amplifabricator


import mods.gregtech.Amplifabricator;

Amplifabricator.addRecipe(input, durationTicks, amount); // (amount in millibuckets of Liquid UU Output)

Arc Furnace


import mods.gregtech.ArcFurnace;

ArcFurnace.addRecipe([output1, output2, output3, output4],input,
    liquidInput,[chance1, chance2, chance3, chance4],
    durationTicks, euPerTick);
Assembler:


import mods.gregtech.Assembler;

Assembler.addRecipe(output, input1, input2, durationTicks, euPerTick);
//or
Assembler.addRecipe(output, input1, input2, liquid, durationTicks,
    euPerTick);
//or if you use 3 or more different items (can use up to 6)
Assembler.addRecipe(output, [input1, input2, input3, "input4, input5, input6"],
    liquid or null, durationTicks, euPerTick);

Autoclave:


import mods.gregtech.Autoclave;

Autoclave.addRecipe(output, input, liquid, chance, durationTicks, euPerTick);
//(chance 9000 = 90%)

Blast Furnace:


import mods.gregtech.BlastFurnace;

BlastFurnace.addRecipe([output1, output2], input1, input2,
    durationTicks, euperTick, heat);
//or
BlastFurnace.addRecipe(output1, output2, liquidInput, input1,
    input2, durationTicks, euperTick, heat);
//heat= max 3600 Kelvin (3600)

Brewery:


import mods.gregtech.Brewery;

Brewery.addRecipe(liquidOutput, input, liquidInput, true or false); //(true = Recipe are hidden)

Canner:


import mods.gregtech.Canner;

Canner.addRecipe(output, input1, input2, durationTicks, euPerTick);  

Centrifuge:


import mods.gregtech.Centrifuge;

Centrifuge.addRecipe([output1, output 2, output3, output4, output5, output6],
    input, cells, durationTicks);  
//or
Centrifuge.addRecipe([output1, output 2, output3, output4, output5, output6],
    liquidInput, input, cells, liquidOtput, [chance1, chance2, chance3, chance4,
    chance5, chance6], durationTicks, euPerTick);
//(chance1 for output1...)

Chemical Bath:


import mods.gregtech.ChemicalBath;

ChemicalBath.addRecipe(outpu1, output2, output3, input, liquidInput,
    chance1, chance2, chance3, durationTicks, euPerTick);

Chemical Reactor:


import mods.gregtech.ChemicalReactor; //(Liquid Support)

ChemicalReactor.addRecipe(output, input1, input2, durationTicks);
//or
import mods.gregtech.ChemicalReactor; //(Liquid Support)

ChemicalReactor.addRecipe(output, liquidOutput, input1, input2,
    liquidInput, durationTicks);

Circuit Assembler:


import mods.gregtech.CircuitAssembler;

CircuitAssembler.addRecipe(output, [input1, input2, "input3, input4, input5, input6"],
    durationTicks, euPerTick);
//or
CircuitAssembler.addRecipe(output, [input1, input2, "input3, input4, input5, input6"],
    liquid, durationTicks, euPerTick);

CuttingSaw:


import mods.gregtech.CuttingSaw; (Liquid Support)

CuttingSaw.addRecipe(output1, output2, input, liquidInput, durationTicks,
    euPerTick);

Distillation Tower


import mods.gregtech.DistillationTower;

DistillationTower.addRecipe([liquidOutput1, liquidOutput2, liquidOutput3,
    liquidOutput4, liquidOutput5, liquidOutput6], itemOutput, fluidInput,
    durationTicks, euPerTick); //(one fluid have to be defined)
//(Only with GT 5.08.* by Blood Asp)

Distillery:


import mods.gregtech.Distillery;

Distillery.addRecipe(liquidOutput, circuit, LiquidInput, durationTicks, euPerTick)
    true or false);
//(false= Recipe are visible)

Electrolyzer:


import mods.gregtech.Electrolyzer;

Electrolyzer.addRecipe([output1, output2, output3, output4, output5,
    output6], input, cells, durationTicks, euPerTick)
//(cells = amount)
//Or
import mods.gregtech.Electrolyzer;

Electrolyzer.addRecipe([output1, output2, output3, output4, output5, output6],
    liquidOutput, input, cells, [chances1, chances2, chances3, chances4, chances5,
    chances6], durationTicks, euPerTick)
//(cells = ItemStack)

Extruder:


import mods.gregtech.Extruder;

Extruder.addRecipe(output, input, shape, durationTicks, euPerTick); 
//(shape = ItemStack)

Fermenter:


import mods.gregtech.Fermenter;

Fermenter.addRecipe(liquidOutput, LiquidInput,  durationTicks, true or false); 
//(true = Recipe are hidden)

Fluid Canner


import mods.gregtech.FluidCanner;

FluidCanner.addRecipe(output, input, liquidOutput, liquidInput);

Fluid Extractor:


import mods.gregtech.FluidExtractor;

FluidExtractor.addRecipe(output, input, liquidOutput, outputChance,
    durationTicks, euPerTick);
//(5000 = 50% outputChance)

Fluid Heater:


import mods.gregtech.FluidHeater;

FluidHeater.addRecipe(LiquidOutput, itemInput, liquidInput, durationTicks,
    euPerTick);

Fluid Solidifier:


import mods.gregtech.FluidSolidifier;

FluidSolidifier.addRecipe(output, mold, liquidInput, durationTick, euPerTick);

Forge Hammer:


import mods.gregtech.ForgeHammer;

ForgeHammer.addRecipe(output, input1, durationTicks, euPerTick);

Forming Press:


import mods.gregtech.FormingPress;

FormingPress.addRecipe(output, input1, input2, durationTicks, euPerTick);

Fuels:


import mods.gregtech.Fuels;

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);

Fusion Reactor:


import mods.gregtech.FusionReactor;

FusionReactor.addRecipe(fluidOutput, fluidInput1, fluidInput2, durationTicks,
    euPerTick, startEnergy);
//(Only with GT 5.08.* by Blood Asp)

Implosion Compressor:


import mods.gregtech.ImplosionCompressor;

ImplosionCompressor.addRecipe(output, input, Tnt);
//Or
import mods.gregtech.ImplosionCompressor;

ImplosionCompressor.addRecipe([output1, output2], input, Tnt);
//(Tnt = Number of TNT)

Lathe


import mods.gregtech.Lathe;

Lathe.addRecipe(output, input, durationTicks, euPerTick);
//Or
import mods.gregtech.Lathe;

Lathe.addRecipe([output1, output2], input, durationTicks, euPerTick);

Mixer:


import mods.gregtech.Mixer;

Mixer.addRecipe(output, liquidOutput, input1, input2, input3, input4,
    liquidInput, durationTicks, euPerTick);

Oil Cracker:


import mods.gregtech.OilCracker;

OilCracker.addRecipe(liquidOutput, liquidInput, durationTicks, euPerTick);

Packer


import mods.gregtech.Packer;

Packer.addRecipe(output, input1, input2, durationTicks, euPerTick);

Plasma Arc Furnace


import mods.gregtech.PlasmaArcFurnace;

PlasmaArcFurnace.addRecipe([output1, output2, output3, output4], liquidOutput
    input,liquid, [chance1, chance2, chance3, chance4], durationTicks, euPerTick);
//(Only with GT 5.08.* by Blood Asp)

Plate Bender


import mods.gregtech.PlateBender;

PlateBender.addRecipe(output, input, durationTicks, euPerTick);

Plate Cutter


import mods.gregtech.PlateCutter;

PlateCutter.addRecipe(output, input, durationTicks, euPerTick);
//Or
import mods.gregtech.PlateCutter;

PlateCutter.addRecipe([output1, output2], input, durationTicks, euPerTick);

Polarizer


import mods.gregtech.Polarizer;

Polarizer.addRecipe(output, input, durationTicks, euPerTick);

Precision Laser:


import mods.gregtech.PrecisionLaser;

PrecisionLaser.addRecipe(output, lense, input, durationTicks, euPerTick);

Printer:


import mods.gregtech.Printer;

Printer.addRecipe(output, input, DataStick, liquidInput, durationTicks,
    euPerTick);

Pulverizer:


import mods.gregtech.Pulverizer;

Pulverizer.addRecipe([output, output2, output3, output4], input,
    [chance1, chance2, chance3, chance4], durationTicks, euPerTick);

Pyroluse Oven:


import mods.gregtech.PyroluseOven;

PyroluseOven.addRecipe(output, liquidOutput, input, liquidInput,
    durationTicks, euPerTick);

Separator:


import mods.gregtech.Separator;

Separator.addRecipe(output1, output2, outpu3, input,
    [chance1, chance2, chance3], durationTicks, euPerTick);

Sifter:


import mods.gregtech.Sifter;

Sifter.addRecipe([output1, output2, otput3, output4, output5, output6,
    output7, output8, output9], input, [chance1, chance2, chance3, chance4,
    chance5, chance6, chance7, chance8, chance9], durationTicks, euPerTick);

Slicer:


import mods.gregtech.Slicer;

Slicer.addRecipe(output, input, blade, durationTicks, euPerTick);

Unpacker


import mods.gregtech.Unpacker;

Unpacker.addRecipe(output1, output2, input, durationTicks, euPerTick);

Vacuuum Freezer


import mods.gregtech.VacuumFreezer;

VacuumFreezer.addRecipe(output, input, durationTicks);

Wire Mill


import mods.gregtech.Wiremill;

Wiremill.addRecipe(output, input, durationTicks, euPerTick);


Clone this wiki locally