-
Bug
-
Resolution: Fixed
-
1.20.4, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b
-
Community Consensus
-
Rendering, Resource Packs, Textures and models
The bug
If textures used for empty slots contain translucent pixels, it will render these pixels as entirely opaque in-game in some cases. The results are inconsistent, with even the same texture file looking different in different situations.
This was originally mentioned in MC-109447, a ticket that has since been resolved as Won't Fix. However, MC-269085 was also part of that issue but was reported separately, and has since been fixed by Mojang, so I'm reporting this specific case separately as well (tickets combining a bunch of things together usually aren't good practice these days).
How to reproduce
- Download and apply the attached resource pack
- Look in the player's inventory, a loom, a smithing table, an enchanting table, or a tamed llama or horse inventory
Expected results
The slot icons would appear translucent, like their textures are.
Actual results
Sometimes they are, but it isn't consistent.
Slot | Result |
---|---|
Player armor slots (Survival) | Opaque |
Player offhand slot (Survival) | Opaque |
Player armor slots (Creative) | Opaque |
Player offhand slot (Creative) | Opaque |
Enchanting table lapis lazuli slot | Opaque |
Smithing table template slot | Translucent |
Smithing table material slot | Translucent |
Smithing table input item slot | Translucent |
Loom banner slot | Opaque |
Loom banner pattern slot | Opaque |
Loom dye slot | Opaque |
Brewing stand fuel slot | Not individually texturable ( |
Brewing stand bottle slot | Not individually texturable ( |
Horse/donkey/mule saddle slot | Opaque |
Horse armor slot | Opaque |
Llama carpet slot | Opaque |
How to fix
Allow all of these cases to render translucent pixels.
Further notes
Since the slot icons are GUI textures and not items, wouldn't it make sense for the ones currently in the item textures directory to be relocated to the GUI sprites directory? Their current placement confuses me and is inconsistent.
There's other inconsistencies worth noting as well - see MC-265033.
- relates to
-
MC-144009 Particles no longer support translucency
- Open
-
MC-164001 Some textures no longer support transparency
- Open
-
MC-109447 Inconsistency in transparency of GUI PNG files - only some can be transparent + hover-bugs
- Resolved
-
MC-145821 Stained glass, ice, slime block and other transparent block particles are not transparent anymore
- 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-165403 Shield texture no longer supports transparency
- Resolved
-
MC-174732 Semi-transparent status effect textures do not render correctly in the inventory or beacon UI
- Resolved
-
MC-192307 Accessibility icon does not support semi-transparent pixel
- Resolved
-
MC-200987 Title in bossbar breaks HUD opacity
- Resolved
-
MC-251303 Transparent boss bars break when more than one is on screen
- Resolved
-
MC-268171 Some GUI textures can no longer be transparent in Minecraft
- Resolved
-
MC-268929 pack.png does not support translucent pixels
- Resolved
-
MC-269083 Effect background texture in inventory renders translucent pixels as opaque
- Resolved
-
MC-269085 Experience bar and jump bar render translucent pixels as opaque
- Resolved
-
MC-269440 Text fields render translucent pixels as opaque
- Resolved
-
MC-269441 Difficulty lock button renders translucent pixels as opaque
- Resolved
-
MC-269627 Toasts render translucent pixels as opaque
- Resolved
-
MC-269832 Gamemode switcher sprites render translucent pixels as opaque
- Resolved
-
MC-269834 Statistics screen sprites render translucent pixels as opaque
- Resolved
-
MC-270049 Enchanting table buttons and level icons render translucent pixels as opaque
- Resolved
-
MC-270051 Recipe book button renders translucent pixels as opaque
- Resolved
-
MC-270518 Scrollers in block UIs render translucent pixels as opaque
- Resolved
-
MC-270519 "Error" textures in block/entity GUIs do not support translucent textures
- Resolved
-
MC-270640 Anvil text field does not support translucent textures
- Resolved
-
MC-270678 Tabs in recipe book and Creative inventory do not support translucent pixels
- Resolved
-
MC-270680 Buttons in the beacon GUI do not support translucent pixels
- Resolved
-
MC-270741 Realms main menu icons do not render translucent pixels correctly, but accessibility/language icons do
- Resolved
-
MC-270764 Recipe book buttons and icons do not render translucent pixels correctly
- Resolved
-
MC-270765 Bundle background does not handle translucent pixels correctly
- Resolved
-
MC-269619 Scroller in Telemetry Data screen renders translucent pixels as opaque, unlike elsewhere
- Resolved
-
MC-269622 Previous/Next Page buttons render translucent pixels as opaque
- Resolved
-
MC-269751 Advancement frames render translucent pixels as opaque
- Resolved
-
MC-269755 Scroller in Report Player screen renders translucent pixels as opaque, unlike elsewhere
- Resolved
-
MC-269763 Scroller in Realms screen renders translucent pixels as opaque, unlike elsewhere
- Resolved
-
MC-269936 Transferable list (resource pack, data pack) screen buttons render translucent pixels as opaque
- Resolved
-
MC-269937 World list buttons render translucent pixels as opaque
- Resolved
-
MC-270563 Furnace, blast furnace and smoker smelting progress and burn time indicators do not support translucent textures
- Resolved
-
MC-270564 Brewing stand fuel, bubbles and progress sprites do not support translucent textures
- Resolved
-
MC-270641 Crafter UI sprites do not support translucent pixels
- Resolved
-
MC-270692 Textures for empty slots do not support translucent pixels
- Resolved
-
MC-270698 Loom recipe buttons render translucent pixels as opaque
- Resolved
-
MC-270726 Advancement backgrounds render translucent pixels as opaque
- Resolved