public class DestroyBlockProgress extends java.lang.Object implements java.lang.Comparable<DestroyBlockProgress>
Modifier and Type | Field and Description |
---|---|
private int |
createdAtCloudUpdateTick |
private int |
miningPlayerEntId |
private int |
partialBlockProgress |
private BlockPos |
position |
Constructor and Description |
---|
DestroyBlockProgress(int miningPlayerEntIdIn,
BlockPos positionIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DestroyBlockProgress p_compareTo_1_) |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getCreationCloudUpdateTick() |
int |
getPartialBlockDamage() |
BlockPos |
getPosition() |
int |
hashCode() |
void |
setCloudUpdateTick(int createdAtCloudUpdateTickIn) |
void |
setPartialBlockDamage(int damage) |
private final int miningPlayerEntId
private final BlockPos position
private int partialBlockProgress
private int createdAtCloudUpdateTick
public DestroyBlockProgress(int miningPlayerEntIdIn, BlockPos positionIn)
public BlockPos getPosition()
public void setPartialBlockDamage(int damage)
public int getPartialBlockDamage()
public void setCloudUpdateTick(int createdAtCloudUpdateTickIn)
public int getCreationCloudUpdateTick()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(DestroyBlockProgress p_compareTo_1_)
compareTo
in interface java.lang.Comparable<DestroyBlockProgress>