PaperMC/paper-server/patches/sources/net/minecraft/world/entity
Phoenix616 04afedcccf Improve death events
This adds the ability to cancel the death events and to modify the sound
an entity makes when dying. (In cases were no sound should it will be
called with shouldPlaySound set to false allowing unsilencing of silent
entities)

It makes handling of entity deaths a lot nicer as you no longer need
to listen on the damage event and calculate if the entity dies yourself
to cancel the death which has the benefit of also receiving the dropped
items and experience which is otherwise only properly possible by using
internal code.

== AT ==
public net.minecraft.world.entity.LivingEntity getDeathSound()Lnet/minecraft/sounds/SoundEvent;
public net.minecraft.world.entity.LivingEntity getSoundVolume()F
2018-08-21 01:39:35 +01:00
..
ai Add entity knockback events 2018-06-18 15:46:23 +02:00
ambient Remap CraftBukkit to Mojang+Yarn Mappings 2024-12-11 22:26:55 +01:00
animal Improve death events 2018-08-21 01:39:35 +01: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 Add PhantomPreSpawnEvent 2018-08-25 19:56:51 -05:00
npc PreCreatureSpawnEvent 2018-01-14 17:01:31 -05:00
player InventoryCloseEvent Reason API 2018-07-03 21:56:23 -04:00
projectile Vanished players don't have rights 2018-07-23 14:22:26 +02: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 Entity Activation Range 2024-11-02 18:16:11 +11: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 add more information to Entity.toString() 2018-07-19 01:13:28 -04:00
EntitySelector.java.patch Configurable Player Collision 2016-04-13 02:10:49 -04:00
EntityType.java.patch PreCreatureSpawnEvent 2018-01-14 17:01:31 -05: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 Improve death events 2018-08-21 01:39:35 +01: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
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