diff --git a/kubejs/client_scripts/hide/unification/ender_pearl_dust.js b/kubejs/client_scripts/hide/unification/ender_pearl_dust.js new file mode 100644 index 0000000..4ed9d64 --- /dev/null +++ b/kubejs/client_scripts/hide/unification/ender_pearl_dust.js @@ -0,0 +1,5 @@ +// priority: 0 + +onEvent("jei.hide.items", event => { + event.hide("ae2:ender_dust"); +}); diff --git a/kubejs/server_scripts/unification/ender_pearl_dust.js b/kubejs/server_scripts/unification/ender_pearl_dust.js new file mode 100644 index 0000000..2b3b701 --- /dev/null +++ b/kubejs/server_scripts/unification/ender_pearl_dust.js @@ -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"); +});