-
Bug
-
Resolution: Invalid
-
None
-
20w16a, 20w19a
-
None
-
Unconfirmed
-
(Unassigned)
May affect older versions, have not tested
Mobs appear to stop all pathfinding and behavior in general while their data is being modified with commands.
One way to reproduce:
Create a function file called test:modify containing the following text:
{{}}
data merge entity @s {IsImmuneToZombification:0b}
scoreboard players add @s corrupt_time 1
execute as @s store result entity @s TimeInOverworld int 1.0 run scoreboard players get @s corrupt_time
Then, using either a repeating command block or the #minecraft:tick function tag, loop the function every tick.
You should see that all piglins in the world stop moving completely due to their TimeInOverworld tag being changed to a different value every tick.