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-277583 Villagers with an entity without AI riding them, will spinn their head 360 degrees without spinning their body. Resolved MC-264625 If a wolf rides a llama, the llama will spit at the wolf with its neck bent instead of spinning in place. Resolved MC-264725 Ravagar can see the mob he is riding with his neck turned. Resolved MC-259350 Using the ride command to get the villagers ridden by chickens, the villagers' heads will turn to an unreasonable angle 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