mojira.dev
MC-111987

mob ai is partialy broken when fallflying with elytra

whenever i summon a mob with an elytra that is fallflying it doesnt use the extra bits of its ai (such as zombies chasing villagers) it will still turn mid flight but not anything else as far as ive seen and once it lands it behaves normally
steps to reproduce:
step 1
spawn villagers nearby
step 2
use this command to summon a zombie thats moving upward and flyfalling with elytra
/summon zombie ~ ~ ~ {Motion:[0.0,1.0,0.0],IsVillager:0,IsBaby:0,ArmorItems:[{},{},{id:elytra,Count:1b},{}],ArmorDropChances:[0.085F,0.085F,0.0F,0.085F],Attributes:[{Name:zombie.spawnReinforcements,Base:0.0F}],FallFlying:1b,PersistenceRequired:1,Team:"Red",DeathLootTable:"null "}
step 3
watch zombie completly ignore villagers until he lands

Comments 3

Not related to the bug, but just some errors in your command:

  1. IsVillager no longer exists since 1.10.

  2. The tag type of Base in Attributes is a double, not a float.

  3. Use the death loot table minecraft:empty instead of null.

Mobs take time to notice other entities, they're not instantly hostile; also mobs don't move when they're in the air, regardless of hostility, changing this is more a feature request than a bug.

ive seen some zombies from this command move while airborn it doesnt happen often but it does happen

As in "going into a different direction" that's because they start to look around (and as such change their direction due to the elytra mecanics).

tristan poole

(Unassigned)

Unconfirmed

Minecraft 1.11.2

Retrieved