mojira.dev
MC-165182

Inventory/GUI textures no longer handle translucent pixels correctly

Possibly clones MC-47342.

The bug

If a texture file for an inventory screen is given translucent pixels, those pixels will render completely opaque in-game.

This was not the case prior to release 1.15 for many screens.

Affected screens

Everything located in textures/gui/container (excluding gamemode_switcher.png) is affected by this issue:

  • Anvils

  • Beacons

  • Furnaces, blast furnaces and smokers

  • Brewing stands

  • Cartography tables

  • Crafters

  • Crafting tables

  • Dispensers and droppers

  • Enchanting tables

  • Chests (both sizes), trapped chests (both sizes), ender chests, minecarts with chests, barrels

  • Grindstones

  • Hoppers and minecarts with hoppers

  • Horses, donkeys, mules, llamas, trader llamas and camels

  • The Survival inventory screen

  • Looms

  • Shulker boxes

  • Smithing tables

  • Stonecutters

  • Villagers

  • Creative inventory screens

In addition, the following are also affected:

  • Book-and-quills and written books

  • Recipe Book

The advancements window renders translucent pixels correctly.

I am unable to test if the demo screen background is also affected, however the attached resource pack also retextures this.

How to reproduce

  1. Download and apply the attached resource pack:

[media]
  1. Enter any of the aforementioned inventory screens

Expected results

The inventory screen would be translucent.

Actual results

It is not.

Further notes

Comparison using another attached resource pack in 1.14.4 and 1.15 respectively:

1.14.4

1.15

[media][media]
[media][media]
[media][media]

Linked issues

Attachments

Comments

闫懋杰
[media]
闫懋杰
[media]

that's what it should be like

SPGoding

I've updated the description to make it clearer with a table showing the differences, and removed some useless information. Hope you will be fine with this.

SoloAlguien

Can confirm in 21w11a.

SoloAlguien

Can confirm in 21w13a.

SoloAlguien

Can confirm in 21w14a.

SoloAlguien

Can confirm in 21w16a.

SoloAlguien

Can confirm in 21w17a.

SoloAlguien

Can confirm in 21w18a.

SoloAlguien

Can confirm in 21w19a.

SoloAlguien

Can confirm in 21w20a.

SoloAlguien

Can confirm in 1.17 Pre-release 1.

SoloAlguien

Can confirm in 1.17 Pre-release 2.

SoloAlguien

Can confirm in 1.17 Pre-release 3.

SoloAlguien

Can confirm in 1.17 and 1.17.1 Pre-release 1.

SoloAlguien

Can confirm in 1.17.1.

SoloAlguien

Can confirm in 21w39a.

SoloAlguien

Can confirm in 21w40a.

SoloAlguien

Can confirm in 21w42a.

SoloAlguien

Can confirm in 1.18 Pre-release 1.

SoloAlguien

Can confirm in 1.18 and 1.18.1 Pre-release 1.

SoloAlguien

Can confirm in 1.18.1.

pulpetti

In 22w03a.

SoloAlguien

Can confirm in 1.18.2.

peashooter

still in 1.19.4

muzikbike

As the reporter of many other UI translucency problems, can I become the owner of this specific report?

闫懋杰

muzikbike

eowyn36

Confirmed

Platform

Low

Rendering, Resource Packs, UI

GUI, custom, gui-slider, inventory, opacity, rendering, resource-pack, resource-pack-support, texture, translucency, translucency-nonfunctional

19w45a, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, ..., 1.19.4, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 2, 24w19b

24w33a

Retrieved