Package net.minecraft.client.renderer
Class DestroyBlockProgress
- java.lang.Object
-
- net.minecraft.client.renderer.DestroyBlockProgress
-
- All Implemented Interfaces:
java.lang.Comparable<DestroyBlockProgress>
public class DestroyBlockProgress extends java.lang.Object implements java.lang.Comparable<DestroyBlockProgress>
-
-
Field Summary
Fields Modifier and Type Field Description private int
id
private BlockPos
pos
private int
progress
private int
updatedRenderTick
-
Constructor Summary
Constructors Constructor Description DestroyBlockProgress(int p_i45925_1_, BlockPos p_i45925_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DestroyBlockProgress p_compareTo_1_)
boolean
equals(java.lang.Object p_equals_1_)
BlockPos
getPos()
int
getProgress()
int
getUpdatedRenderTick()
int
hashCode()
void
setProgress(int p_73107_1_)
void
updateTick(int p_82744_1_)
-
-
-
Field Detail
-
id
private final int id
-
pos
private final BlockPos pos
-
progress
private int progress
-
updatedRenderTick
private int updatedRenderTick
-
-
Constructor Detail
-
DestroyBlockProgress
public DestroyBlockProgress(int p_i45925_1_, BlockPos p_i45925_2_)
-
-
Method Detail
-
getPos
public BlockPos getPos()
-
setProgress
public void setProgress(int p_73107_1_)
-
getProgress
public int getProgress()
-
updateTick
public void updateTick(int p_82744_1_)
-
getUpdatedRenderTick
public int getUpdatedRenderTick()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(DestroyBlockProgress p_compareTo_1_)
- Specified by:
compareTo
in interfacejava.lang.Comparable<DestroyBlockProgress>
-
-