Armor Stand name is set but not detected by /testfor

Armor Stand name is set but not detected by /testfor - Products of personal hygiene for women on wooden stand

So, I have this command that spawns an armor stand (which should have an name of player):

summon armor_stand ~ ~1 ~ {ArmorItems:[{id:"minecraft:leather_boots",Count:1b,tag:{display:{color:4673362}},Damage:0s},{id:"minecraft:leather_leggings",Count:1b,tag:{display:{color:3949738}},Damage:0s},{id:"minecraft:leather_chestplate",Count:1b,tag:{display:{color:3847130}},Damage:0s},{id:"minecraft:skull",Count:1b,Damage:3s}],ShowArms:true,NoBasePlate:1b,name:player}

But when I spawn it I do this command:

 /testfor @e[type=Armor_Stand,name=player] {}

And it says it does not find anything. Anyone got an idea what's wrong?

Oh, and

 /testfor @e[type=Armor_Stand] {name:"player"}

didn't work too






Pictures about "Armor Stand name is set but not detected by /testfor"

Armor Stand name is set but not detected by /testfor - Wooden name tags arranged on table during wedding ceremony
Armor Stand name is set but not detected by /testfor - From above of porcelain dishware with napkin and wooden stand on served table during celebration
Armor Stand name is set but not detected by /testfor - From above crop anonymous female serving ceramic dinnerware and cutlery on weathered plank table in summer forest



How do you spawn a armor stand with your name?

How to Enter the Command
  • Open the Chat Window. The easiest way to run a command in Minecraft is within the chat window.
  • Type the Command. In this example, we are going to summon an armor stand in Minecraft Java Edition (PC/Mac) 1.14 with the following command: /summon armor_stand.


  • How do you spawn an invisible armor stand with a name?

    In Bedrock Edition, the pose of the armor stand can be changed by sneaking and clicking on the Pose, or by using a redstone signal.



    Armorstand Commands for 1.18 Minecraft!




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Karolina Grabowska, Arina Krasnikova, Skylar Kang, Rachel Claire