mojira.dev
MCPE-235788

Static face shading applied to block icons before item display transformations considered

Face shading is applied to block model icons before transformations occur.

Demonstration

The following demo shows this bug in play:

Icon Shading Bug Demo.png

In order, the blocks in the hotbar show a Vanilla block, a custom block with proper shading, and a custom block with improper shading. The improper case can be recreated with the following simple transformation: "rotation": [-60, 0, 45]. This rotation should show a nearly identical block icon to the first 2 cases.

Reproduction

This example is taken from the behavior pack in the following world attached for convenience:

[media]

This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.

Attachments

Comments 0

No comments.

Ciosciaa

(Unassigned)

1558286

Confirmed

Multiple

26.10.21 Preview

Retrieved