#packmode expert #priority -1 import mods.gregtech.multiblock.Builder; import mods.gregtech.multiblock.FactoryBlockPattern; import mods.gregtech.multiblock.RelativeDirection; import mods.gregtech.multiblock.functions.IPatternBuilderFunction; import mods.gregtech.IControllerTile; import mods.gregtech.multiblock.CTPredicate; import mods.gregtech.multiblock.IBlockPattern; import mods.gregtech.recipe.FactoryRecipeMap; import mods.gregtech.recipe.RecipeMap; import mods.gregtech.recipe.functions.IRunOverclockingLogicFunction; import mods.gregtech.recipe.IRecipeLogic; import mods.gregtech.recipe.IRecipe; import scripts.common.makeExtremeRecipe5 as makeExtremeRecipe5; import scripts.common.makeExtremeRecipe7 as makeExtremeRecipe7; import scripts.common.makeExtremeRecipe9 as makeExtremeRecipe9; import scripts.common.makeShaped as makeShaped; import scripts.common.makeShapeless3 as makeShapeless3; // Nether Cake recipes.addShaped(, [[,,], [, , ],[,,]]); // Remove Terracotta maceration // Clay Dust * 4 .findRecipe(2, [], null).remove(); // Clay Dust * 4 .findRecipe(2, [], null).remove(); //Fluid Conduit mods.jei.JEI.removeAndHide(); recipes.remove(); recipes.addShaped( * 4, [ [, , ], [,,], [, , ]]); assembler.recipeBuilder().inputs([ * 3, * 4, * 2]).outputs([ * 8]).duration(80).EUt(16).buildAndRegister(); // Hard Firebricks recipes.removeByRecipeName("gregtech:casing_primitive_bricks"); recipes.addShaped(, [ [, , ], [, .withTag({FluidName: "concrete", Amount: 1000}), ], [, , ] ]); recipes.addShaped(.withTag({FluidName: "concrete", Amount: 1000}), [ [, , ], [, , ], [null, , null] ]); // Ender Tank (Ender Storage) recipes.remove(); // Pulsating Mesh alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(180).EUt(16).buildAndRegister(); // Endervoir recipes.removeByRecipeName("enderio:reservoir"); assembler.recipeBuilder() .inputs([ * 18, * 3, ]) .outputs( * 3) .duration(100) .EUt(30) .buildAndRegister(); // Farming Station recipes.removeByRecipeName("enderio:farming_station"); makeShaped("farming_station", , ["VCV", "SHS", "GPG"], { V : , P : , S : , G : , H : , C : }); ///////////// Tier Four and Half Space Ship ////////////////// makeExtremeRecipe7(, [" LGL ", "I PWP I", "APPCPPA", " PPBPP ", "PWFWFWP", "PDPBPDP", " TTT "], { C : , B : , D : , F : , G : , L : , P : , T : , W : , A : , I : } ); // Exchanging Gadget recipes.removeByRecipeName("buildinggadgets:exchangingtool"); makeShaped("exchangertool", .withTag({blockstate: {Name: "minecraft:air"}}), ["IRI", "DFD", "ILI"], { D : , L : , F : , // IV Field Emitter R : , I : }); recipes.remove(); makeShaped("of_nc_water_source", , ["AAA", "B B", "AAA"], { A : , B : }); // Solidified Experience solidifier.recipeBuilder() .fluidInputs([ * 160]) .notConsumable() .outputs() .duration(500).EUt(16).buildAndRegister(); fluid_extractor.recipeBuilder() .inputs() .fluidOutputs( * 160) .duration(80).EUt(32).buildAndRegister(); // XP Juice mixer.recipeBuilder() .inputs() .fluidOutputs( * 2240) // 8L .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); mixer.recipeBuilder() .inputs() .fluidOutputs( * 4480) // 16L .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); mixer.recipeBuilder() .inputs() .fluidOutputs( * 6720) // 24L .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); mixer.recipeBuilder() .inputs() .fluidOutputs( * 8960) // 32L .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); mixer.recipeBuilder() .inputs() .fluidOutputs( * 11200) // 40L .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); // Quantum Flux mixer.recipeBuilder() .inputs() .outputs( * 8) .fluidInputs( * 250) .duration(100).EUt(480).buildAndRegister(); // Network Visualization Tool recipes.removeByRecipeName("ae2stuff:recipe5"); makeShaped("ae2stuff_nvt", , [ "S S", "EPE", "FFF", ], { S: , E: , // Eng Processor P: , F: }); // Conduit Binder Composite mixer.recipeBuilder() .inputs([ * 4, * 4]) .fluidInputs( * 50) .outputs([.firstItem * 16]) .duration(80).EUt(30).buildAndRegister(); // Remove clay hand mortaring recipes.removeByRecipeName("gregtech:clay_block_to_dust"); recipes.removeByRecipeName("gregtech:clay_ball_to_dust"); //Item conduit - by hand recipes.addShaped( * 4, [ [, , ], [,,], [, , ]]); //ender fluid conduit - by hand recipes.addShaped( * 4, [ [, , ], [,,], [, , ]]); //item conduit - assembler assembler.recipeBuilder() .inputs([ * 3, * 4, * 2]) .outputs([ * 8]) .duration(80).EUt(16).buildAndRegister(); //ender fluid conduit - assembler assembler.recipeBuilder() .inputs([ * 2, , * 4, * 2]) .outputs([ * 8]) .duration(80).EUt(16).buildAndRegister(); // Elemental Reduction with H2SbF7 reactor.recipeBuilder() .inputs( * 4) .fluidInputs([ * 1000]) .fluidOutputs( * 12000) .duration(540).EUt(360).buildAndRegister(); ////////////////////////// Creative Vending Upgrade /////////////////////// val creativecell = .withTag({Recv: 250000, RSControl: 0 as byte, Facing: 3 as byte, Energy: 500000000, Creative: 1 as byte, SideCache: [2, 2, 2, 2, 2, 2] as byte[] as byte[], Level: 4 as byte, Send: 250000}, false); val creativetank = .withTag({RSControl: 0 as byte, Creative: 1 as byte, Level: 4 as byte}, false); val creativejetpack = .withTag({JetpackParticleType: 3}, false); makeExtremeRecipe9( * 2, ["ABBBBBBBA", "BCBEDEBCB", "BBSGHGSBB", "BUJXIXJUB", "BNSWKWSNB", "BUJXLXJUB", "BBSGMGSBB", "BCBEDEBCB", "ABBBBBBBA"], { A : , B : , C : , D : creativecell.only(isCreative), E : , G : , H : , I : , J : creativejetpack, K : , L : , M : , N : , S : , U : , W : .withTag({Water: 0, Mode: 4}, false), X : .withTag({Energy: 250000000}, false) }); // Actualization Chamber val actualization_chamber = Builder.start("actualization_chamber") .withPattern(function(controller as IControllerTile) as IBlockPattern { return FactoryBlockPattern.start() .aisle("CCC","GGG","CCC") .aisle("CCC","GOG","CCC") .aisle("CSC","GGG","CCC") .where('S', controller.self()) .where('O', ) .where('G', ) .where('C', CTPredicate.states() | controller.autoAbilities(true, false, true, true, false, false, false) ) .build(); } as IPatternBuilderFunction) .withRecipeMap( FactoryRecipeMap.start("actualization_chamber") .minInputs(1) .maxInputs(2) .minOutputs(1) .maxOutputs(16) .build()) .withBaseTexture() .buildAndRegister(); actualization_chamber.hasMufflerMechanics = false; actualization_chamber.hasMaintenanceMechanics = false; makeExtremeRecipe5(, ["PPPPP", "PEFSP", "PWGWP", "PSFEP", "PPPPP"], { G : , W : , P : , E : , S : , F : }); // t1 ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64) .buildAndRegister(); // t1 gems actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 64, * 64, * 64, * 64) .buildAndRegister(); // t1 stellar data actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(3) .outputs() .buildAndRegister(); // t2 ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64) .buildAndRegister(); // t3 gems actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 32, * 64, * 48, * 32, * 64, * 64, * 64) .buildAndRegister(); // t3 ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64) .buildAndRegister(); // t3 magma actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(3) .outputs( * 64, * 64) .buildAndRegister(); // t4 oil and infinity actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 64, .firstItem * 16) .buildAndRegister(); // t4 ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 64, * 64, * 64, * 64, * 32, * 16) .buildAndRegister(); // t4 pgs ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(3) .outputs( * 64, * 64, * 64, * 64, * 64, * 32, * 8) .buildAndRegister(); // t4.5 ow mobs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 48, * 64, * 64, * 64, * 48, * 64, * 64, * 64, * 48, * 64, * 64, * 64) .buildAndRegister(); // t4.5 nether mobs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 64, * 64, * 64, * 48, * 64, * 64, * 64, * 4) .buildAndRegister(); // t4.5 end mobs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(3) .outputs( * 48, * 16, * 64, * 64, * 64) .buildAndRegister(); // t4.5 dragon actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(4) .outputs( * 64, * 64, * 64, * 64, ) .buildAndRegister(); // t4.5 wither actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(5) .outputs( * 64, * 64, * 48) .buildAndRegister(); // t5 ores actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 64, * 64, * 64, * 64, * 64, * 64, //Ender Pearl Block * 16, * 64, * 64, * 64, * 64) .buildAndRegister(); // t5 nq ke actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 24, * 48) .buildAndRegister(); // t6 u/pgs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 64, * 64, * 64, * 64, * 64, * 32) .buildAndRegister(); // t6 es actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 32) .buildAndRegister(); // t6 eggs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(3) .outputs( * 32) .buildAndRegister(); // t7 hearts actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 4, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, * 64, //Silver block * 64, //Silver Block * 64, * 64, * 64, //Platinum Block * 16) .buildAndRegister(); // t7 chaos actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs() .buildAndRegister(); // t8 nt actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(1) .outputs( * 32, * 64, * 64, * 64, ) .buildAndRegister(); // t8 eggs actualization_chamber.recipeMap .recipeBuilder() .duration(780) .EUt(30720) .inputs() .circuit(2) .outputs( * 4, * 64, * 64, * 64, * 64) .buildAndRegister(); // Harder Glass recipes.addShaped(, [ [, ] ]); macerator.recipeBuilder() .inputs() .outputs() .duration(30).EUt(2) .buildAndRegister(); recipes.addShapeless(, [, ]); furnace.remove(); recipes.remove(); // Harder Redstone recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ] ]); recipes.remove(); // Piston * 4 .findRecipe(16, [, * 3, * 4, ], null).remove(); // Piston * 2 .findRecipe(16, [, * 3, * 4, ], null).remove(); // Piston * 8 .findRecipe(16, [, * 3, * 4, ], null).remove(); // Piston * 1 .findRecipe(16, [, * 3, * 4, ], null).remove(); // Piston * 1 .findRecipe(16, [, * 3, * 4, ], null).remove(); recipes.addShaped(, [ [,,], [, , ], [, , ] ]); assembler.recipeBuilder() .inputs(, , , ) .fluidInputs( * 144) .outputs() .duration(240).EUt(7).buildAndRegister(); assembler.recipeBuilder() .inputs(, , * 2, * 2) .fluidInputs( * 288) .outputs( * 2) .duration(240).EUt(7).buildAndRegister(); assembler.recipeBuilder() .inputs(, , * 4, * 4) .fluidInputs( * 432) .outputs( * 4) .duration(240).EUt(7).buildAndRegister(); assembler.recipeBuilder() .inputs(, , * 8, * 8) .fluidInputs( * 576) .outputs( * 8) .duration(240).EUt(7).buildAndRegister(); assembler.recipeBuilder() .inputs(, , * 16, * 16) .fluidInputs( * 1152) .outputs( * 16) .duration(240).EUt(7).buildAndRegister(); recipes.remove(); recipes.addShaped(, [ [, , ], [ , , ], [, , ] ]); recipes.addShaped(, [ [, , ], [ , , ], [, , ] ]); recipes.addShaped(, [ [, , ], [ , , ], [, , ] ]); // Charcoal furnace.remove(); // Hard EBF recipes.removeByRecipeName("gregtech:electric_blast_furnace"); recipes.addShaped(, [ [,,], [, , ], [, ,] ]); //Numismatic Dynamo recipes.remove(); recipes.addShaped(, [ [null, , null], [, , ], [, , ]]); // Auto Maintenance Hatch recipes.removeByRecipeName("gregtech:maintenance_hatch_automatic"); recipes.addShaped(, [ [, , ], [, , ], [, , ] ]); // Fluid Storage recipes.removeByRecipeName("appliedenergistics2:network/cells/fluid_storage_components_cell_1k_part"); recipes.removeByRecipeName("appliedenergistics2:network/cells/fluid_storage_components_cell_4k_part"); recipes.removeByRecipeName("appliedenergistics2:network/cells/fluid_storage_components_cell_16k_part"); recipes.removeByRecipeName("appliedenergistics2:network/cells/fluid_storage_components_cell_64k_part"); assembler.recipeBuilder() .inputs( * 2, * 4, , * 2) .outputs() .duration(100).EUt(960) .buildAndRegister(); assembler.recipeBuilder() .inputs( * 2, * 4, , * 3) .outputs() .duration(100).EUt(960) .buildAndRegister(); assembler.recipeBuilder() .inputs( * 2, * 4, , * 3) .outputs() .duration(100).EUt(960) .buildAndRegister(); assembler.recipeBuilder() .inputs( * 2, * 4, , * 3) .outputs() .duration(100).EUt(960) .buildAndRegister(); // Removals mods.jei.JEI.removeAndHide(); recipes.removeByMod("deepmoblearning");