// priority: 0 onEvent("recipes", event => { event.remove({ mod: "refinedpipes" }); event.shaped("8x refinedpipes:basic_item_pipe", [ "PPP", "OOO", "PGP", ], { P: "#forge:plates/iron", O: "#forge:glass/colorless", G: "#forge:gears/iron", }); event.shaped("8x refinedpipes:basic_fluid_pipe", [ "PPP", "ORO", "PGP", ], { P: "#forge:plates/copper", O: "#forge:glass/colorless", G: "#forge:gears/copper", R: "thermal:cured_rubber_block" }); event.shaped("8x refinedpipes:basic_energy_pipe", [ "PPP", "ORO", "PWP", ], { P: "#forge:plates/lead", O: "#forge:glass/colorless", W: "immersiveengineering:wirecoil_copper", R: "minecraft:redstone_block", }); let improved = { item: "glowstone", fluid: "slime", energy: "redstone", }; for (let [type, fluid] of Object.entries(improved)) { event.recipes.createFilling(`refinedpipes:improved_${type}_pipe`, [ `refinedpipes:basic_${type}_pipe`, { fluidTag: `forge:${fluid}`, amount: 125 } ]); event.custom({ type: "thermal:bottler", ingredients: [ { item: `refinedpipes:basic_${type}_pipe` }, { fluid_tag: `forge:${fluid}`, amount: 125 }, ], result: [{ item: `refinedpipes:improved_${type}_pipe` }], }); event.custom({ type: "tconstruct:casting_table", cast: { item: `refinedpipes:basic_${type}_pipe` }, cast_consumed: true, fluid: { tag: `forge:${fluid}`, amount: 125 }, result: `refinedpipes:improved_${type}_pipe`, cooling_time: 20, }); } let advanced = { item: "create:precision_mechanism", fluid: "create_sa:hydraulic_engine", energy: "thermal:energy_cell", }; for (let [type, item] of Object.entries(advanced)) event.shaped(`8x refinedpipes:advanced_${type}_pipe`, [ "PPP", "PUP", "PPP", ], { P: `refinedpipes:improved_${type}_pipe`, U: item, }); event.shaped("refinedpipes:basic_extractor_attachment", [ " H ", "PGP", " R ", ], { P: "#forge:plates/iron", G: "#forge:gears/iron", H: "minecraft:hopper", R: "#forge:dusts/redstone", }); event.shaped("refinedpipes:improved_extractor_attachment", [ " T ", "PAP", " F ", ], { P: "#forge:plates/brass", A: "refinedpipes:basic_extractor_attachment", T: "create:electron_tube", F: "create:filter", }); event.shaped("refinedpipes:advanced_extractor_attachment", [ " D ", "PAP", " M ", ], { P: "#forge:plates/obsidian", A: "refinedpipes:improved_extractor_attachment", D: "#forge:dusts/ender_pearl", M: "create:precision_mechanism", }); });