mojira.dev
MC-260265

Lighting does not transform with display entities

When transforming and translating items, the default lighting is fixed to the original side

This is a lot easier to see on items with custom model data

To reproduce:

 

summon minecraft:item_display ~ ~ ~ {item: {id: "minecraft:clay_ball", Count: 1b, tag: {CustomModelData:1111}}}
summon minecraft:item_display ~ ~ ~ {item: {id: "minecraft:clay_ball", Count: 1b, tag: {CustomModelData:1111}}, transformation:{translation:[0f,0f,0f],scale:[1f,1f,1f],left_rotation:[0.707f,0f,0f,0.707f],right_rotation:[0f,0f,0f,-1f]}}

This also is seen on block displays

/summon minecraft:block_display ~ ~ ~ {block_state:{Name:"yellow_concrete"}}

 

/summon minecraft:block_display ~ ~ ~ {block_state:{Name:"yellow_concrete"},transformation:{translation:[0f,0f,0f],scale:[1f,1f,1f],left_rotation:[0.707f,0f,0f,0.707f],right_rotation:[0f,0f,0f,-1f]}}

Attachments

Comments 6

Same with the other displays. Block displays, unsure how text display shading works.

Confirmed in 1.19.4 pre-release 1.

Please only comment if you have information to add, not informationless comments.

Confirmed in 1.19.4 pre-release 2.

In 1.19.4 pre-release 3.

IllogicalSong

Panda4994

Confirmed

Platform

Normal

Rendering

23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3

1.19.4 Pre-release 4

Retrieved