mojira.dev
MC-194116

Hoglins are neutral towards non-piglin mobs that accidentally hits them

The bug

Hoglins don't indefinitely attack non-piglin mobs that attacks them. If they can't reach the target who attacked them, they'll just give up and walk away.

To reproduce

  1. Build a fence

  2. Spawn a Johnny vindicator

  3. Spawn a hoglin (with or without IsImmuneToZombification)

  4. Wait for the vindicator to attack the hoglin

  5. Use the following tp command to teleport the vindicator outside the fence:

    /tp @e[name=Johnny] @s
  6. The vindicator and the hoglin runs close to each other in the different side of the fence
    โ†’ โŒ Eventually the hoglin loses interest on killing the vindicator while the vindicator that's named Johnny still wants to kill the hoglin

Video

[media]

Linked issues

Attachments

Comments 5

I have the same problem as you if mojang studios fix it ๐Ÿ˜ƒย 

Duplicate ofย MC-175024.

DrownedZombie I thought you commented on that one too!

Can confirm in 23w40a

Hoglins don't attack skeletons that shoot them accidentally

I now couldn't reproduce it in 24w04a in my test world so maybe there's more conditions to it

DrownedZombie

(Unassigned)

Community Consensus

Mob behaviour

1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, ..., 1.16.4, 20w45a, 20w46a, 20w51a, 21w03a

Retrieved