mojira.dev
MC-293615

Tooltip formatting of "Items x number" is inconsistent across different types of items

When hovering over a filled shulker box in your inventory (translation string container.shulkerBox.itemCount), the tooltip looks like this:

[^Screenshot From 2025-03-12 00-03-26.png]

…or written out for those not logged in…:

Shulker Box
Firework Rocket x3

However, in a firework (using the new translation string item.minecraft.firework_rocket.multiple_stars) it looks like this:

[^Screenshot From 2025-03-12 00-03-50.png]

…or written out for those not logged in…:

Firework Rocket
Flight Duration 1:
3 x Small Ball
  Red

There is a third newly added translation string, item.minecraft.crossbow.projectile.multiple, which looks like this:

[media]
Crossbow
Projectile: 3 x [Firework Rocket]

This bug report is about the difference in these translation strings.

Translation code

Translation string

Example

To reproduce

container.shulkerBox.itemCount

%s x%s

Firework Rocket x3

/give @s shulker_box[container=[{slot:13,item:{count:3,id:"minecraft:firework_rocket"}}]]

item.minecraft.firework_rocket.multiple_stars

%s x %s

3 x Small Ball

/give @s firework_rocket[fireworks={explosions:[{shape:small_ball,colors:[11743532]},{shape:small_ball,colors:[11743532]},{shape:small_ball,colors:[11743532]}]}]

item.minecraft.crossbow.projectile.multiple

Projectile: %s x %s

3 x [Firework Rocket]

/give @s minecraft:crossbow[minecraft:charged_projectiles=[{id:'minecraft:firework_rocket'},{id:'minecraft:firework_rocket'},{id:'minecraft:firework_rocket'}]]

Attachments

Comments 2

Can confirm in 1.21.5 and 25w18a.

[Mod] violine1101

(Unassigned)

Confirmed

Platform

Low

Text

1.21.5 Pre-Release 1, 1.21.5, 25w18a

Retrieved