Armor Stand Count all if Rotation is 0
1- Place Armor Stands in all 4 directions
[media]2- do /execute if entity @e[type=minecraft:armor_stand,nbt={Rotation:[0.0f,0.0f]}]
3- say Test passed, Count: 4
4- do /execute if entity @e[type=minecraft:armor_stand,nbt={Rotation:[90.0f,0.0f]}]
5- say Test passed, Count: 1
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-73887, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
This is a duplicate of MC-73887; the list checking ignores position, providing the same value multiple times has no effect, it sees all armor stands face the horizon (not up/down) that's why they're all found.
As a fix for your system, use y_rotation and x_rotation in the selector instead.