From 503e53bb821c1df1d7155502c79181b848810a0a Mon Sep 17 00:00:00 2001 From: copygirl Date: Tue, 19 Jul 2022 12:40:31 +0200 Subject: [PATCH] Disable Quark limestone --- config/quark-common.toml | 2 +- kubejs/client_scripts/hide/quark_limestone.js | 5 +++++ kubejs/server_scripts/removal/quark_limestone.js | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 kubejs/client_scripts/hide/quark_limestone.js create mode 100644 kubejs/server_scripts/removal/quark_limestone.js diff --git a/config/quark-common.toml b/config/quark-common.toml index a6e2305..a8af68d 100644 --- a/config/quark-common.toml +++ b/config/quark-common.toml @@ -703,7 +703,7 @@ "Is Blacklist" = false [world.new_stone_types] - "Enable Limestone" = true + "Enable Limestone" = false "Enable Jasper" = true "Enable Shale" = true "Enable Myalite" = true diff --git a/kubejs/client_scripts/hide/quark_limestone.js b/kubejs/client_scripts/hide/quark_limestone.js new file mode 100644 index 0000000..29620c4 --- /dev/null +++ b/kubejs/client_scripts/hide/quark_limestone.js @@ -0,0 +1,5 @@ +// priority: 0 + +onEvent("jei.hide.items", event => { + event.hide(/^quark:.*limestone.*$/); +}); diff --git a/kubejs/server_scripts/removal/quark_limestone.js b/kubejs/server_scripts/removal/quark_limestone.js new file mode 100644 index 0000000..e8ba0f2 --- /dev/null +++ b/kubejs/server_scripts/removal/quark_limestone.js @@ -0,0 +1,5 @@ +// priority: 0 + +onEvent("recipes", event => { + event.remove({ output: /^quark:.*limestone.*$/ }); +});