@Environment(value=CLIENT) public class BlockBreakingInfo extends Object implements Comparable<BlockBreakingInfo>
Modifier and Type | Field and Description |
---|---|
private int |
actorNetworkId |
private int |
lastUpdateTick |
private BlockPos |
pos |
private int |
stage |
Constructor and Description |
---|
BlockBreakingInfo(int breakingEntityId,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BlockBreakingInfo blockBreakingInfo) |
boolean |
equals(Object object) |
int |
getLastUpdateTick() |
BlockPos |
getPos() |
int |
getStage() |
int |
hashCode() |
void |
setLastUpdateTick(int lastUpdateTick) |
void |
setStage(int stage) |
private final int actorNetworkId
private final BlockPos pos
private int stage
private int lastUpdateTick
public BlockBreakingInfo(int breakingEntityId, BlockPos pos)
public BlockPos getPos()
public void setStage(int stage)
public int getStage()
public void setLastUpdateTick(int lastUpdateTick)
public int getLastUpdateTick()
public int compareTo(BlockBreakingInfo blockBreakingInfo)
compareTo
in interface Comparable<BlockBreakingInfo>