-
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="
"]*
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.
- duplicates
-
MC-123774 You cannot test for names with name= anymore
- Resolved