Disable all natural spawning
Use the cancellable EntityEvents.checkSpawn to cancel every vanilla or modded spawn attempt .
On a server‐side tick every 5 minutes
Hook LevelEvents.tick, check level.getDayTime() % 6000 === 0 (6000 ticks = 5 min) to run your custom spawn logic .
When a player stands on Coarse Dirt or Grass Block
Randomly pick one of these five groups:
nukacraft:radroach (spawn 5)
nukacraft:ant (spawn 5)
nukacraft:bloatfly (spawn 5)
nukacraft:molerat (spawn 5)
extinction:infected_bear (spawn 1)
Summon the chosen mob(s) in a ring 10–20 blocks away from the player.
When a player stands on Yuushya:Asphalt
Choose 5–8 mobs at random from:
extinction:runner_ii
extinction:stalker
extinction:parasite
extinction:patient_zero
extinction:infected_police
Summon them in a ring 10–20 blocks around the player.