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

Item, entity, block, team, and objective display names must be valid JSON text components

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 18w01a
    • Unconfirmed

      Mod Notice

      Name, CustomName, Lore, and team/objective display names use JSON text components now, just like /tellraw and /title. The format changed a bit, but you can use colors, formatting, and translations now.

      1.12

      /summon cow ~ ~ ~ {CustomName:"example"}
      /team add example Example
      

      1.13+

      /summon cow ~ ~ ~ {CustomName:"{\"text\":\"example\"}"}
      /team add example "Example"
      

            Unassigned Unassigned
            Lex305 Leximon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: