mojira.dev
MC-213350

"Enchantment cost" text in anvil UI has a dark gray background

This has been an issue for quite a while. The "enchantment cost" text in the anvil UI has a dark gray background behind it. This was not the case in earlier versions, at least until 16w39a (video from that version).

This might be intentional because without the darker background, the text is rather ugly and hard to read. However, the dark gray box seems very out of place and until I investigated this a bit more I thought it was just a weird visual bug that happens sometimes, but it seems to happen consistently.

From what I can tell, there's no way to change this background via resource packs either.

To reproduce

  1. Put two enchanted books into an anvil
    → ❌ The "enchantment cost" text has a dark gray box behind it

Linked issues

Attachments

Comments 19

This was added in 1.13 prerelease 8

This was also added to bedrock, see MCPE-51908. This is probably WAI.

Can confirm in 21w03a.

Can confirm in 21w05a.

9 more comments

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w16b.

Can confirm in 1.19.

Can confirm in 1.19.2.

violine1101

(Unassigned)

Confirmed

UI

21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, ..., 1.20 Pre-release 1, 1.20.1, 1.20.4, 24w34a, 1.21.4

Retrieved