PaperMC/paper-server/patches/sources/net/minecraft/world/entity/npc
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
..
AbstractVillager.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
InventoryCarrier.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Villager.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
VillagerTrades.java.patch Configurable Cartographer Treasure Maps 2016-12-20 15:26:27 -05:00
WanderingTrader.java.patch ExperienceOrbs API for Reason/Source/Triggering player 2017-12-19 16:31:46 -05:00
WanderingTraderSpawner.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00