How to find entities not being ridden
//ads -- adsterra.com -- native banner
?>
So I tried this:
/kill @e[type=ArmorStand,Passengers:[]]
It doesn't do anything. Am I doing this right?
Best Answer
As of Minecraft 1.13, target selectors do support NBT data, meaning that your command, after correcting a few syntax errors and updating it to the new version, would work:
/kill @e[type=armor_stand,nbt={Passengers:[]}]
Pictures about "How to find entities not being ridden"
6 Ways to Get Rid of a Negative Spirit or Entity That Has Attached Itself to You
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Lennart Wittstock, Monstera, Dziana Hasanbekava, Kamaji Ogino