Unify Ender (Pearl) Dust

carryon-pedestal
copygirl 2 years ago
parent eced79dd36
commit 3abaf321a7
  1. 5
      kubejs/client_scripts/hide/unification/ender_pearl_dust.js
  2. 11
      kubejs/server_scripts/unification/ender_pearl_dust.js

@ -0,0 +1,5 @@
// priority: 0
onEvent("jei.hide.items", event => {
event.hide("ae2:ender_dust");
});

@ -0,0 +1,11 @@
// priority: 0
onEvent("recipes", event => {
event.remove({ output: "ae2:ender_dust" });
event.recipes.createMilling([ "thermal:ender_pearl_dust" ], "minecraft:ender_pearl");
event.recipes.createCrushing([ "thermal:ender_pearl_dust", Item.of("thermal:ender_pearl_dust").withChance(0.25) ], "minecraft:ender_pearl");
});
onEvent("item.tags", event => {
event.removeAllTagsFrom("ae2:ender_dust");
});
Loading…
Cancel
Save