Mojira Archive
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.

Unresolved

ubi

2023-04-28, 08:40 PM

2024-09-07, 02:42 PM

17

9

Confirmed

Normal

Platform

Mob behaviour

mob, passengers

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

-