import com.nomiceu.nomilabs.groovy.ChangeRecipeBuilder import com.nomiceu.nomilabs.groovy.ChangeRecipeBuilderCollection import com.nomiceu.nomilabs.util.LabsModeHelper import gregtech.api.recipes.RecipeBuilder import gregtech.api.metatileentity.multiblock.CleanroomType import gregtech.api.recipes.ingredients.GTRecipeItemInput import gregtech.api.recipes.ingredients.nbtmatch.NBTCondition import gregtech.api.recipes.ingredients.nbtmatch.NBTMatcher import net.minecraft.item.ItemStack import net.minecraftforge.fluids.FluidStack import static gregtech.api.GTValues.* import static com.nomiceu.nomilabs.groovy.GroovyHelpers.JEIHelpers.* import static com.nomiceu.nomilabs.groovy.GroovyHelpers.GTRecipeHelpers.* crafting.shapedBuilder() .output(item('mts:mts.jerrycan')) .matrix( 'TPP', 'PBP', 'PPP') .key('T', ore('pipeTinyFluidSteel')) .key('P', ore('plateSteel')) .key('B', item('minecraft:bucket')) .replace().register() crafting.removeByOutput(item('mts:mts.charger')) mods.gregtech.assembler.recipeBuilder() .inputs(ore('plateAluminium') * 3, item('enderio:block_buffer', 1), item('mts:mts.jumpercable'), metaitem('hull.lv')) .outputs(item('mts:mts.charger')) .fluidInputs(fluid("soldering_alloy") * 72) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.removeByOutput(item('mts:mts.custombench')) mods.gregtech.assembler.recipeBuilder() .inputs(ore('plateSteel') * 6, ore('workbench'), ore('screwSteel') * 6) .outputs(item('mts:mts.custombench')) .fluidInputs(fluid("plastic") * 144) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.shapedBuilder() .output(item('mts:mts.decorbench')) .matrix( 'C ', 'PPP', 'F F' ) .key('C', item('mts:mts.itembench')) .key('P', ore('plateSteel')) .key('F', ore("frameGtSteel")) .replace().register() crafting.shapedBuilder() .output(item("mts:mts.enginebench")) .matrix( 'SSS', 'BDS', ' PF') .key("S", ore("ingotSteel")) .key("B", ore("barsIron")) .key("D", ore("dyeRed")) .key("P", ore("plateSteel")) .key("F", ore("frameGtSteel")) .replace().register() crafting.removeByOutput(item("mts:mts.fuelpump")) mods.gregtech.assembler.recipeBuilder() .inputs(metaitem("electric.pump.hv"), metaitem("cover.screen"), item("mts:mts.fuelhose"), ore("pipeHugeFluidSteel"), ore("circuitLv")) .outputs(item("mts:mts.fuelpump")) .fluidInputs(fluid("plastic") * 144) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.removeByOutput(item("mts:mts.gunbench")) mods.gregtech.assembler.recipeBuilder() .inputs(metaitem("lathe.lv"), ore("frameGtSteel") * 3) .outputs(item("mts:mts.gunbench")) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.removeByOutput(item("mts:mts.itembench")) mods.gregtech.assembler.recipeBuilder() .inputs(metaitem("cover.screen"), ore("circuitLv") * 3, ore("oc:keyboard"), ore("frameGtAluminium")) .outputs(item("mts:mts.itembench")) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.removeByOutput(item("mts:mts.propellerbench")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("toolHeadDrillSteel"), metaitem("electric.motor.hv") * 2, ore("circuitLv") * 2, ore("plateSteel") * 8) .outputs(item("mts:mts.propellerbench")) .duration(200).EUt(VHA[MV]) .buildAndRegister() crafting.removeByOutput(item("mts:mts.seatbench")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("toolHeadBuzzSawSteel"), metaitem("electric.motor.hv"), ore("plateIron") * 4) .outputs(item("mts:mts.seatbench")) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.shapedBuilder() .output(item("mts:mts.wheelbench")) .matrix( ' ', 'PSS', 'TFF') .key("P", ore("pipeTinyFluidSteel")) .key("S", ore("slabWood")) .key("T", item("gregtech:machine", 1611)) .key("F", ore("frameGtWood")) .replace().register() crafting.removeByOutput(item("mts:mts.fuelhose")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("ringRubber") * 2, ore("pipeTinyFluidSteel") * 2) .outputs(item("mts:mts.fuelhose")) .fluidInputs(fluid("rubber") * 144) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.removeByOutput(item("mts:mts.jumpercable")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("cableGtSingleRedAlloy") * 4, ore("plateCopper") * 4, ore("dyeRed"), ore("dyeBlue")) .outputs(item("mts:mts.jumpercable")) .fluidInputs(fluid("soldering_alloy") * 72) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.shapedBuilder() .output(item("mts:mts.jumperpack")) .matrix( 'AJA', 'PBP', 'YPY' ) .key("A", ore("plateAluminium")) .key("J", item("mts:mts.jumpercable")) .key("P", ore("platePlastic")) .key("Y", ore("dyeYellow")) .key("B", item('gregtech:meta_item_1', 735).withNbt(['Charge': 120000L])) .replace().register() removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ft17_blue')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ft17_gray')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ft17_olive')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ft17_tan')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37los')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37los_arctic')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37los_brown')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37los_green')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37los_tan')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzlp11')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzlp11_brown')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzlp11_green')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzlp11_tan')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.aa_base')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.aa_turret_37')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.aa_turret_762')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ammocrate_bomb_250')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ammocrate_rocket')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ammocrate_shell37_ap')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ammocrate_shell37_he')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ammocrate_shell37_prox')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.basicbomb_hardpoint')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.double_bombrack')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.drill')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.ft17track')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.gunft17turret')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.gunm1919')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.gunobserver')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.gunrocketlauncher')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.gunrocketpod')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.heavy_bombrack')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.pzl37_bombrack')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.basicbomb')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700he')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700he_mag')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700proxy')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700proxy_mag')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700solid')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet3700solid_mag')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bullet762')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.bulletrocket')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.heavy_bomb')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.basecartridge')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.copperwire')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.circuit')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.fuzeimpact')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.fuzeproxy')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.metaltube')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.plastic')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.plating')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.processor')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.screws')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.smallarmscartridge')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.solidfuel')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.explosives')) removeAndHideItemIgnoreNBT(item('mts:mtsofficialpack.spring')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ft17_blue')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ft17_gray')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ft17_olive')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ft17_tan')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37los')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37los_arctic')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37los_brown')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37los_green')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37los_tan')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzlp11')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzlp11_brown')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzlp11_green')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzlp11_tan')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.aa_base')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.aa_turret_37')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.aa_turret_762')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ammocrate_bomb_250')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ammocrate_rocket')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ammocrate_shell37_ap')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ammocrate_shell37_he')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ammocrate_shell37_prox')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.basicbomb_hardpoint')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.double_bombrack')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.drill')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.ft17track')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.gunft17turret')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.gunm1919')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.gunobserver')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.gunrocketlauncher')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.gunrocketpod')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.heavy_bombrack')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.pzl37_bombrack')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.basicbomb')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700he')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700he_mag')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700proxy')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700proxy_mag')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700solid')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet3700solid_mag')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bullet762')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.bulletrocket')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.heavy_bomb')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.basecartridge')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.copperwire')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.circuit')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.fuzeimpact')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.fuzeproxy')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.metaltube')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.plastic')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.plating')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.processor')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.screws')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.smallarmscartridge')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.solidfuel')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.explosives')) mods.jei.ingredient.hide(item('mts:mtsofficialpack.spring')) crafting.removeByOutput(item("mts:mtsofficialpack.blowtorch")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("pipeTinyFluidSteel"), ore("pipeTinyFluidBronze"), ore("gemFlint"), ore("nuggetSteel")) .outputs(item("mts:mtsofficialpack.blowtorch")) .fluidInputs(fluid("propane") * 1000) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.shapedBuilder() .output(item("mts:mtsofficialpack.headlight")) .matrix( ' G', 'PL ', 'WP ', ) .key('G', ore("paneGlassColorless")) .key("P", ore("plateIron")) .key("L", item("minecraft:redstone_lamp")) .key("W", ore("wireFineCopper")) .replace().register() // recipe conflict with minecart wheels mods.gregtech.assembler.removeByInput(20, [metaitem("stickSteel"), metaitem("ringSteel") * 2], [null]) mods.gregtech.assembler.recipeBuilder() .inputs(ore("stickSteel"), ore("ringSteel") * 2) .outputs(item("gregtech:meta_item_1", 269)) .duration(60).EUt(20) .circuitMeta(11) .buildAndRegister() crafting.removeByOutput(item("mts:mtsofficialpack.piston")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("plateSteel"), ore("stickSteel") * 2, ore("ringSteel") * 2, ore("screwSteel") * 2) .outputs(item("mts:mtsofficialpack.piston")) .duration(200).EUt(VHA[LV]) .circuitMeta(10) .buildAndRegister() crafting.removeByOutput(item("mts:mtsofficialpack.sparkplug")) mods.gregtech.assembler.recipeBuilder() .inputs(ore("stickCupronickel"), ore("nuggetLead"), ore("dustCoal"), ore("ringRubber"), ore("pipeTinyFluidSteel")) .outputs(item("mts:mtsofficialpack.sparkplug")) .fluidInputs(fluid("soldering_alloy") * 72) .duration(200).EUt(VHA[LV]) .buildAndRegister() crafting.shapelessBuilder() .output(item("mts:mtsofficialpack.extinguisherfoam")) .input(item("mts:mtsofficialpack.watercannon_proj")) .replace().register() crafting.removeByOutput(item("mts:mtsofficialpack.repairkit")) mods.gregtech.assembler.recipeBuilder() .inputs(item("mts:mtsofficialpack.blowtorch"), item("mts:mts.jumperpack"), item("mts:mts.wrench"), ore("wireFineCopper") * 64, item("gregtech:machine", 1627), ore("plateDoubleSteel") * 32, ore("ingotSolderingAlloy") * 16) .outputs(item("mts:mtsofficialpack.repairkit")) .circuitMeta(11) .duration(400).EUt(VHA[MV]) .buildAndRegister()