PaperMC/paper-server/patches/sources/net/minecraft/world
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
..
damagesource Add critical damage API 2021-07-26 17:32:36 +02:00
effect Fire EntityChangeBlockEvent in more places 2021-08-09 20:45:46 -07:00
entity Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
food EntityRegainHealthEvent isFastRegen API 2016-04-22 01:43:11 -05:00
inventory Add slot sanity checks in container clicks 2023-09-11 12:01:57 +10:00
item Add hand to fish event for all player interactions 2023-07-03 01:55:32 +02:00
level Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
scores Don't save empty scoreboard teams to scoreboard.dat 2016-05-07 23:33:08 -04:00
BossEvent.java.patch Adventure 2021-01-29 17:54:03 +01:00
CompoundContainer.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Container.java.patch Add missing InventoryHolders to inventories 2022-01-24 00:09:02 -08:00
RandomizableContainer.java.patch LootTable API and replenishable lootables 2016-05-01 21:19:14 -04:00
SimpleContainer.java.patch Fix inventories returning null Locations 2023-03-15 18:29:45 -07:00