import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient; import crafttweaker.oredict.IOreDict; import mods.gregtech.recipe.RecipeMap; print("---------------Mekanism Start------------------"); val assembler = mods.gregtech.recipe.RecipeMap.getByName("assembler"); val aSmelter = mods.gregtech.recipe.RecipeMap.getByName("alloy_smelter"); val blast_furnace = mods.gregtech.recipe.RecipeMap.getByName("blast_furnace"); val chemReactor = mods.gregtech.recipe.RecipeMap.getByName("chemical_reactor"); #Tooltips .addTooltip("Solar Panels cannot be obtained; external heat must be provided to the structure"); #mekanism hydrogen and oxygen chemReactor.recipeBuilder() .fluidInputs([ * 1000]) .fluidOutputs([ * 1000]) .notConsumable(integratedCircuit.withTag({Configuration: 5})) .duration(20) .EUt(28) .buildAndRegister(); chemReactor.recipeBuilder() .notConsumable(integratedCircuit.withTag({Configuration: 5})) .fluidInputs([ * 1000]) .fluidOutputs([ * 1000]) .duration(20) .EUt(28) .buildAndRegister(); #Redundant/Useless Mekanism Smelting Recipes furnace.remove(); furnace.remove(, ); furnace.remove(, ); furnace.remove(, ); #remove mek osmium ingots and nuggets mods.jei.JEI.removeAndHide(); mods.jei.JEI.removeAndHide(); #remove metalurgic infuser mods.jei.JEI.removeAndHide(); #gas tanks recipes.remove(.withTag({tier: 0, mekData: {}})); recipes.addShaped(.withTag({tier: 0, mekData: {}}), [[,,], [,null,], [,,]]); #remove electrolyzer mods.jei.JEI.removeAndHide(); #rotary condestrator recipes.remove(); recipes.addShaped(, [[, , ], [, , ], [, , ]]); #laser amplifier recipes.remove(); recipes.addShaped(, [[, , ], [, , ], [, , ]]); #laser recipes.remove(); recipes.addShaped(, [[, , null], [, , ], [, , null]]); #Logistic transport pipes recipes.remove(.withTag({tier: 0})); recipes.addShaped(.withTag({tier: 0}) * 8, [ [, , ], [, , ], [, , ]]); #remove circuits mods.jei.JEI.removeAndHide(); mods.jei.JEI.removeAndHide(); mods.jei.JEI.removeAndHide(); mods.jei.JEI.removeAndHide(); #energy tablet mods.jei.JEI.removeAndHide(); #Fluid pipes recipes.remove(.withTag({tier: 0})); recipes.addShaped(.withTag({tier: 0}) * 8, [ [, , ], [, , ], [, , ]]); #Energy Tablet recipes.remove(); #Configurator recipes.remove(); recipes.addShaped(, [ [null, , null], [, , ], [null, , null]]); #dyanmic tanks recipes.remove(); recipes.addShaped( * 4, [ [null, , null], [, , ], [null, , null]]); #dynaic valve recipes.remove(); aSmelter.recipeBuilder() .inputs( * 2, ) .outputs([ * 2]) .duration(800) .EUt(3) .buildAndRegister(); #guage dropper recipes.remove(); recipes.addShaped(, [[null, , null], [, null, ], [, , ]]); #mekanical pipe upgrades assembler.recipeBuilder() .inputs(, .withTag({tier: 0}) * 8) .outputs([ .withTag({tier: 1})*8]) .duration(160) .EUt(20) .buildAndRegister(); assembler.recipeBuilder() .inputs(, .withTag({tier: 1}) * 8) .outputs([ .withTag({tier: 2})*8]) .duration(160) .EUt(20) .buildAndRegister(); assembler.recipeBuilder() .inputs(, .withTag({tier: 2}) * 8) .outputs([ .withTag({tier: 3})*8]) .duration(160) .EUt(20) .buildAndRegister(); #logistic pipe upgrades assembler.recipeBuilder() .inputs(, .withTag({tier: 0}) * 8) .outputs([ .withTag({tier: 1})*8]) .duration(160) .EUt(20) .buildAndRegister(); assembler.recipeBuilder() .inputs(, .withTag({tier: 1}) * 8) .outputs([ .withTag({tier: 2})*8]) .duration(160) .EUt(20) .buildAndRegister(); assembler.recipeBuilder() .inputs(, .withTag({tier: 2}) * 8) .outputs([ .withTag({tier: 3})*8]) .duration(160) .EUt(20) .buildAndRegister(); #enriched alloy assembler.recipeBuilder() .inputs(, ) .fluidInputs([ * 288]) .outputs([]) .duration(1500) .EUt(20) .buildAndRegister(); #fuelwood heater recipes.remove(); recipes.addShaped(, [[, , ], [, , ], [, , ]]); #Free runners recipes.remove(); recipes.addShaped(, [[, null, ], [, , ], [, , ]]); #speed upgrades recipes.remove(); recipes.addShaped(, [[null,,null], [,,], [null,,null]]); #resistive heater recipes.remove(); recipes.addShaped(, [[, , ], [, , ], [, , ]]); #evaperation valve recipes.remove(); recipes.addShaped(, [[null,,], [,,], [null,,null]]); #Thermal evaporation blocks recipes.remove(); assembler.recipeBuilder() .inputs(*2,) .outputs([]) .duration(400) .EUt(24) .buildAndRegister(); #Thermal Evaporation controller recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); #ultimate alloy assembler.recipeBuilder() .inputs(*2, ) .fluidInputs([ * 144]) .outputs([]) .duration(1500) .EUt(150) .buildAndRegister(); #refined obsidian blast_furnace.recipeBuilder() .inputs(*4, ) .fluidInputs([ * 500]) .outputs() .property("temperature", 3600) .duration(220) .EUt(480) .buildAndRegister(); #refined glowstone blast_furnace.recipeBuilder() .inputs(*4, ) .fluidInputs([ * 500]) .outputs() .property("temperature", 3600) .duration(220) .EUt(480) .buildAndRegister(); #Reinforcd alloy assembler.recipeBuilder() .inputs(, ) .fluidInputs([ * 144]) .outputs([]) .duration(1500) .EUt(48) .buildAndRegister(); #pump recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); #Dynamic glass recipes.remove(); aSmelter.recipeBuilder() .inputs(, ) .outputs([ * 4]) .duration(800) .EUt(3) .buildAndRegister(); val oreDictOsmium = ; oreDictOsmium.remove(); #Bin Removal mods.jei.JEI.removeAndHide(); #Cardboard Box recipes.remove(); mods.bloodmagic.BloodAltar.addRecipe(, , 4, 10000, 10, 2); #Furnace removal mods.jei.JEI.removeAndHide(); #Factory Crafting Removal var factoryDisabled as IItemStack[] = [ .withTag({recipeType: 0}), .withTag({recipeType: 1}), .withTag({recipeType: 2}), .withTag({recipeType: 3}), .withTag({recipeType: 4}), .withTag({recipeType: 5}), .withTag({recipeType: 6}), .withTag({recipeType: 7}), .withTag({recipeType: 2}), .withTag({recipeType: 0}), .withTag({recipeType: 7}), .withTag({recipeType: 6}), .withTag({recipeType: 5}), .withTag({recipeType: 4}), .withTag({recipeType: 3}), .withTag({recipeType: 2}), .withTag({recipeType: 1}), .withTag({recipeType: 0}), .withTag({recipeType: 0}), .withTag({recipeType: 1}), .withTag({recipeType: 2}), .withTag({recipeType: 3}), .withTag({recipeType: 4}), .withTag({recipeType: 5}), .withTag({recipeType: 6}), .withTag({recipeType: 7})]; for i in factoryDisabled { mods.jei.JEI.removeAndHide(i); } #Induction/Energy Cube removal/bins/tanks var generalDisabled as IItemStack[] = [ , , , // induction blocks , , // Forumlaic Assembler , , , , // Ore Processing Machines , , , //combiner , //osmium compressor , , .withTag({tier: 0, mekData: {}}), .withTag({tier: 1, mekData: {}}), .withTag({tier: 2, mekData: {}}), .withTag({tier: 3, mekData: {}}), .withTag({tier: 4, mekData: {}}), , .withTag({tier: 0, mekData: {}}), .withTag({tier: 1, mekData: {}}), .withTag({tier: 2, mekData: {}}), .withTag({tier: 3, mekData: {}}), .withTag({tier: 4, mekData: {}}), , // universal cables ]; for i in generalDisabled { mods.jei.JEI.removeAndHide(i); } var energyBlocksHidden as IItemStack[] = [ , .withTag({tier: 1, mekData: {}}), .withTag({tier: 2, mekData: {}}), .withTag({tier: 3, mekData: {}}), .withTag({tier: 1}), .withTag({tier: 2}), .withTag({tier: 3}), .withTag({tier: 0, mekData: {energyStored: 2000000.0}}), .withTag({tier: 1, mekData: {}}), .withTag({tier: 1, mekData: {energyStored: 8000000.0}}), .withTag({tier: 2, mekData: {}}), .withTag({tier: 2, mekData: {energyStored: 3.2E7}}), .withTag({tier: 3, mekData: {}}), .withTag({tier: 3, mekData: {energyStored: 1.28E8}}), .withTag({tier: 4, mekData: {}}), .withTag({tier: 4, mekData: {energyStored: 1.7976931348623157E308}}) ]; for i in energyBlocksHidden { mods.jei.JEI.hide(i); } #energy tablet removals recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.remove(); recipes.addShaped(, [[, , ], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, null, ], [, , ]]); recipes.addShaped(, [[null, , null], [, , ], [, , ]]); recipes.addShaped(, [[null, , null], [, , ], [null, , null]]); recipes.addShaped(, [[null, , null], [, , ], [null, , null]]); recipes.addShaped(, [[null, , null], [, , ], [, , ]]); recipes.addShaped(, [[, , ], [, , ], [, , ]]); print("----------------Mekanism End-------------------");