mojira.dev
MC-270742

Displays don't rotate properly between 179 and 180

What I expected to happen was...:
Expected that bettwen 179 and 180 there will be a smoth small movment

What actually happened was...:
a backflip

Steps to Reproduce:

  1. /summon block_display ~ ~ ~ {teleport_duration:5,block_state:{Name:"minecraft:stone"}}
    /summon block_display ~ ~ ~ {teleport_duration:5,block_state:{Name:"minecraft:stone"}}
  2. /data merge entity @e[type=block_display,limit=1,sort=nearest] {Rotation:[0F,179F]}
    /data merge entity @e[type=block_display,limit=1,sort=nearest] {Rotation:[0F,179F]}
  3. /data merge entity @e[type=block_display,limit=1,sort=nearest] {Rotation:[0F,180F]}
    /data merge entity @e[type=block_display,limit=1,sort=nearest] {Rotation:[0F,180F]}

Attachments

Comments 1

Can confirm. Also affects 1.20.5 pre-release 2.

Dominilk

Tommy Wallberg

Community Consensus

Platform

Normal

Entities, Rendering

1.20.4, 1.20.5 Pre-Release 1, 1.21

24w35a

Retrieved