import mods.jei.JEI.removeAndHide as rh; import crafttweaker.item.IItemStack; import crafttweaker.liquid.ILiquidStack; import scripts.common.makeShaped as makeShaped; /* EnderIO Removals */ // Construction Alloy Block rh(); recipes.remove(); // Construction Alloy Ingot rh(); recipes.remove(); // Construction Alloy Nugget rh(); recipes.remove(); rh(); // Clippings and Trimmings rh(); // Twigs and Prunings rh(); // Infinity Goop rh(); // Clay-Coated Glowstone rh(); // Flour //rh(); // Species Filter (Forestry) .remove(); // Flour rh(); // Enhanced Dye Blend rh(); // Soul-Attuned Dye rh(); // Organic Brown Dye rh(); // Organic Green Dye rh(); // Industrial Dye Blend recipes.remove(); // Enhanced Dye Blend recipes.remove(); // Industrial Dye Blend rh(); // Soulless Chassis recipes.remove(); // Soulless Chassis rh(); // Industrial Insulation rh(); // Simple Chassis Parts recipes.remove(); // Simple Chassis Parts // Get rid of useless ingots val uselessIngots = [ 0 // "CrudeSteel" , 1 // "CrystallineAlloy" , 2 // "MelodicAlloy" , 4 // "CrystallinePinkSlime" , 6 // "VividAlloy" ] as int[]; val variants = [ "block_alloy_endergy" , "item_alloy_endergy_nugget" , "item_alloy_endergy_ingot" ] as string[]; for metadata in uselessIngots { for variant in variants { var item = itemUtils.getItem("enderio:" + variant, metadata) as IItemStack; if (!isNull(item)) { recipes.remove(item); rh(item); } } } // Grinding Balls for item in .items as IItemStack[] { rh(item); recipes.remove(item); } for item in .items as IItemStack[] { rh(item); recipes.remove(item); } var teBalls = [, , ] as IItemStack[]; for item in teBalls { rh(item); recipes.remove(item); } /* EnderIO Additions */ // Blank Dark Steel Upgrade alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(100) .EUt(20) .buildAndRegister(); // Glowstone Nano-Particles macerator.recipeBuilder() .inputs([]) .outputs([]) .duration(100) .EUt(20) .buildAndRegister(); /* Solar Upgrades (Helmet) */ // Simple Solar recipes.remove(.withTag({"enderio:dsu": "enderiomachines:solar"})); recipes.addShapeless( .withTag({"enderio:dsu": "enderiomachines:solar"}) , [, ] ); // Solar recipes.remove(.withTag({"enderio:dsu": "enderiomachines:solar1"})); recipes.addShapeless( .withTag({"enderio:dsu": "enderiomachines:solar1"}) , [, ] ); // Solar II recipes.remove(.withTag({"enderio:dsu": "enderiomachines:solar2"})); recipes.addShapeless( .withTag({"enderio:dsu": "enderiomachines:solar2"}) , [, ] ); // Solar III recipes.remove(.withTag({"enderio:dsu": "enderiomachines:solar3"})); recipes.addShapeless( .withTag({"enderio:dsu": "enderiomachines:solar3"}) , [, ] ); /* Extra Enderio Glasses */ // Enlightened Clear Glass alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(160) .EUt(16) .buildAndRegister(); //Dark Clear Glass alloy.recipeBuilder() .inputs([, ]) .outputs() .duration(200).EUt(32).buildAndRegister(); // Fused quartz alloy.recipeBuilder() .inputs([ * 3]) .notConsumable() .outputs([]) .duration(80).EUt(16).buildAndRegister(); // Enlightened Fused Quartz alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(160) .EUt(16) .buildAndRegister(); //Dark Fused Quartz alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(200) .EUt(32) .buildAndRegister(); /* More Ender IO Alloy Recipes */ // Dark steel rod + grains of infinity => infinity rod alloy.recipeBuilder() .inputs([,]) .outputs([]) .duration(200).EUt(30).buildAndRegister(); // End steel + grains => stellar alloy.recipeBuilder() .inputs([, * 8]) .outputs([]) .duration(200).EUt(2000).buildAndRegister(); // Simple machine chassis + grains => industrial machine chassis alloy.recipeBuilder() .inputs([, * 2]) .outputs([]) .duration(200).EUt(30).buildAndRegister(); // End steel plate + industrial machine chassis => end steel chassis alloy.recipeBuilder() .inputs([, * 8]) .outputs([]) .duration(800).EUt(30).buildAndRegister(); //Staff of Travel recipes.remove(); recipes.addShaped(, [ [null,null,], [null,,null], [,null,null]]); //Rod of Return recipes.remove(); recipes.addShaped(, [ [null, , ], [null, , ], [, null, null]]); //Ender Generator recipes.remove(); recipes.addShaped(, [ [,, ], [, , ], [, , ]]); //Wireless Dish recipes.remove(); recipes.addShaped(, [[],[]]); recipes.remove(); // simple machine chassis recipes.remove(); // end steel chassis // simple machine chassis recipes.addShaped(, [ [, , ], [, , ], [, , ]]); //Capacitors recipes.remove(); recipes.addShaped(, [ [null, ,null], [, , ], [,null,]]); recipes.addShaped( * 3, [ [null, ,null], [, , ], [,null,]]); recipes.addShaped( * 2, [ [null, ,null], [, , ], [,null,]]); recipes.addShaped( * 12, [ [null, ,null], [, , ], [,null,]]); recipes.addShaped(compressedoctadiccap, [ [,,], [,,], [,,]]); recipes.addShaped(doublecompressedoctadiccap, [ [compressedoctadiccap,compressedoctadiccap,compressedoctadiccap], [compressedoctadiccap,compressedoctadiccap,compressedoctadiccap], [compressedoctadiccap,compressedoctadiccap,compressedoctadiccap]]); //Replace old compressed capacitors with functional ones recipes.addShapeless(compressedoctadiccap, []); recipes.addShapeless(doublecompressedoctadiccap, []); //An attempt to do the same in JEI mods.jei.JEI.addItem(compressedoctadiccap); mods.jei.JEI.addItem(doublecompressedoctadiccap); .addTooltip(format.white("Put the item into a crafting window if it has no lore")); .addTooltip(format.white("Put the item into a crafting window if it has no lore")); // Crafter recipes.remove(); recipes.addShaped(, [ [,,], [, , ], [,,]]); // Buffer recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); //Zombie Generator recipes.remove(); recipes.addShaped(, [ [,,], [,,], [,,]]); recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); //The Vat recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); //Solar Cells recipes.remove(); recipes.addShaped( * 4, [ [,,], [,,], [,,]]); //Wired Charger recipes.remove(); recipes.addShaped( , [ [, , ], [, , ], [,,]]); //Coordinate Selector recipes.remove(); recipes.addShaped( , [ [, , ], //Ender Eye Block [null, , ], [null,null,]]); recipes.remove(); // infinity bimetal gear recipes.remove(); // energized bimetal gear recipes.remove(); // vibrant bimetal gear recipes.remove(); // pulsating crystal recipes.remove(); // vibrant crystal recipes.remove(); // dark bimetal gear recipes.remove(); recipes.remove(); recipes.remove(); .displayName = "Dark Steel Enchanter"; recipes.remove(); recipes.addShaped(, [ [, , ], [, .withTag({Type: "extrautils2:enchanter"}), ], [null, , null]]); recipes.remove(); mods.extendedcrafting.TableCrafting.addShaped(, [ [, , , ,], [, , ,,], [, , , , ], [, , , ,], [, , , ,]]); // Pulsating crystal autoclave.recipeBuilder() .inputs([]) .fluidInputs([ * 144]) .outputs([]) .duration(100).EUt(30).buildAndRegister(); // Vibrant crystal autoclave.recipeBuilder() .inputs([]).fluidInputs([ * 144]) .outputs([]) .duration(200).EUt(30).buildAndRegister(); alloy.recipeBuilder() .inputs([, * 2]) .outputs([]) .duration(100).EUt(16).buildAndRegister(); alloy.recipeBuilder() .inputs([, * 4]) .outputs([]) .duration(150).EUt(16).buildAndRegister(); alloy.recipeBuilder() .inputs([, * 4]) .outputs([]) .duration(150).EUt(16).buildAndRegister(); alloy.recipeBuilder() .inputs([, * 4]) .outputs([]) .duration(200).EUt(16).buildAndRegister(); alloy.recipeBuilder() .inputs([, * 8]) .outputs([]) .duration(200).EUt(16).buildAndRegister(); alloy.recipeBuilder() .inputs([,]) .outputs([]) .duration(2000).EUt(30).buildAndRegister(); recipes.remove(); recipes.addShaped(, [ [,,], [,,], [,,]]); recipes.remove(); recipes.addShaped(, [ [,,], [,,], [,,]]); recipes.removeByRecipeName("enderio:enhanced_combustion_generator"); recipes.removeByRecipeName("enderio:enhanced_wired_charger"); recipes.removeByRecipeName("enderio:the_enhanced_vat"); //Killer Joe recipes.remove(); recipes.addShaped(, [ [,,], [, , ], [, , ]]); recipes.remove(); recipes.addShaped(, [ [,], [,]]); recipes.remove(); recipes.addShaped(, [ [null,null,], [null,,null], [,null,null]]); recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); // Slice'n'Splice recipes.remove(); recipes.addShaped(, [ [, , ], [, , ], [, , ]]); /* Extra Slice'n'Splice Recipes */ var bonus = 1 as int; var cost = 20000 as int; var capacitors as IItemStack[] = [ , ]; var wafers as IItemStack[] = [ , ]; for i, wafer in wafers { bonus = bonus * 2; cost = cost * 2; // EnderIO Light makeShaped("enderio_light_" + bonus, * bonus, [ "GGG", "WDW", "WCW" ], { W: wafer, D: , G: , C: capacitors[i] }); } //Wireless Dish recipes.remove(); recipes.addShaped(, [[],[]]); recipes.remove(); // simple machine chassis recipes.remove(); // end steel chassis // simple machine chassis recipes.addShaped(, [ [, , ], [, , ], [, , ]]); //Alloy Smelter recipe for Organic Black Dye alloy.recipeBuilder() .inputs(,) .outputs() .duration(100) .EUt(16) .buildAndRegister(); // Z-Logic Controller (Cheap) recipes.addShaped(, [ [, ,], [, ,], [, ,] ]); // Soul Vials recipes.addShaped(.withTag({entityId: "minecraft:zombie"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(.withTag({entityId: "minecraft:ghast"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(.withTag({entityId: "minecraft:villager"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(.withTag({entityId: "minecraft:enderman"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(.withTag({entityId: "minecraft:shulker"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(.withTag({entityId: "minecraft:witch"}), [ [,,], [,,], [,,]]); recipes.addShaped(.withTag({entityId: "minecraft:bat"}), [ [null,,null], [,,], [null,,null]]); recipes.addShaped(, [ [null,null,null], [,,], [,,]]); recipes.addShapeless(, []); recipes.addShapeless(, []); recipes.addShapeless(, []);