mojira.dev
MC-173050

Hoglins can't hit some mobs with large hitboxes

The bug

Hoglins can't hit some mobs with larger hitboxes. Instead, they push their enemies and never hit them. They may hit those mobs if they attack in a group. Probably due to their attack range being very low that they need to get closer to their enemies.

How to reproduce

  1. Summon a ravager withthe tags NoAI UUIDLeast and UUIDMost.

  2. Summon a hoglin

  3. Summon a snowball above the hoglin with the owner tag, which the L and M should be the same as the ravager
    → ❌ The hoglin charges at the ravager and tries to attack the ravager, but instead pushes the ravager.

Mobs that hoglins can't hit

  • Iron golem (Sometimes)

  • Ravagers

  • Elder guardians

  • Slimes/Magma cubes/Phantoms (Size 3 or above)

  • Ghasts

  • Giants

  • Polar bears (Somtimes)

  • Any mountable mobs except for pigs and llamas (Sometimes)

Related issues

Attachments

Comments

migrated
[media]
migrated

Seems to be fixed in 20w11a.

migrated

(Unassigned)

Confirmed

Important

Mob behaviour

20w08a, 20w09a, 20w10a

20w11a

Retrieved