PaperMC/paper-server/patches/sources/net/minecraft/world/entity
Aikar 0b77748b35 Fixes and additions to the spawn reason API
Expose an entities spawn reason on the entity.
Pre existing entities will return NATURAL if it was a non
persistenting Living Entity, SPAWNER for spawners,
or DEFAULT since data was not stored.

Additionally, add missing spawn reasons.

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Doc <nachito94@msn.com>
2019-03-24 00:24:52 -04:00
..
ai Prevent various interactions from causing chunk loads 2018-09-10 23:56:36 -04:00
ambient Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
animal Turtle API 2018-09-29 16:08:23 -05:00
boss EnderDragon Events 2018-07-21 01:51:27 -05:00
decoration Improve death events 2018-08-21 01:39:35 +01:00
item PlayerAttemptPickupItemEvent 2017-06-11 16:30:30 -05:00
monster force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
npc PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
player force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
projectile Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
raid Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
vehicle LootTable API and replenishable lootables 2016-05-01 21:19:14 -04: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
Entity.java.patch Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
EntitySelector.java.patch Configurable Player Collision 2016-04-13 02:10:49 -04:00
EntityType.java.patch Fixes and additions to the spawn reason API 2019-03-24 00:24:52 -04:00
ExperienceOrb.java.patch Fix NBT type issues 2018-08-03 00:04:54 -04:00
Interaction.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
ItemBasedSteering.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
Leashable.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LightningBolt.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
LivingEntity.java.patch force entity dismount during teleportation 2018-11-15 13:38:37 +00:00
Mob.java.patch Improve death events 2018-08-21 01:39:35 +01:00
NeutralMob.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01: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
TamableAnimal.java.patch Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00