mojira.dev
MC-270692

Textures for empty slots do not support translucent pixels

More loosely relates to these issues: MC-144009 MC-145821 MC-164001 MC-165403

The bug

If textures used for empty slots are given translucent textures, they will incorrectly render as opaque in-game.

This concerns standalone sprites for empty slots - in most cases, the slots are baked into the UI texture (see MC-165182).

Affected slots

  1. slot.png (used in Statistics and in superflat customization)

  2. Bundle slots

  3. Donkey/mule/llama chest slots

The saddle, armor and carpet slots used for horses, donkeys, mules, llamas and camels are also affected by this issue, but this specific case is covered under MC-269445. Making the slot item outline its own texture, and then baking the actual slot shape into the UI texture file (one for each mob), would fix MC-265033 and MC-270530.

How to reproduce

  1. Download and apply the attached resource pack

  2. Enter the statistics item menu, the superflat customization menu, a donkey/mule/llama's UI or mouse over a bundle

  3. Observe

Expected results

Translucent slots.

Actual results

Entirely opaque.

Linked issues

MC-109447 Inconsistency in transparency of GUI PNG files - only some can be transparent + hover-bugs Resolved MC-270765 Bundle background does not handle translucent pixels correctly Resolved MC-165036 Boss bars with the notched style are rendered incorrectly if more than one boss bar is active Resolved MC-165182 Inventory/GUI textures no longer handle translucent pixels correctly Resolved MC-174732 Semi-transparent status effect textures do not render correctly in the inventory or beacon UI Resolved

Attachments

Comments 0

No comments.

muzikbike

eowyn36

Confirmed

Rendering, Resource Packs, Textures and models

translucency-nonfunctional

1.20.4, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b

24w33a

Retrieved