When I give a mob or entity the {NoAI:1} tag, it doesn't move and it acts normal. But players can push it around and collide with it, so that it moves. This bug is really bad for mapmakers, so please try and fix it. Below if a video that shows me giving the villager NoAI and then moving it. Thanks <3
Related issues
Attachments
Comments


Dupe of MC-96565

It is not a duplicate of MC-96565. It is strongly related to it though.


This is still an issue in 16w06a. Really bugging me too since i use slimes to lock wooden doors

Yeah, this is still a bug that needs to be fixed. Its not resolved.

people, this is intended behaviour, see MC-96565
@unknown added a comment - 10/Feb/16 5:09 PM
The NoAI tag just disables the AI for entities. If this also disables gravity for these entities, that's an unintended side effect.
in other words, anything that isn't done by the AI won't be blocked by the NoAI tag, pushing, coliding, taking damage, falling, is all not part of the AI

How can I prevent that?

knockback resistant armor

Is there any other way? I dont want the entity to have armor on. Plus, it can still be pushed. Is there another tag?