mojira.dev
MC-181435

Entities with passengers can rotate their heads at any angle without their bodies moving with them

The Bug:

Entities with passengers can rotate their heads at any angle without their bodies moving with them.

Steps to Reproduce:

  1. Summon a husk riding a spider by using the command provided below.

    /summon minecraft:spider ~ ~ ~ {Passengers:[{id:"minecraft:husk"}]}
  2. Walk around the back of the spider and wait for it to eventually look in your direction.

  3. Take note as to whether or not entities with passengers can rotate their heads at any angle without their bodies moving with them.

Observed Behavior:

Entities can rotate their heads at any angle.

Expected Behavior:

Entities would not be able to rotate their heads at any angle without their bodies moving with them.

Linked issues

MC-132993 Mobs can tilt their head 180° when ridden Resolved MC-144202 Ravagers have buggy/conflicting AI when mounted by a mob. Resolved MC-156922 Ravenger head bug Resolved MC-158047 Spiders being ridden by skeletons don't move their head correctly Resolved MC-158791 Mobs ridden by other mobs can turn their head 180 degrees. Resolved

Attachments

Comments 7

Can confirm this behavior in 21w42a. Here are some extra details regarding this problem.

The Bug:

Entities with passengers riding them can rotate their heads without their bodies moving with them.

Steps to Reproduce:

  • Summon any entity that has a passenger, for example, a husk riding a spider.

/summon minecraft:spider ~ ~ ~ {Passengers:[{id:"minecraft:husk"}]}
  • Walk around the back of the spider and wait for it to eventually look in your direction.

  • Take note as to whether or not entities with passengers riding them can rotate their heads without their bodies moving with them.

Observed Behavior:

Entities with passengers riding them can rotate their heads without their bodies moving with them.

Expected Behavior:

Entities with passengers riding them would not be able to rotate their heads without their bodies moving with them.

Can confirm in 1.18.1.

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

Can confirm in 23w05a,23w06a,23w07a,1.19.4 Pre-1 1.19.4 Pre-2 1.19.4 Pre-3

Seaworths

(Unassigned)

Confirmed

Gameplay

Normal

Mob behaviour

Minecraft 1.12.2, Minecraft 1.13-pre6, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, ..., 1.19.4, 23w16a, 1.20.1, 23w31a, 1.21.1

Retrieved