Started by
Username101
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I'm trying to create a procedure that cancels the eye of ender throwing event but the closest I've been to succeeding is with this: https://imgur.com/a/vXSDmbC
and the problem with this piece of code is that it doesn't work with the off-hand it only triggers when the eyer of ender is thrown from the main hand.
I've also tried with the "Entity Spawns" global trigger but couldn't find a way to detect when an eye has spawned. Any advice?
Edited by Username101 on Thu, 01/05/2023 - 15:59
I made a procedure despawns the eye when rightclicked. Now, it does remove the item still, you could just add 1 in inventory when rightclicking or something to fix that. Here is the procedure:
I also tried to cancel the rightclick but i could not figure it out, it must be that it is hardcoded because its active is so unique.
Anyways hope it helped.