Package net.minecraft.server.level
Class BlockDestructionProgress
java.lang.Object
net.minecraft.server.level.BlockDestructionProgress
- All Implemented Interfaces:
Comparable<BlockDestructionProgress>
public class BlockDestructionProgress
extends Object
implements Comparable<BlockDestructionProgress>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final BlockPos
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(BlockDestructionProgress p_139984_) boolean
int
getId()
getPos()
int
int
int
hashCode()
void
setProgress
(int p_139982_) void
updateTick
(int p_139987_)
-
Field Details
-
id
private final int id -
pos
-
progress
private int progress -
updatedRenderTick
private int updatedRenderTick
-
-
Constructor Details
-
BlockDestructionProgress
-
-
Method Details
-
getId
public int getId() -
getPos
-
setProgress
public void setProgress(int p_139982_) -
getProgress
public int getProgress() -
updateTick
public void updateTick(int p_139987_) -
getUpdatedRenderTick
public int getUpdatedRenderTick() -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<BlockDestructionProgress>
-