How to make a player invulnerable, but the mobs continued to be aggressive towards him

Started by Falkegras on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a player invulnerable, but the mobs continued to be aggressive towards him

I was already able to remove the damage to the player, but the entities stopped attacking, how to make them attack?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just on your trigger, delete…
Sun, 10/03/2021 - 19:13

just on your trigger, delete all you have, and Set health of Event Target Entity to Get Max Health of Event Target Entity

Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
just cancel the damage like…
Mon, 08/05/2024 - 22:48

just cancel the damage like so.

you dont need the other checks i made, just the cancel global trigger procedure block which can be found in the tab named "advanced"