Hey guys so I made a game with my friends using lots of redstone. The concept is there are three waves and you need to kill all the mobs in each wave inside an arena.
Here is my question:
Is there a way to "scan" for mobs so once there are no mobs in the arena, you win the game and then there is a title which says "You win!"?
Hey guys so I made a game with my friends using lots of redstone. The concept is there are three waves and you need to kill all the mobs in each wave inside an arena.
Here is my question:
Is there a way to "scan" for mobs so once there are no mobs in the arena, you win the game and then there is a title which says "You win!"?
/testfor @e[type=!Player]
tests for everything that isnt a player but it wont work if there are any other entitys