Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-213350

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w16a, 21w17a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w16b, 1.19, 1.19.2, 1.19.3, 1.19.4, 1.20 Pre-release 1, 1.20.1, 1.20.4, 24w34a
    • None
    • Confirmed
    • UI

      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

        1. 2021-01-30_00.14.47.png
          2021-01-30_00.14.47.png
          88 kB
        2. 2021-01-30_00.24.52.png
          2021-01-30_00.24.52.png
          85 kB
        3. MC-213350.mp4
          1.27 MB
        4. MC-213350.png
          MC-213350.png
          23 kB

            Unassigned Unassigned
            violine1101 [Mod] violine1101
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: