The map I am making is a map where you need to defend a castle, there are gonna be 10 waves and each wave gets harder and harder...the issue is, I don't know how to make it detect when the wave is over to start another. The mobs I summon are all custom. Also there are a lot of different types of mob. I am running 1.12.2 and was wondering if anyone could help.
This would become significantly easier in 1.13.2, using the execute command's unless feature.
To do this in 1.12.2, I would suggest using the /testfor command for testing for these mobs. Give every mob in the wave a tag.
Then, you can run a comparator output out of the testfor command block, and then invert it using a redstone torch. The redstone torch will turn on if the testfor command does not find any mobs with the tag.
The map I am making is a map where you need to defend a castle, there are gonna be 10 waves and each wave gets harder and harder...the issue is, I don't know how to make it detect when the wave is over to start another. The mobs I summon are all custom. Also there are a lot of different types of mob. I am running 1.12.2 and was wondering if anyone could help.
dear Spiralio i had made a custom wave system all working functioning map i will be telling you when its out thank you for messaging us i will be giving the map for free to download when its completly done you can make the map customizable for you can also change the map theme too if you want
The map I am making is a map where you need to defend a castle, there are gonna be 10 waves and each wave gets harder and harder...the issue is, I don't know how to make it detect when the wave is over to start another. The mobs I summon are all custom. Also there are a lot of different types of mob. I am running 1.12.2 and was wondering if anyone could help.
This would become significantly easier in 1.13.2, using the execute command's unless feature.
To do this in 1.12.2, I would suggest using the /testfor command for testing for these mobs. Give every mob in the wave a tag.
Then, you can run a comparator output out of the testfor command block, and then invert it using a redstone torch. The redstone torch will turn on if the testfor command does not find any mobs with the tag.
You can count the mobs in the area by doing:
now "counter" will contain the number of custom mobs.
if the count is 0, start the next wave and reset the counter,
Command block engineer // Developer // #TeamTrees
dear Spiralio i had made a custom wave system all working functioning map i will be telling you when its out thank you for messaging us i will be giving the map for free to download when its completly done you can make the map customizable for you can also change the map theme too if you want