mojira.dev
MC-70015

Mobs in water will be hurled into the air after changing NoAI tag

After changing the NoAI tag of Mobs, mobs will suddenly be hurled into the sky very high.

Steps to Reproduce:
1. Make a large-enough lake or find one
2. Put any Mob in the water
3. Run command:

/entitydata @e {NoAI:1}

4. Wait 2-3 seconds

5. Run command:

/entitydata @e {NoAI:0}

Repeat(if not reproduced)

Attachments

Comments 4

Confirmed, it seems that the cause is that NoAI Mobs still try to "swim" and NoAI Mobs store Velocity. I stood in the same space as the Zombie and it flew horizontally when NoAI was 0 again.

Any issues related to changing nbt tags during the life time of a mob will not be fixed.

Mikael Guinto

(Unassigned)

Confirmed

Minecraft 1.8-pre3, Minecraft 1.8, Minecraft 1.8.3, Minecraft 1.8.8, Minecraft 15w47c

Retrieved