mojira.dev
MC-249067

Ominous banners lose their rarity color when renamed using anvils

The bug

When an Ominous Banner is renamed with an anvil, it loses its rarity color. The other items with rarity color can be renamed without losing it.
How to reproduce

[media]
  1. Generate a Pillager Outpost

    /place structure minecraft:pillager_outpost
  2. Take an Ominous Banner from the structure

  3. Rename it in an anvil
    ❌ See if it kept its rarity color after renaming it

  4. Get another item with rarity color (e.g. golden apple) and repeat step 3

Linked issues

Attachments

Comments

muzikbike

This is likely due to it being a custom name color rather than a true rarity color. An easy fix for this would be to split off ominous banners into their own ID (which would fix many other things), and create a proper "Ominous" rarity which applies to them.

ampolive

Relates to MC-123804.

muzikbike

Affects 1.21

muzikbike

Is caused by MC-274657

SoloAlguien

kingbdogz

Confirmed

Platform

Low

Items

1.18.2, 22w11a, 22w12a, 22w14a, 22w15a, ..., 1.20.2, 1.20.4, 24w12a, 24w13a, 1.21

24w33a

Retrieved