diff --git a/kubejs/client_scripts/hide/unification/coal_coke.js b/kubejs/client_scripts/hide/unification/coal_coke.js new file mode 100644 index 0000000..d6ed325 --- /dev/null +++ b/kubejs/client_scripts/hide/unification/coal_coke.js @@ -0,0 +1,6 @@ +// priority: 0 + +onEvent("jei.hide.items", event => { + event.hide("thermal:coal_coke"); + event.hide("thermal:coal_coke_block"); +}); diff --git a/kubejs/client_scripts/hide/unification/honey.js b/kubejs/client_scripts/hide/unification/fluids.js similarity index 66% rename from kubejs/client_scripts/hide/unification/honey.js rename to kubejs/client_scripts/hide/unification/fluids.js index ff987af..77f1503 100644 --- a/kubejs/client_scripts/hide/unification/honey.js +++ b/kubejs/client_scripts/hide/unification/fluids.js @@ -2,9 +2,14 @@ onEvent("jei.hide.items", event => { event.hide("tconstruct:honey_bucket"); + event.hide("thermal:creosote_bucket"); }); onEvent("jei.hide.fluids", event => { + // Honey event.hide("tconstruct:honey"); event.hide("cofh_core:honey"); + + // Creosote Oil + event.hide("thermal:creosote"); }); diff --git a/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_coal.json b/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_coal.json new file mode 100644 index 0000000..e42113a --- /dev/null +++ b/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_coal.json @@ -0,0 +1,10 @@ +{ + "type": "thermal:pyrolyzer", + "ingredient": { "item": "minecraft:coal" }, + "result": [ + { "item": "immersiveengineering:coal_coke" }, + { "item": "thermal:tar", "chance": 0.25 }, + { "fluid": "immersiveengineering:creosote", "amount": 250 } + ], + "experience": 0.15 +} diff --git a/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_logs.json b/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_logs.json new file mode 100644 index 0000000..af77a3b --- /dev/null +++ b/kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_logs.json @@ -0,0 +1,9 @@ +{ + "type": "thermal:pyrolyzer", + "ingredient": { "tag": "minecraft:logs" }, + "result": [ + { "item": "minecraft:charcoal" }, + { "fluid": "immersiveengineering:creosote", "amount": 125 } + ], + "experience": 0.15 +} diff --git a/kubejs/server_scripts/unification/coal_coke.js b/kubejs/server_scripts/unification/coal_coke.js new file mode 100644 index 0000000..9730f50 --- /dev/null +++ b/kubejs/server_scripts/unification/coal_coke.js @@ -0,0 +1,13 @@ +// priority: 0 + +onEvent("recipes", event => { + event.remove({ input: "thermal:coal_coke" }); + event.remove({ output: "thermal:coal_coke" }); + event.remove({ input: "thermal:coal_coke_block" }); + event.remove({ output: "thermal:coal_coke_block" }); +}); + +onEvent("item.tags", event => { + event.removeAllTagsFrom("thermal:coal_coke"); + event.removeAllTagsFrom("thermal:coal_coke_block"); +}); diff --git a/kubejs/server_scripts/unification/honey.js b/kubejs/server_scripts/unification/fluids.js similarity index 86% rename from kubejs/server_scripts/unification/honey.js rename to kubejs/server_scripts/unification/fluids.js index 5c60598..384fc25 100644 --- a/kubejs/server_scripts/unification/honey.js +++ b/kubejs/server_scripts/unification/fluids.js @@ -8,7 +8,11 @@ // }); onEvent("fluid.tags", event => { + // Honey event.removeAll("tconstruct:honey"); event.removeAllTagsFrom("#tconstruct:honey"); event.removeAllTagsFrom("cofh_core:honey"); + + // Creosote Oil + event.removeAllTagsFrom("thermal:creosote"); });