Started by
Reclused1
on
Topic category: Help with Minecraft modding (Java Edition)
So i've been working on a tamed ranged entity, but one slight issue atm. If it's attacking another mob I can get shot instead if i'm in front of the mob doing melee. Does anyone have a procedure to prevent damage to the player on accident?
make the projectile check if the target is the owner, and cancel the event/make it do no damage