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

'name' entity selector is not working properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 18w01a
    • None
    • Windows 10 (latest update), Java 8 (latest update)
    • Unconfirmed

      The entity selector 'name' (eg: "@e[type=creeper,name=creepy]") is unable to find any entities when used, even if that entity exists.

      Discovery: While messing around with the new "facing" command, I created an armor stand named "spawner" (using the command */summon minecraft:armor_stand ~ ~ ~ {CustomName:"

      {\"text\":\"spawner\"}

      "}* to spawn prototype surface-to-air missiles. When I went to test if an objective I had created was working, the command /scoreboard players add @e[type=armor_stand,name=spawner] spawn 1 returned "No entity was found." I used the command */data merge entity @e[type=armor_stand,limit=1]

      {CustomNameVisible:1b}

      * to ensure that the armor stand was actually named "spawner".

      Intrigued, I tried a series of commands to try to get the selector functional.
      /say @e[name=spawner]
      /say @e[name="spawner"]
      */say @e[name="

      {\"text\":\"spawner\"}

      "]*
      None of them worked.

      I then opened up a brand new untouched world and tried the same thing, and still nothing. This is a major bug as this feature is key to any command system with more than a couple of commands.

      I was unable to find any duplicates for this bug, so I apologize in advance if there are. Also, the formatting for the commands got severely messed up by the forum software, so they might be hard to read.

            Unassigned Unassigned
            FiveTickDelay Timothy Lawrence
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: