13
0
geforkt von Mirrors/Paper
Paper/paper-server/patches/sources/net/minecraft/world/level
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
..
block API to get a BlockState without a snapshot 2017-11-06 21:08:22 -05:00
border Bound Treasure Maps to World Border 2016-12-20 15:15:11 -05:00
chunk Bound Treasure Maps to World Border 2016-12-20 15:15:11 -05:00
dimension/end Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
entity MC Utils 2016-03-28 20:55:47 -04:00
gameevent Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
levelgen CB fixes 2022-02-25 07:14:48 -08:00
material Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
pathfinder Do not load chunks for Pathfinding 2016-03-31 19:17:58 -04:00
portal Add configurable portal search radius 2016-03-03 02:46:17 -06:00
redstone Prevent NoClassDefError crash and notify on crash 2014-04-21 12:43:08 +01:00
saveddata/maps Adventure 2021-01-29 17:54:03 +01:00
storage Configurable Cartographer Treasure Maps 2016-12-20 15:26:27 -05:00
BaseCommandBlock.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
BaseSpawner.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
BlockGetter.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ChunkPos.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ClipContext.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
EmptyBlockGetter.java.patch MC Utils 2016-03-28 20:55:47 -04:00
EntityGetter.java.patch Player affects spawning API 2016-03-01 14:47:52 -06:00
GameRules.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Level.java.patch use CB BlockState implementations for captured blocks 2017-11-16 12:12:41 +00:00
LevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LevelReader.java.patch MC Utils 2016-03-28 20:55:47 -04:00
LevelWriter.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
NaturalSpawner.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
PathNavigationRegion.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ServerExplosion.java.patch Disable explosion knockback 2016-03-02 14:48:03 -06:00
ServerLevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00