PaperMC/paper-server/patches/sources/net/minecraft/world/level
Jake Potrebic fff5d44a12 Don't fire sync events during worldgen
Fixes EntityPotionEffectEvent
Fixes EntityPoseChangeEvent

Asynchronous chunk generation provides an opportunity for things
to happen async that previously fired synchronous-only events. This
patch is for mitigating those issues by various methods.

Also fixes correctly marking/clearing the entity generation flag.
This patch sets the generation flag anytime an entity is created
via StructureTemplate before loading from NBT to catch uses of
the flag during the loading logic. This patch clears the generation
flag from an entity when added to a ServerLevel for the situation
where generation happened directly to a ServerLevel and the
entity still has the flag set.
2023-11-23 10:33:25 -08:00
..
biome Optimize Biome Mob Lookups for Mob Spawning 2018-09-12 21:47:01 -04:00
block Fix NPE in SculkBloomEvent world access 2023-10-20 19:50:22 +02:00
border Add worldborder events 2021-01-04 22:40:34 -08:00
chunk Fix race condition on UpgradeData.BlockFixers class init 2023-08-08 17:29:33 -07:00
dimension/end Do crystal-portal proximity check before entity lookup 2023-08-15 21:04:55 +02:00
entity Improve and expand AsyncCatcher 2021-08-25 20:17:12 -07:00
gameevent fix MapLike spam for missing key 'selector' 2023-06-14 13:17:40 -07:00
levelgen Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
material Determine lava and water fluid explosion resistance by their block explosion resistance 2023-07-13 21:32:13 +01:00
pathfinder Mob Pathfinding API 2018-09-09 13:30:00 -04:00
portal Fix a bunch of vanilla bugs 2022-07-11 11:56:41 -07:00
redstone Call BlockRedstoneEvents properly 2023-09-13 05:46:10 +02:00
saveddata/maps Limit item frame cursors on maps 2021-05-26 15:09:33 -07:00
storage Preserve overstacked loot 2021-06-21 23:21:58 -04:00
BaseCommandBlock.java.patch Don't broadcast messages to command blocks 2022-06-16 14:22:56 -07:00
BaseSpawner.java.patch Ignore impossible spawn tick 2022-02-12 23:42:48 +08:00
BlockGetter.java.patch Add predicate for blocks when raytracing 2023-09-06 19:24:16 -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 check global player list where appropriate 2022-11-22 13:16:01 -08:00
GameRules.java.patch Use array for gamerule storage 2021-05-09 16:49:49 -05:00
Level.java.patch Fix block place logic 2023-04-03 18:46:49 +02: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 Add '/paper mobcaps' and '/paper playermobcaps' 2021-08-16 01:31:54 -05:00
PathNavigationRegion.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ServerExplosion.java.patch Prevent headless pistons from being created 2020-08-14 14:44:14 -05:00
ServerLevelAccessor.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
StructureManager.java.patch Fix swamp hut cat generation deadlock 2022-03-12 06:31:13 -08:00