mojira.dev
MC-183450

Mobs seem to stop utilizing their AI while their data is being modified?

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.

Linked issues

Comments 2

[MOD] Greymagic27

Issues regarding changing internal NBT tags aren't accepted so I've closed this report as invalid. See https://bugs.mojang.com/browse/MC-66943?focusedCommentId=188032&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-188032

In that case I'd recommend closing MC-183316 as well.

ChromaKey

(Unassigned)

Unconfirmed

(Unassigned)

20w16a, 20w19a

Retrieved