Started by
Nazzz
on
Topic category: Help with Minecraft modding (Java Edition)
So I stumbled upon a problem. I made an item that after right clicking makes every mob in range take some damage and add some effects, but then I realized that new entities entering that range aren't getting affected by it, is there a way to fix that?
what you could do is have an effect that makes entity iterators take damage and give an effect which is given to you by the item on right click(you can make it check if user already has the effect to remove it, like a toggle) though this could result in the entities taking damage every tick they do not have invulnerable ticks, unless you already made a way to bypass that