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