    001    package net.minecraftforge.event.entity.player;
    002
    003    import net.minecraft.src.Entity;
    004    import net.minecraft.src.EntityPlayer;
    005    import net.minecraftforge.event.Cancelable;
    006
    007    @Cancelable
    008    public class AttackEntityEvent extends PlayerEvent
    009    {
    010        public final Entity target;
    011        public AttackEntityEvent(EntityPlayer player, Entity target)
    012        {
    013            super(player);
    014            this.target = target;
    015        }
    016    }