mojira.dev
MC-276600

The item_name component no longer overrides the names of colored shields and lodestone compasses

The item_name component no longer overrides the name of a shield with a base color or a lodestone compass. This worked prior to 24w36a.

The 24w37a changelog mentions that the item_name component now has the lowest priority, but as far as I know there is no workaround for this case other than using the custom_name component.

How to reproduce:

  1. Execute the following commands:

    /give @s minecraft:shield[minecraft:item_name='"Test"',minecraft:base_color=white]
    /give @s minecraft:compass[minecraft:item_name='"Test"',minecraft:lodestone_tracker={}]
  2. Look at the names of the items you were given.

Linked issues

Attachments

Comments 2

This also affects lodestone compasses and player heads

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Squid Eevee

(Unassigned)

Confirmed

Commands, Items

24w37a

Retrieved