mojira.dev
MC-248206

Z-fighting between blocks inside invisible item frames and buttons

The Bug

There is z-fighting between blocks that are a whole block wide (e.g. whole blocks, stairs, slabs) placed into invisible item frames and buttons on the same block. This is due to the block inside of the item frame not sticking out as far as it normally does when inside a regular item frame.

Reproduce

  • Do

    /give @p item_frame{EntityTag:{Invisible:1b}}
  • Give yourself a button

  • Give yourself a block

  • Place the button & invisible item frame

  • Put the block in the item frame

Observed Result

The block and button had z-fighting

Expected Result

No z-fighting would occur

Attachments

Comments 1

In 1.18.2 and 22w14a.

Phillip Anonymous

Chi Wong

Confirmed

Low

Rendering, Textures and models

z-fighting

1.18.1, 22w03a, 1.18.2, 22w14a

Retrieved