Mojira Archive
MC-265038

"Destroy Item" Creative inventory slot does not have its own texture file

The bug

Unlike other special slots with their own unique appearences (e.g. loom slots), the "Destroy Item" slot in the "Survival Inventory" tab accessible in Creative mode does not have a unique, dedicated texture file for this slot, and it is instead a part of textures/gui/container/creative_inventory/tab_inventory.png, making it inconsistent with almost all other special slots.

How to reproduce

  1. Open the contents of the jar file
  2. Navigate to textures/gui/container/creative_inventory/tab_inventory.png
  3. Inspect this image file

Expected results

The destroy item slot would look like a normal slot, with the red background and X being handled with a separate file.

Actual results

The red background and X are built into this inventory texture instead, making it inconsistent with other special inventory slots.

How to fix

An extracted destroy_item slot texture has been extracted from tab_inventory.png. It can be placed somewhere (likely textures/gui/sprites/container/creative_inventory) and the game would place this texture file over the existing slot like it does with empty armor slots, empty smithing table slots and the like.

Unresolved

Connor Steppie

2023-08-25, 03:50 PM

2024-01-23, 03:16 PM

2

5

Confirmed

Textures and models, UI

23w33a, 23w35a, 1.20.2

-