mojira.dev
MC-197910

The eye lines of bats hanging from blocks don't face in directions in conjunction with their models

The Bug:

The eye lines of bats hanging from blocks don't face in directions in conjunction with their models.

Steps to Reproduce:

  1. Obtain a bat spawn egg and summon a platform of blocks above you by using the command provided below.

    /fill ~7 ~3 ~7 ~-7 ~3 ~-7 minecraft:polished_andesite hollow
  2. Use the bat spawn egg against the ceiling and stand a fair distance away from the bat in order to allow it to hang from the blocks.

  3. Switch into spectator mode and enable entity hitboxes by pressing F3 + B.

  4. Look at the eye line of the bat.

  5. Take note as to whether or not the eye lines of bats hanging from blocks face in directions in conjunction with their models.

Observed Behavior:

The eye lines of bats don't face in directions in conjunction with their models.

Expected Behavior:

The eye lines of bats would face in directions in conjunction with their models. For example, if the bat's model appeared to be facing north when hanging upside down, their eye line should also face this way.

Linked issues

Attachments

Comments 8

Can confirm that this is an issue. Also affects 20w51a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 21w11a.

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w19a.

Can confirm in 1.19.2.

Confirmeed for 1.20.2; rather than flipping it by the x rotation, the model needs to flip by z rotation, and the facing value would match the model correctly.

Sukaato

Avoma

(Unassigned)

Confirmed

Mob behaviour, Textures and models

bat

1.16.2, 20w51a, 1.16.5, 21w08b, 21w11a, ..., 24w34a, 1.21.3, 1.21.4, 25w08a, 1.21.5

Retrieved