Shot by my own pet

Started by Reclused1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Shot by my own pet

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?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make the projectile check if…
Wed, 01/24/2024 - 23:00

make the projectile check if the target is the owner, and cancel the event/make it do no damage