mojira.dev
MC-96596

When a entity has the {NoAI:1} tag, it can still be pushed, collided with, and punched resulting in knockback.

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

migrated
[media]
migrated

Dupe of MC-96565

migrated

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

migrated

Actually it is a duplicate of MC-96565. The title of MC-96565 was misleading, so I just changed it, but the description is the same. This just explains what effects the bug creates.

migrated

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

migrated

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

migrated

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

migrated

How can I prevent that?

migrated

knockback resistant armor

migrated

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

migrated

(Unassigned)

Unconfirmed

Minecraft 16w05b

Retrieved