Mojira Archive
MC-274657

Ominous Banner's orange name is handled as a custom text color, rather than as a rarity

The bug

Most Survival-obtainable items with non-white name colours have this aspect defined through the rarity system. Ominous banners do not, which is the root cause for some inconsistent behaviour when compared to items using rarity:

  • MC-132201: items with rarity don't display name colours in shulker box tooltips; ominous banners correctly do
  • MC-249067: ominous banners lose their name colour when renamed, which does not happen for items with rarity

Steps to Reproduce

  • Obtain an Ominous Banner
  • Run /data get entity @s SelectedItem while holding the Ominous Banner

Observed Behavior

The color field is used in the item_name component to specify the Ominous Banner's name's color.

Expected Behavior

The rarity component is used to specify the Ominous Banner's name's color.

How to fix

Introduce a dedicated rarity for the ominous banner and apply it.

Fixed

Connor Steppie

2024-07-25, 09:55 AM

2024-08-11, 06:02 PM

2024-07-26, 07:03 AM

2

1

Confirmed

Text, UI

1.21

24w33a