mojira.dev
MC-262182

Certain mobs with passengers are no longer able to attack

The bug:

Since 1.19.4 Pre-release 2, certain mobs with passenger(s) riding them are no longer able to attack/target players or other mobs.

List of affected mobs:

  • Bee (When hostile)

  • Blaze

  • Cave Spider

  • Creeper

  • Drowned

  • Elder Guardian (Still gives players mining fatigue, thorns still damages players)

  • Ender Dragon

  • Enderman

  • Endermite

  • Guardian (Thorns still damages players)

  • Husk

  • Illusioner (Only does duplication spell)

  • Iron Golem (When hostile)

  • Llama (When hostile, doesn't spit)

  • Magma Cube (Touching them will still harm players)

  • Phantom

  • Pillager

  • Polar Bear (When hostile)

  • Ravager

  • Shulker

  • Silverfish

  • Skeleton

  • Slime (Touching them will still harm players)

  • Spider (Note: MC-236303)

  • Stray

  • Vex

  • Vindicator

  • Witch

  • Wither Skeleton

  • Wolf (When hostile)

  • Zombie

  • Zombie Villager

  • Zombified Piglin

List of unaffected mobs:

  • Evoker (Still does magic attacks)

  • Ghast (Still shoots fireballs at players)

  • Piglin (Will even fire a Crossbow at players)

  • Piglin Brute

  • Hoglin

  • Wither

  • Zoglin

Expected Behavior:

Previous to this update, these mobs with passenger(s) riding them were still able to attack/target players or other mobs.

How to reproduce:

  1. Launch a world in Minecraft 1.19.4.

  2. Run (if summoning mobs that burn in daylight):

    /time set night
  3. Run:

    /summon <any mob from list> ~ ~ ~ {Passengers:[{id:"minecraft:zombie",Attributes:[{Base:0.0d,Name:"minecraft:generic.attack_damage"}]}]}
  4. Go into survival or adventure mode.
    → ❌ The mob doesn't attack you.

Linked issues

Comments 5

First version this occurs in is 1.19.4 Pre-release 2.

Are you sure? Is this different from MC-236303?
EDIT: Hm, it is different. I can confirm the behavior described in this report is new

Warden (Always digs underground and dismounts the passenger)

Did you summon it without the necessary memories? Wardens only dig out when their cooldown reaches 0, and providing NBT makes it 0 unless specified.

Bumping prior comment, as that behavior is MC-249393. That list entry is incorrect.

Can confirm it still happening in 1.21.5

ubi

(Unassigned)

Confirmed

Platform

Normal

Mob behaviour

mob, passengers

1.19.4 Pre-release 2, 1.19.4, 23w17a, 23w18a, 1.20 Release Candidate 1, ..., 23w43b, 1.20.4, 1.20.6 Release Candidate 1, 1.21.1, 24w36a

Retrieved