PaperMC/paper-server/patches/sources/net/minecraft/world/level/levelgen
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
..
feature Fix CocaoDecorator causing a crash when trying to generate without logs 2021-09-07 21:29:38 +01:00
structure Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
DensityFunctions.java.patch Significantly improve performance of the end generation 2020-11-03 23:48:05 -06:00
FlatLevelSource.java.patch Further Seed Customisation 2014-07-04 13:28:45 +10:00
NoiseBasedChunkGenerator.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
PatrolSpawner.java.patch Pillager patrol spawn settings and per player options 2020-02-01 16:50:39 +01:00
PhantomSpawner.java.patch Ability to control player's insomnia and phantoms 2022-01-22 17:56:19 +01:00