-
Bug
-
Resolution: Unresolved
-
None
-
1.19.4, 23w17a, 1.20.4
-
None
-
Confirmed
-
Commands, Mob behaviour
-
Normal
-
Platform
As you can see, you can use damage commands to make mobs chase you from a distance. But if I set the universalAnger rule to true, it doesn't work.
- Apply this NBT to mobs:
execute as @e[type=!player] run data merge entity @s {PersistenceRequired:1b,Attributes:[{Name:generic.follow_range,Base:200}]}
- Now go far and let this command work:
execute as @e[type=skeleton] run damage @s 0 minecraft:arrow by @p
→ The skeleton chases the player.
- Set the universalAnger rule to true and go through step 1 and step 2 again
→ The skeleton doesn't chase the player.