public class DestroyBlockProgress
extends java.lang.Object
Constructor and Description |
---|
DestroyBlockProgress(int miningPlayerEntIdIn,
BlockPos positionIn) |
Modifier and Type | Method and Description |
---|---|
int |
getCreationCloudUpdateTick()
retrieves the 'date' at which the PartiallyDestroyedBlock was created
|
int |
getPartialBlockDamage() |
BlockPos |
getPosition() |
void |
setCloudUpdateTick(int createdAtCloudUpdateTickIn)
saves the current Cloud update tick into the PartiallyDestroyedBlock
|
void |
setPartialBlockDamage(int damage)
inserts damage value into this partially destroyed Block. -1 causes client renderer to delete it, otherwise
ranges from 1 to 10
|
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()