I am working on a gamemode and I just made a spawner entity. I am wondering how I can make that spawner track the entities that it has spawned so that if one disappeared/dies it knows it can spawn another one.
An example would be:
A zombie spawner, since you don’t want the spawner endlessly spawning, you would put a limit on how many it can spawn at a time. How can I make the spawner track the zombies it has spawned and if one dies it can spawn another.
Thanks.