Mojira Archive
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]}} 

Fixed

Eclipse

[Mojang] Panda

2023-02-16, 09:54 PM

2023-03-08, 09:55 AM

2023-03-08, 09:55 AM

32

13

Confirmed

Normal

Platform

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