Making vanilla hostile mobs not target the player without commands.

Started by Vanpur on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making vanilla hostile mobs not target the player without commands.

Example:
I don't want pillagers to attack me if I have a global variable that is set to true. (DontAttackPlayers) = true.
I can't find a way to do it with procedures.