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