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

Details

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

    Description

      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"
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: