PaperMC/paper-server/patches/sources/net/minecraft/util
Aikar cad0c129c8 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 17:01:31 -05:00
..
datafix Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
thread MC Utils 2016-03-28 20:55:47 -04:00
worldupdate Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
SimpleBitStorage.java.patch Optimize DataBits 2016-04-05 21:38:58 -04:00
SortedArraySet.java.patch MC Dev fixes 2016-03-30 19:36:20 -04:00
SpawnUtil.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
TickThrottler.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ZeroBitStorage.java.patch Optimize DataBits 2016-04-05 21:38:58 -04:00