Topic category: Help with Minecraft modding (Java Edition)
So im trying to make this item work like this: When you use it to right click on a "White Wisp" entity, the entity is despawned, a new item is made, and it removes the empty capsule from your inventory. This code is on the item itself, and it should work, but i keep running into this dependency error that wont let me use the code unless any part of the "Source Entity" nodes are removed. i want to be able to have the item i just used to be removed from my inventory cause right now, everyting here only affects the entity.
Solution: Turns out you just needed to make the procedure on its own, not in the entity itself. Then it takes a bit more tinkering with the if-else statements but that's basically what helped me out.