PaperMC/paper-server/patches/sources/net/minecraft/server/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
..
ChunkHolder.java.patch MC Utils 2016-03-28 20:55:47 -04:00
ChunkMap.java.patch Don't check if we can see non-visible entities 2023-10-21 20:52:57 +01:00
DistanceManager.java.patch Don't crash if player is attempted to be removed from untracked chunk. 2020-04-18 15:59:41 -04:00
ServerChunkCache.java.patch Add debug for sync chunk loads 2019-07-19 03:29:14 -07:00
ServerEntity.java.patch Cache map ids on item frames 2023-08-07 12:58:28 +02:00
ServerLevel.java.patch Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
ServerPlayer.java.patch Fix slot desync 2023-08-23 13:22:09 -07:00
ServerPlayerGameMode.java.patch Add BlockFace to BlockDamageEvent 2023-08-21 04:36:07 +02:00
TicketType.java.patch MC Utils 2016-03-28 20:55:47 -04:00
WorldGenRegion.java.patch Fix async entity add due to fungus trees 2022-03-18 21:30:00 -07:00