mojira.dev
MC-269971

The interior faces of spawners, trial spawners and vaults z-fight with adjacent blocks (except when culled)

Spawners' and trial spawners' interior faces are culled when they are adjacent to a full, solid, opaque block (MC-268807); this sometimes happens incorrectly (MC-266463). This does not happen at all for vaults (MC-268242). For any of these blocks, when an interior face is not culled and is adjacent to the face of another block, z-fighting results; this can be easily seen through a spyglass at moderate distances.

[media]

Linked issues

Attachments

Comments

migrated

Can confirm

migrated

Can confirm this is also present in 1.21 full release

4ebugger

Fixing this issue requires changing the block model, so how can fix this issue and also have the back faces rendered?

Ceresjanin123

Fixing this would be easy actually. Just cull the blockface that's next to another block. This already occurs when a spawner/trail spawner is placed next to a solid block so idk why it's not the case with translucents.

Vaults don't have their blockfaces culled at all so this z-fighting also happens on solid blocks btw

4ebugger

This also happens when spawners border the incomplete blocks such as slab, so I don't think cull the back face of spawners when border these blocks is a solution.

Ceresjanin123

Then the only way to fix it that I can think of is copying leaves block behavior where the inside faces aren't visible at all

4ebugger

Maybe it could be fixed by making the thickness of the sides 0.01 and having both the outer and inner sides be rendered. 

 

clamlol

(Unassigned)

1214191

Confirmed

Expansion B

Low

Textures and models

24w13a, 1.20.5 Pre-Release 2, 24w19b, 1.21 Pre-Release 4, 1.21, 1.21.1, 24w36a, 24w45a

Retrieved