Started by
KOR_APUcard
on
Topic category: Help with Minecraft modding (Java Edition)
I have created my own ranged item and tried to test. It's like a explosive what I wanted. But it always hits me first. (It's explode myself)
The projectile is correctly working, but it's always hit me first then moving correctly.
But I wanted this projectile to hit the target, not me.
It's very annoying. How to fix it?
I'm having the same issue, did you happen to find a fix to this?
same issue for me
I ran into this issue a while ago, and to fix it, I just removed the procedure that runs when the projectile hits a player, and I had it only set to run when it hits a living entity.
It still seems to hit other players and affect them fine even though it is set to run the procedure on living entities only, instead of also using the trigger for when it hits a player.
I'm not sure why, but the procedure trigger for when the projectile hits a player seems to be what causes the issue.
you need to make a condition "if not source entity the same entity as event/target entity"