Minecraft Command locks testfor everyone
I am working on my Zombie map when I wanted to add a mechanic so that when you die you go into spectator and get to watch your team fight. I have most aspects of the mechanic working but I encountered a problem: I want to make it so when everyone is in spectator the map resets. I do this by adding three command blocks to the mechanic one to testfor @a[m=3] and the others just send them to the reset mechanic. I used this in a test world and for some reason it doesn't test for ALL players, just if there are anyone in spectator mode. Is there a way to test for everyone?
Pictures about "Minecraft Command locks testfor everyone"



How do you do the Testfor command in Minecraft?
2. Type the CommandHow do you test players for blocks in Minecraft?
The /testfor command became obsolete in Minecraft 1.13, and has been replaced by the /execute command*. It will do the same as typing /testfor @e {SelectedItem:{id:"<item>"}} and then putting a comparator to the command block with the command, and then running the command which you wanna run.What replaced the Testfor command in Minecraft?
You can test whether there is a certain block at a specific location in the game using the /testforblock command in Minecraft....TestForBlock Command in Minecraft Java Edition (PC/Mac)Minecraft Redstone Tutorial | How to use testfor commands in MCPE!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ivan Babydov, Anete Lusina, Ivan Babydov, Ylanite Koppens
