mojira.dev
MC-163818

Remodeled items have inconsistent rendering

Certain items, when remodeled, render differently than other items. For example, stained glass items will display both sides of faces even when remodeled, however other blocks such as quartz blocks will only render one side of faces. This is inconsistent, and seems to be due to the special cases defined for transparent block-item models. This means different items may not display the same despite having the same model.

The attached image displays two items, white stained glass on the left and quartz block on the right. Both have the same model, however, they render the model differently. On the custom stained glass model we see faces from both sides, however on the quartz block model we cannot.

Perhaps a way to resolve this would be to allow models to define in json to be rendered as a transparent model/double sided, then models could be rendered in the correct way regardless of item.

 

The resource pack for this has been attached, simply drop white stained glass and quartz block on the ground to see the differences.

Note: Additionally, partial transparency does not behave correctly either on default opaque item models but work correctly on originally partially transparent items like stained glass.

Attachments

Comments 5

It is related, but no. This is an issue where non-transparent item models don't render back faces while transparent ones do, thus there is inconsistency in how models are decided on to be rendered. I assume they made a special case for transparent items to be able to render faces from both sides, while other blocks only render from one side.

i.e. if only that bug is fixed, this bug would not be, because the same model would not behave the same on different items inherently (double-sided faces vs non-double sided faces)

Perhaps a way to resolve this would be to allow models to define in json to be rendered as a transparent model/double sided, then models could be rendered in the correct way regardless of item.

A little late but this bug is technically resolved, as they render the same now due to the WAI change mentioned in MC-171301

onnowhere

(Unassigned)

Confirmed

Normal

Rendering

19w41a, 19w42a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 4, 1.15 Pre-release 6

Retrieved