Mojira Archive
MC-65664

Squid and Ghasts with NoAI affected by knockback (& gravity for Squid)

Resolution note

This report was closed as "Works As Intended" due to the following comment by [Mojang] Searge (Michael Stoyke):

Any part of an entities behavior that is not implemented as part of the AI is not affected by the NoAI tag

Source

When summoning other mobs with the "NoAI" tag set to 1, they will not fall due to gravity, nor will they be knocked back by damage taken. Squid, on the other hand, are affected by gravity and knockback.

/summon Squid ~ ~ ~ {NoAI:1}

The tag does work correctly for other features, such as swimming. Ghasts will also be affected by knockback, though the tag does prevent them from flying around normally.

/summon Ghast ~ ~ ~ {NoAI:1}

Works As Intended

[Mod] Skylinerw

2014-08-06, 10:22 PM

2021-05-30, 04:02 AM

2015-12-13, 07:28 PM

12

7

Community Consensus

Minecraft 14w32a - Minecraft 15w50aMinecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 1.8-pre1, Minecraft 1.8, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w32c, Minecraft 15w33b, Minecraft 15w50a

-