mojira.dev
MC-138358

Levers on top of item frames Z-fighting with blocks in item frames

The bug

If you place an item frame down, and put a block in that item frame, then place a lever on the same block as the item frame, the block in the item frame will show z-fighting with the lever.

The issue seems to be with Minecraft's placement of the block in the world which is in the item frame. Although you can't see it in this picture, the top item frame has a block in it, and the top of the block is z fighting the top of the lever, this happens when the lever is both on and off. The item frame on the left of the block, as can be seen, has a block of glowstone in the centre, whose texture is in front of the lever's texture. This is the other way round in the item frame on the right: there is a completely hidden stone block, behind the front of the lever.

Linked issues

Attachments

Comments 14

Can confirm, tested on mac

Affects 20w21a, can I request ownership of this ticket?

Can confirm in 20w51a.

Can confirm in 21w05b.

Can confirm in 21w06a.

4 more comments

Can confirm in 21w19a

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.2.

Can confirm in 1.19.2.

Joss Davis

muzikbike

Chi Wong

Confirmed

(Unassigned)

item_frame, lever, z-fighting, z-fighting-hitbox-zone

Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w48a, Minecraft 18w48b, ..., 1.17 Pre-release 1, 1.17, 1.17.1, 1.18.2, 1.19.2

23w14a

Retrieved