mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-11-14 03:48:06 +01:00
36 lines
774 B
JavaScript
Executable file
Vendored
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" });
|
|
});
|