mojira.dev
MC-257909

Zoglins, hoglins, and pandas can still attack players riding camels

Summary:
Zoglins, Hoglins and Pandas can still attack players on a camel (even after fixing MC-256655).

Steps to reproduce:

  1. Summon and saddle a camel.

    /summon camel ~ ~ ~ {SaddleItem:{id:"minecraft:saddle",Count:1b}}
  2. Summon a hoglin.

    /summon hoglin ~ ~ ~ {IsImmuneToZombification:1b,Attributes:[{Name:generic.attack_damage,Base:0.0001}]}
  3. Sit on a camel, switch into survival mode, and allow the hoglin to attack you.

Observed results:
Hoglins, Zoglins and Pandas can attack the player on a camel.

Expected results:
Hoglins, Zoglins and Pandas cannot attack the player on a camel.

Screenshots:

[media]

Related issues

Attachments

Comments

migrated
[media][media]
JervieA20

I also have same issue (Except Panda does not attack) in Bedrock Edition

[Mod] EVGENSYPERPRO

gnembon

1059480

Confirmed

Expansion A

Normal

Hitboxes, Mob behaviour

camel, hoglin, panda, zoglin

1.19.3 Pre-release 2, 1.19.3, 1.19.4, 1.20 Pre-release 6, 1.20.1, 23w32a

23w33a

Retrieved