WARNING: This event only fires for a limited number of cases, and not for every case that CreatureSpawnEvent does.
You should still listen to CreatureSpawnEvent as a backup, and only use this event as an "enhancement".
The intent of this event is to improve server performance, so it fires even if the spawning might fail later, for
example when the entity would be unable to spawn due to limited space or lighting.
Currently: NATURAL and SPAWNER based reasons. Please submit a Pull Request for future additions.
Also, Plugins that replace Entity Registrations with their own custom entities might not fire this event.
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event