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

Fractions in bee nest tooltip are not padded with whitespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w37a
    • 24w35a, 24w36a
    • None
    • Confirmed
    • Text, UI
    • Normal
    • 1291196
    • Platform

      Certain text uses a fractional format to display two numbers, including the durability tooltip enabled by F3+H and the optimize world progress indicator. In Minecraft snapshot 24w35a, bee nests use this same style to display bees and honey. However, unlike the existing examples, there is no whitespace separating numbers from the slash, creating an inconsistency between fractional formats.

      Steps to reproduce

      1. Obtain a beehive with durability: /give @s minecraft:beehive[damage=1,max_damage=2,max_stack_size=1]
      2. Enable advanced tooltips with F3+H
      3. Hover over the beehive in the inventory
      4. Observe the different lines on the tooltip

      Expected behavior

      The tooltip would read the following:
      Bees: 0 / 3
      Honey: 0 / 5

      Actual behavior

      The tooltip reads the following (notice that the numbers are not followed/preceded by whitespace):
      Bees: 0/3
      Honey: 0/5

      Screenshot/s:

      Notice the padding on Durability vs. Honey and Bees

            5tefan [Mojang] Stefan Torstensson
            haykam haykam
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: