mojira.dev
MC-132201

Shulker box tooltips do not take item rarity colours into consideration

The bug

The names of the contained items should be white, yellow, cyan and magenta respectively, however they all display as the same colour.

The ominous banner's name displays normally, however.

Steps to Reproduce

  • Give yourself a shulker box that contains multiple items with different item rarity colors.

/give @s minecraft:shulker_box{BlockEntityTag:{Items:[{Slot:0,id:"minecraft:enchanted_golden_apple",Count:1b},{Slot:1,id:"minecraft:elytra",Count:1b},{Slot:2,id:"minecraft:beacon",Count:1b}]}}
  • Hold your mouse cursor over the shulker box in your inventory to display its tooltip.

  • Take note as to whether or not shulker box tooltips display item rarity colors.

Observed Behavior

Shulker box tooltips do not display item rarity colors.

Expected Behavior

Shulker box tooltips would display item rarity colors.

Linked issues

Attachments

Comments 26

Can confirm for 1.13-pre5

Still present in 20w16a

Can confirm in 20w51a.

Can confirm in 21w05b.

Can confirm in 21w06a.

16 more comments

Present in 1.19.2.

TomatoClownfish

Can confirm in 1.19.3.

Can confirm in 23w04a

Present in 1.19.4.

This issue still exists in Minecraft snapshot 24w12a. A new command to reproduce the issue is: /give @s shulker_box[container=[{item:{id:dirt,components:{rarity:epic}},slot:0}],rarity=epic]

muzikbike

(Unassigned)

Confirmed

Platform

Low

UI

rarity-ignored

Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, ..., 23w04a, 1.20.1, 1.20.4, 24w12a, 1.21

Retrieved