#Ender Eye Canceling
7 messages · Page 1 of 1 (latest)
could just replace the end portal block with something else instead
using any block swapping mod
I’m wanting to avoid having to update the server if I can help it, we have kubejs to disable crafting recipes of eyes regardless but they’re still obtainable through structures
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Still looking for help
// disables ender eye throwing
ItemEvents.rightClicked((event) => {
const { item } = event;
if (item.id == "minecraft:ender_eye") event.cancel();
});
// disables ender eye interaction with end portal frames
BlockEvents.rightClicked((event) => {
const { item, block } = event;
if (item.id == "minecraft:ender_eye" && block.id == 'minecraft:end_portal_frame') event.cancel();
});