1
0
Fork 0
mirror of https://github.com/xHyroM/aetheria.git synced 2024-11-09 17:58:05 +01:00

feat: railcraft gregify

partially gregified
This commit is contained in:
Jozef Steinhübl 2024-07-07 16:29:31 +02:00
parent 0eb44649b0
commit 7bcfe1948a
No known key found for this signature in database
GPG key ID: E6BC90C91973B08F
2 changed files with 37 additions and 1 deletions

View file

@ -0,0 +1,36 @@
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" });
});

View file

@ -25,7 +25,7 @@ ServerEvents.recipes((event) => {
"electrum", "electrum",
"lapis", "lapis",
"emerald", "emerald",
//"quartz" "diamond",
]; ];
const REMOVED_NUGGET_RECIPES = [ const REMOVED_NUGGET_RECIPES = [