PaperMC/paper-server/patches/sources/net/minecraft
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
..
advancements Lazily create LootContext for criterions 2023-11-21 12:16:39 -03:00
commands Fix cmd permission levels for command blocks 2022-01-24 15:32:02 -08:00
core Call missing BlockDispenseEvent 2022-10-29 15:41:56 +02:00
nbt Reduce memory footprint of CompoundTag 2020-04-06 17:39:25 -07:00
network Optimize VarInts 2023-10-28 19:46:21 -04:00
resources Sanitize ResourceLocation error logging 2021-08-26 12:09:47 +02:00
server Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
stats Fix spigot's Forced-Stats 2023-08-28 01:32:39 +01:00
util Validate usernames 2022-01-01 05:19:37 -08:00
world Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
ChatFormatting.java.patch Adventure 2021-01-29 17:54:03 +01:00
CrashReport.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
CrashReportCategory.java.patch Deobfuscate stacktraces in log messages, crash reports, and etc. 2021-06-20 18:19:09 -07:00
Util.java.patch Remove client-side code using deprecated for removal AccessController 2021-11-26 15:09:58 -08:00