mirror of
https://github.com/xHyroM/aetheria.git
synced 2024-12-22 20:41:06 +01:00
feat: railcraft gregify
partially gregified
This commit is contained in:
parent
0eb44649b0
commit
7bcfe1948a
2 changed files with 37 additions and 1 deletions
36
packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js
vendored
Executable file
36
packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js
vendored
Executable 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" });
|
||||
});
|
|
@ -25,7 +25,7 @@ ServerEvents.recipes((event) => {
|
|||
"electrum",
|
||||
"lapis",
|
||||
"emerald",
|
||||
//"quartz"
|
||||
"diamond",
|
||||
];
|
||||
|
||||
const REMOVED_NUGGET_RECIPES = [
|
||||
|
|
Loading…
Reference in a new issue