mojira.dev
MC-276127

Fractions in bee nest tooltip are not padded with whitespace

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

[media]

Attachments

Comments 1

haykam

Stefan

1291196

Confirmed

Platform

Normal

Text, UI

24w35a, 24w36a

24w37a

Retrieved