public class EntityInteractEvent extends Event
Entity is taken,
right before its Entity.onInteractWith(AbstractEntityPlayer, double,
double) method is called. Cancelling the event will make the interaction not
take place.| Modifier and Type | Field | Description |
|---|---|---|
Entity |
entity |
|
AbstractEntityPlayer |
player |
|
double |
x |
|
double |
y |
| Constructor | Description |
|---|---|
EntityInteractEvent(AbstractEntityPlayer player,
Entity entity,
double x,
double y) |
public final AbstractEntityPlayer player
public final Entity entity
public final double x
public final double y
public EntityInteractEvent(AbstractEntityPlayer player, Entity entity, double x, double y)