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

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 18w01a
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      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

              • Assignee:
                Unassigned
                Reporter:
                Lex305 Lex305
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: