mojira.dev
MC-264740

A mob can't avoid other entities when riding on another mob

What actually happened was...:
I summoned a zombie horse by command:

/summon minecraft:zombie_horse ~ ~ ~ {Passengers: [{id: "minecraft:creeper"}]}

Then I summoned a cat right next to the zombie horse:

/summon minecraft:cat

The zombie horse starts spinning and the creeper never goes away from the cat.
https://drive.google.com/file/d/1cNnreCwYWi9rsy0sPQhAGZMX79PNH0PN/view?usp=sharing

 

Then I tried skeleton on a horse:

/summon minecraft:horse ~ ~ ~ {Passengers: [{id: "minecraft:skeleton"}]}

And summoned a wolf without AI:

/summon minecraft:wolf ~ ~ ~ {NoAI: 1b}

Same thing still happens.

https://drive.google.com/file/d/1ilaQYH9EzBuKFzT8x4QWXqrkHgSEkQmH/view?usp=sharing

Steps to Reproduce:
1. Create a world
2. Summon an entity A riding on another entity B.
3. Summon an entity C that A wants to avoid.

Linked issues

Attachments

Comments 2

Can confirm

[media]

Not all mobs can control the entity they are riding.

Viola_Siemens

(Unassigned)

Confirmed

Platform

Low

Mob behaviour

1.20.1, 23w32a, 1.20.2

Retrieved