1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-11-14 03:48:06 +01:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js
2024-07-07 16:29:31 +02:00

36 lines
774 B
JavaScript
Executable file
Vendored

ServerEvents.recipes((event) => {
const METALS = [
"iron",
"copper",
"gold",
"lead",
"nickel",
"silver",
"tin",
"zinc",
"steel",
"brass",
"bronze",
"invar",
];
METALS.forEach((metal) => {
// Remove plate recipes
event.remove({ id: `railcraft:rolling/${metal}_plate` });
// Remove gear recipes
event.remove({
id: `railcraft:${metal}_gear`,
});
// Remove nugget recipes
event.remove({
id: `railcraft:${metal}_nugget`,
});
});
event.remove({ id: "railcraft:bushing_gear_brass" });
event.remove({ id: "railcraft:bushing_gear_bronze" });
event.remove({ id: "railcraft:rolling/bushing_gear_brass" });
event.remove({ id: "railcraft:rolling/bushing_gear_bronze" });
});