Mojira Archive
MC-196447

Zombies do not behave as expected if ridden by a villager

If a villager/wandering trader is spawned riding any zombie varient, they can be targeted by the zombie, but will be immune to its attacks.

Steps to Reproduce:

  1. Exectute the following command:
    /summon minecraft:zombie ~ ~ ~ {Passengers:[{id:villager}]}
    
  2. Spawn villagers around the zombie

Expected & Observed Results:

- The zombie will walk around slower than usual, and while not appearing to target the villager, seemingly will. No other villagers spawned around the zombie will be targeted.
- The zombie would either be able to attack the villager riding it, or if it is intentional that the zombie not be able to attack the villager, would instead attack other villagers around it.

Screenshots/Videos:

2024-01-05_16-03-42.mp4

Notes:

  1. The general behavior of mobs riding other mobs seems to be that an entity can attack the entity it is riding, but not the other way around. this would indicate that the proper fix to this would be to have the zombie ignore the villager riding it, rather than attacking it.
  2. Relates to
    MC-148511 MC-262182

Unresolved

[Mod] Jiingy

Donovan Smith

2020-07-29, 07:29 PM

2024-04-16, 02:24 PM

10

8

Confirmed

Mob behaviour

mob

1.16.1 - 1.20.5 Pre-Release 21.16.1, 1.16.2 Pre-release 1, 20w51a, 1.16.5, 21w08b, 21w11a, 1.17.1, 1.20.4, 23w51b, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2

-