mojira.dev
MC-269443

Box displayed around selected resource pack or data pack cannot be retextured

Discovered while testing MC-269437.

The bug

The black box which is displayed around the currently selected resource pack or data pack in the resource pack or data pack menu does not appear to be retexturable.

I had initially assumed, due to the black center and white border, that this used either the text_field or text_field_highlighted widget textures, but changing these via resource pack has no effect on it.

How to reproduce

  1. Download and apply the attached resource pack

  2. Enter the resource pack menu

  3. Click on a resource pack

Expected results

The box shown behind the clicked resource pack would look different from how it usually does.

Actual results

It remains completely unchanged.

How to fix

Instead of pointing this to the text field texture, it may be better to use a different, dedicated texture for this instead, since it isn't an editable text box.

Linked issues

MC-278413 Chat background cannot be retextured Open MC-264571 Both standing and wall sign GUI backgrounds cannot be retextured independantly from the block Resolved MC-270255 Item slot disabled effect cannot be retextured Open MC-270258 Durability bar cannot be retextured Open MC-270260 Bundle fullness bar cannot be retextured Open

Attachments

Comments 2

Affects 1.20.5 pre-release 1 and pre-release 2.

muzikbike

(Unassigned)

Community Consensus

Resource Packs, UI

hardcoded-graphics

1.20.4, 24w11a, 1.20.5 Pre-Release 1, 1.21, 1.21.1, 24w36a, 24w37a, 1.21.8 Release Candidate 1

Retrieved