I want to create a re-spawn system for the enemies in the different map areas. I could use a counter on a scoreboard with an armor stand as the entity but with all the areas I have in my map I think it would cause lag.
I want 5 zombies in an area of 20 block, the player comes and kills 2 of them. The player leaves. The system re-spawns the dead mobs making a total of 5 again.
I know how to test if the player left the area:
But what I don't know how to test for the minimum amount of enemies without a scoreboard i can't make it.
I tried the Count modifier in the selector but I realized that is not how it works. I tried something like this:
but it would activate when there was only 1.
In the end:
Is there a way too test for a minimum amount of mobs in a certain radius without a scoreboard?