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

JSON - Entity data problem with selector input

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13-pre9
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      I noticed a problem with JSON "selector" input when merging entity data, more specifically the entity's name. (Minecraft 1.13-pre9 version)

      At first, I managed to write a player's name on a sign (Block data.png image):

      /data merge block <x> <y> <z> {Text1:"

      {\"selector\":\"@p\",\"color\":\"blue\"}

      "}

      Then, I tried the exact same thing for an entity's name (Entity data.png image):

      /data merge entity <entity> {CustomName:"

      {\"selector\":\"@p\",\"color\":\"blue\"}

      ",CustomNameVisible:1}

      Instead of writing the player's name, it just wrote "@p", which is not normal.

        Attachments

        1. Block data.png
          Block data.png
          1.18 MB
        2. Entity data.png
          Entity data.png
          1.14 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              Frozix Arnaud Poletto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: