Started by
0NullVoid0
on
Topic category: Help with Minecraft modding (Java Edition)
So, I'm trying to make my entity attack any other entity but only if that entity has a targeting effect, but can't find out how because there's no way (as far as I know) to check the entity that will be targeted in attack conditions. please help, thx.
on the entity tick update trigger: https://ibb.co/XrB7NkXR replace jump boost with the effect you want, 20 is the range of the entity, you can set it to any number
thx, I'll try that.
works well, except for if theres two enemies with the effect on opposite sides of the specific entity, but otherwise it works really well, thx!
try this to fix the issue: https://ibb.co/KPdRS77