1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-12-23 13:01:07 +01:00
aetheria/packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js

37 lines
774 B
JavaScript
Raw Normal View History

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" });
});