How to increase aggro range in custom npc

Started by lunaticgamer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to increase aggro range in custom npc

I want help with custom npc mod and so I was making a Boss that if a player hit him from a far distance the boss will go and fight him and kill him but I don't know how to increase aggrorange after 64 so that the boss can come to player if the player is very far away any script or anything please help me