    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 LivingAttackEvent extends LivingEvent
    009    {
    010        public final DamageSource source;
    011        public final int ammount;
    012        public LivingAttackEvent(EntityLiving entity, DamageSource source, int ammount)
    013        {
    014            super(entity);
    015            this.source = source;
    016            this.ammount = ammount;
    017        }
    018    }