mojira.dev
MC-270639

Anvil UI texture file contains large red rectangle which can never be seen

Relates to: MC-176095 MC-199660 MC-208679 MC-250985

May also relate to: MC-159560

The bug

Much like the unused buttons mentioned in MC-268376, the anvil's texture contains a massive red rectangle which is always fully obscured by the text field. Deleting this rectangle from the texture file would indicate better that it is an unused feature which is never visible, and doing so would also knock down the file size.

How to fix

Remove these pixels from the texture file. I have two fixed versions of this texture attached - one for the default textures and another for Programmer Art. Fixing this should be as easy as replacing the textures with the versions attached.

[media]

[media]

Linked issues

Attachments

Comments 2

Can confirm, though it may make sense to instead fill in the background with either the gray color to match the background, or an empty version of the text box instead of leaving a gap in the texture, like so:

[media]

I disagree on the basis that not only would this increase file size, it would also create extra confusion if someone attempted to change the texture of the text field by editing this file and didn't see in-game effects. Leaving a hole in the texture there would be clearer.

muzikbike

(Unassigned)

Confirmed

Textures and models

obscured-pixels

1.20.4, 1.20.5 Pre-Release 1

Retrieved