2012-08-11 21:45:48 +00:00
|
|
|
package net.minecraftforge.event.entity.player;
|
|
|
|
|
2012-12-13 05:58:35 +00:00
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
2012-08-11 21:45:48 +00:00
|
|
|
import net.minecraftforge.event.Cancelable;
|
|
|
|
|
|
|
|
@Cancelable
|
|
|
|
public class EntityInteractEvent extends PlayerEvent
|
|
|
|
{
|
|
|
|
public final Entity target;
|
|
|
|
public EntityInteractEvent(EntityPlayer player, Entity target)
|
|
|
|
{
|
|
|
|
super(player);
|
|
|
|
this.target = target;
|
|
|
|
}
|
|
|
|
}
|