Unify coke and creosote

carryon-pedestal
copygirl 2 years ago
parent 845b275915
commit 488e6fd6c2
  1. 6
      kubejs/client_scripts/hide/unification/coal_coke.js
  2. 5
      kubejs/client_scripts/hide/unification/fluids.js
  3. 10
      kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_coal.json
  4. 9
      kubejs/data/thermal/recipes/machines/pyrolyzer/pyrolyzer_logs.json
  5. 13
      kubejs/server_scripts/unification/coal_coke.js
  6. 4
      kubejs/server_scripts/unification/fluids.js

@ -0,0 +1,6 @@
// priority: 0
onEvent("jei.hide.items", event => {
event.hide("thermal:coal_coke");
event.hide("thermal:coal_coke_block");
});

@ -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");
});

@ -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
}

@ -0,0 +1,9 @@
{
"type": "thermal:pyrolyzer",
"ingredient": { "tag": "minecraft:logs" },
"result": [
{ "item": "minecraft:charcoal" },
{ "fluid": "immersiveengineering:creosote", "amount": 125 }
],
"experience": 0.15
}

@ -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");
});

@ -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");
});
Loading…
Cancel
Save