Trying to use command blocks to check if all mobs in an area have been killed.
Tried several commands, apparently my syntax is off, but no where can I find the proper usage.
How do I check to see if all mobs have been killed in a radius?
I've seen some solutions using an inverter, but I'd prefer to use command blocks for space, plus I also wanna learn how to use them.
Commands I've tried:
/testfor @e[type=PigZombie, x=1000, y= 125, z=941, !r=12]
/testfor @e[type=PigZombie, !(x=1000, y= 125, z=941, r=12)]
/testfor !@e[type=PigZombie, x=1000, y= 125, z=941, r=12]