Started by
faketruthss
on
Topic category: Help with Minecraft modding (Java Edition)
so i have an idea where i want to make it where if u die u are set to spectator and once everyone dies on a certain team it would check to see if that team is all in spectator then it would kill the other team and then respawn them all at once in survival in a different place. if anyone knows how to achieve this please let me know
Under the "world" tab, there should be a "for each player in the wold as (entity iterator) do {your code}"