PaperMC/paper-server/patches/sources/net/minecraft/world/entity
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
..
ai Only erase allay memory on non-item targets 2023-08-04 15:53:36 +02:00
ambient Climbing should not bypass cramming gamerule 2020-08-23 20:59:00 +02:00
animal Fix several issues with EntityBreedEvent 2022-12-15 00:14:44 -08:00
boss Fire entity death event for ender dragon 2023-07-14 20:47:02 -04:00
decoration Cache map ids on item frames 2023-08-07 12:58:28 +02:00
item Don't use level random in entity constructors 2022-07-10 14:13:22 -07:00
monster Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
npc More vanilla friendly methods to update trades 2022-10-16 16:12:49 +02:00
player Flying Fall Damage 2022-05-27 02:26:08 -06:00
projectile Add hand to fish event for all player interactions 2023-07-03 01:55:32 +02:00
raid EntityPickupItemEvent fixes 2022-07-04 21:45:36 -07:00
vehicle Fix cmd permission levels for command blocks 2022-01-24 15:32:02 -08:00
AgeableMob.java.patch Honor EntityAgeable.ageLock 2018-09-23 20:59:53 -05:00
AreaEffectCloud.java.patch Entity Activation Range 2024-11-02 18:16:11 +11:00
ConversionParams.java.patch Add EntityZapEvent 2016-10-16 23:19:30 -07:00
ConversionType.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Display.java.patch Fix text display error on spawn 2023-03-16 16:27:50 +01:00
Entity.java.patch Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
EntitySelector.java.patch Ability to control player's insomnia and phantoms 2022-01-22 17:56:19 +01:00
EntityType.java.patch Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
ExperienceOrb.java.patch Expand PlayerItemMendEvent 2022-01-20 18:11:20 -08:00
Interaction.java.patch Fix advancement triggers for entity damage 2023-03-16 10:04:17 +01:00
ItemBasedSteering.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Leashable.java.patch Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
LightningBolt.java.patch Fix strikeLightningEffect powers lightning rods and clears copper 2023-09-30 12:36:14 +02:00
LivingEntity.java.patch Don't fire sync events during worldgen 2023-11-23 10:33:25 -08:00
Mob.java.patch Fix silent equipment change for mobs 2023-08-31 17:32:48 +02:00
NeutralMob.java.patch Prevent entity loading causing async lookups 2022-03-06 11:09:09 -05:00
OminousItemSpawner.java.patch Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
PathfinderMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Shearable.java.patch Add Shearable API 2021-10-17 15:39:48 -04:00
TamableAnimal.java.patch Add EntityToggleSitEvent 2022-03-11 15:33:10 +00:00