Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-278055

Storage text component does not work on item name and lore

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.21.3
    • None
    • Unconfirmed
    • (Unassigned)

      When using storage as text component for custom_name, item_name or lore of an item, it will show nothing.

       

      For example:

      /data modify storage test test set value 123

      /tellraw @s {"storage":"test","nbt":"test"}

      /give @s diamond[custom_name='\{"storage":"test","nbt":"test"}']

       

      The second command will output 123 in chat, but the third one will give you a diamond with an empty string, where in theory you should get a diamond with custom name "123".

            Unassigned Unassigned
            akastrmix akastrmix
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: