Does any know how the LivingSpawnEvent.CheckEvent actually works, in the code it has this
/**
* Fires before mob spawn events.
*
* Result is significant:
* DEFAULT: use vanilla spawn rules
* ALLOW: allow the spawn
* DENY: deny the spawn
*
*/
sounds like what I'm after but it doesn't work, as in mobs continue to spawn like normal, is this a bug, or am i using it wrong?
println confirms that it is being called, but it doesn't deny any spawns.