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