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

1LotS

Can confirm for 1.13-pre5

SeaOfPixels

Still present in 20w16a

Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w08b.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w10a. Video attached.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

I am able to confirm this behavior in 21w40a. Here are some extra details regarding this problem.

The Bug:

Shulker box tooltips do not display item rarity colors.

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.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

MacchuPicchu

Present in 1.19-pre2.

MacchuPicchu

Present in 1.19-pre3.

MacchuPicchu

Present in 1.19-pre4.

MacchuPicchu

Present in 1.19-pre5.

MacchuPicchu

Present in 1.19-rc1.

MacchuPicchu

Present in 1.19-rc2.

MacchuPicchu

Present in 22w24a.

Avoma

Can confirm in 1.19.1.

MacchuPicchu

Present in 1.19.2.

TomatoClownfish

Can confirm in 1.19.3.

Brain81505

Can confirm in 23w04a

MacchuPicchu

Present in 1.19.4.

haykam

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