public final class AddBreakProgressEvent extends Event
AbstractPlayerEntity is in the
process of breaking a tile. Note that this event is only fired on the client.
Changing any of the non-final variables will result in the progress being
modified. This event cannot be cancelled.| Modifier and Type | Field and Description |
|---|---|
TileLayer |
layer |
AbstractPlayerEntity |
player |
float |
progressAdded |
float |
totalProgress |
int |
x |
int |
y |
| Constructor and Description |
|---|
AddBreakProgressEvent(AbstractPlayerEntity player,
TileLayer layer,
int x,
int y,
float totalProgress,
float progressAdded) |
public final AbstractPlayerEntity player
public final TileLayer layer
public final int x
public final int y
public float totalProgress
public float progressAdded
public AddBreakProgressEvent(AbstractPlayerEntity player, TileLayer layer, int x, int y, float totalProgress, float progressAdded)