mojira.dev

Juuz

Assigned

No issues.

Reported

No issues.

Comments

After some researching in the FabricMC Discord server (thanks to Soren for the fix), enabling depth testing before drawing the icon seems to fix this bug.

The icon is drawn in AdvancementTabType.drawIcon(), which is called by AdvancementTreeWidget.drawIcon(). Wrapping the call in AdvancementTreeWidget with GlStateManager.enableDepthTest() and GlStateManager.disableDepthTest() fixed the bug.

(Using Yarn mappings, version 1.14.4+build.2)

Yarn

1.14.4

AdvancementTreeWidget.drawIcon(int, int, ItemRenderer)

dcv.a(int, int, dsv)

AdvancementTabType.drawIcon(int, int, int, ItemRenderer, ItemStack)

dcw.a(int, int, int, dsv, bcj)