    001    package net.minecraftforge.event.entity.living;
    002
    003    import net.minecraft.util.DamageSource;
    004    import net.minecraft.entity.EntityLiving;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class LivingDeathEvent extends LivingEvent
    009    {
    010        public final DamageSource source;
    011        public LivingDeathEvent(EntityLiving entity, DamageSource source)
    012        {
    013            super(entity);
    014            this.source = source;
    015        }
    016
    017    }