Entities with a modified generic.scale attribute are not rendered as expected when sleeping. This applies to mobs being bigger, or smaller than usual, both with different (but similar) behavior.
Steps to Reproduce:
- Spawn a villager
- Place a bed near it
- Set time to night
/time set night
- Modify the villager's scale attribute
(A value of 2 is not required)/attribute @e[type=villager,limit=1,sort=nearest] minecraft:generic.scale base set 2
Observed & Expected Results:
- The entity will be rendered far from the bed they are sleeping in, appearing to float above, or even inside the ground.
- The entity would be be centered on the top of the bed, only with a difference in size.
Screenshots/Videos:
Video
Sleeping Villager Scale.mp4
Notes:
- is duplicated by
-
MC-267504 Misaligned bed model with large scales
- Resolved
- relates to
-
MC-267372 Ender dragon model and hitboxes do not scale correctly with the scale attribute
- Open
-
MC-267418 Warden sonic boom attack doesn't account for the scale attribute
- Resolved
-
MC-267434 Upside-down mobs with big scale attribute are displayed above hitbox
- Resolved
-
MC-267707 Wither particles do not account for scale attribute
- Resolved
-
MC-267708 The wither's skull projectile attacks do not account for the scale attribute
- Resolved