public class TileInteractEvent extends Event
Tile is being interacted with, right
before its Tile.onInteractWith(IWorld, int, int, TileLayer, double,
double, AbstractEntityPlayer) method is called. Cancelling the event will
make the interaction not take place.| Modifier and Type | Field | Description |
|---|---|---|
TileLayer |
layer |
|
double |
mouseX |
|
double |
mouseY |
|
AbstractEntityPlayer |
player |
|
TileState |
state |
|
int |
x |
|
int |
y |
| Constructor | Description |
|---|---|
TileInteractEvent(AbstractEntityPlayer player,
TileState state,
TileLayer layer,
int x,
int y,
double mouseX,
double mouseY) |
public final AbstractEntityPlayer player
public final TileState state
public final TileLayer layer
public final int x
public final int y
public final double mouseX
public final double mouseY
public TileInteractEvent(AbstractEntityPlayer player, TileState state, TileLayer layer, int x, int y, double mouseX, double mouseY)