Paper/paper-api
Aikar d1f7f3a5ae PreCreatureSpawnEvent
Adds an event to fire before an Entity is created, so that plugins that need to cancel
CreatureSpawnEvent can do so from this event instead.

Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste
as it's done after the Entity object has been fully created.

Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event
instead and save a lot of server resources.

See: https://github.com/PaperMC/Paper/issues/917
2018-01-14 16:59:43 -05:00
..
src PreCreatureSpawnEvent 2018-01-14 16:59:43 -05:00
.gitignore Convert project to Gradle 2020-12-10 20:50:33 -08:00
build.gradle.kts Allow plugins to use SLF4J for logging 2017-09-21 16:33:12 +02:00
LICENCE.txt We're GPL. 2011-01-02 10:57:42 +01:00