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(); // Enlightened Fused Quartz alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(160) .EUt(16) .buildAndRegister(); //Dark Fused Quarz alloy.recipeBuilder() .inputs([, ]) .outputs([]) .duration(200) .EUt(32) .buildAndRegister(); 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")); /* 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] }); } //Alloy Smelter recipe for Organic Black Dye alloy.recipeBuilder() .inputs(,) .outputs() .duration(100) .EUt(16) .buildAndRegister(); // Z-Logic Controller (Cheap) recipes.addShaped(, [ [, ,], [, ,], [, ,] ]); //Ensure Correct Solidification //val liquidMap as IItemStack[][ILiquidStack] = { // : [, , ], // : [, , ], // : [, , ], // : [, , ], // : [, , ], // : [, , ], // : [, , ] //}; // //for liquid, items in liquidMap { // // //Ingots // solidifier.findRecipe(7, [], [liquid * 144]).remove(); // solidifier.recipeBuilder() // .fluidInputs(liquid * 144) // .notConsumable() // .outputs(items[0]) // .duration(20).EUt(8).buildAndRegister(); // // //Blocks // solidifier.findRecipe(7, [], [liquid * 1296]).remove(); // solidifier.recipeBuilder() // .fluidInputs(liquid * 1296) // .notConsumable() // .outputs(items[1]) // .duration(98).EUt(8).buildAndRegister(); // // //Nuggets // solidifier.findRecipe(7, [], [liquid * 144]).remove(); // solidifier.recipeBuilder() // .fluidInputs(liquid * 144) // .notConsumable() // .outputs(items[2] * 9) // .duration(98).EUt(8).buildAndRegister(); //} // //val packagerArray = [ // [,], // [,], // [,], // [,], // [,], // [,], // [,] //] as IItemStack[][]; // //for nugget in packagerArray { // // compressor.findRecipe(2, [nugget[0] * 9], [null]).remove(); // // compressor.recipeBuilder() // .inputs(nugget[0]*9) //// .notConsumable(.withTag({Configuration: 1})) // .outputs(nugget[1]) // .duration(300).EUt(2).buildAndRegister(); //} ////Furnace Recipes ////End Steel //furnace.remove(, ); //furnace.addRecipe(, ); // ////Vibrant Alloy //furnace.remove(, ); //furnace.addRecipe(, ); // ////Pulsating Iron //furnace.remove(, ); //furnace.addRecipe(, ); // ////Energetic Alloy //furnace.remove(, ); //furnace.addRecipe(, ); // ////Electrical Steel //furnace.remove(, ); //furnace.addRecipe(, ); // ////Dark Steel //furnace.remove(, ); //furnace.addRecipe(, ); ////Fixing Multismelter output of the dusts of the GTCE variants of Ender IO ingots //val materialList as IItemStack[][] = [ // // [, ], // [, ], // [, ], // [, ], // [, ], // [, ], // [, ] // // //] as IItemStack[][]; //for dust in materialList { // // furnace.recipeBuilder() // .inputs(dust[0]) // .outputs(dust[1]) // .duration(128).EUt(4).buildAndRegister(); // //} recipes.addShapeless(, []); recipes.addShapeless(, []); recipes.addShapeless(, []);