mojira.dev
MC-103178

NoAI Not Functioning Properly

When using the command below,

/summon Villager ~ ~ ~ {NoAI:1}

It doesn't seem to work anymore. NoAI does not seem to function properly.

Comments 8

Weird, does not work for me.

if it matters I said NoAI:1b

@[Mod] FVbico Can you provide me with the command that you used? I tried this out:

/summon Villager ~ ~ ~ {NoAI:1b}

Still not working for me.

That's exactly what I used, as well as

/summon Zombie ~ ~ ~ {NoAI:1b}

neighter of them moved.

I think my issue is being them accepting knockback damage and falling. Thought NoAI prevented them from moving?

NoAI was changed in 1.9 to only affect AI, not physics. You can use NoGravity to prevent falling and set their "generic.knockbackResistence" attribute to 1 to prevent knockback.

Thanks for that info. Seems like the Minecraft Wiki and my mind requires a bit of updating.

Tan Chin Cheern

(Unassigned)

Unconfirmed

Minecraft 1.10 Pre-Release 2

Retrieved