    001package net.minecraftforge.event.entity.living;
    002
    003import net.minecraft.util.DamageSource;
    004import net.minecraft.entity.EntityLiving;
    005import net.minecraftforge.event.Cancelable;
    006
    007@Cancelable
    008public 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}