From 7bcfe1948af4c9b3cbf695d2d48ae080bbe27e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sun, 7 Jul 2024 16:29:31 +0200 Subject: [PATCH] feat: railcraft gregify partially gregified --- .../railcraft/removed/recipes.js | 36 +++++++++++++++++++ .../server_scripts/thermal/removed/recipes.js | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100755 packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js diff --git a/packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js b/packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js new file mode 100755 index 0000000..6a0978b --- /dev/null +++ b/packwiz/1.20.1/kubejs/server_scripts/railcraft/removed/recipes.js @@ -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" }); +}); diff --git a/packwiz/1.20.1/kubejs/server_scripts/thermal/removed/recipes.js b/packwiz/1.20.1/kubejs/server_scripts/thermal/removed/recipes.js index 979f40a..2a0d0a4 100755 --- a/packwiz/1.20.1/kubejs/server_scripts/thermal/removed/recipes.js +++ b/packwiz/1.20.1/kubejs/server_scripts/thermal/removed/recipes.js @@ -25,7 +25,7 @@ ServerEvents.recipes((event) => { "electrum", "lapis", "emerald", - //"quartz" + "diamond", ]; const REMOVED_NUGGET_RECIPES = [