Class BlockDestructionProgress

java.lang.Object
net.minecraft.server.level.BlockDestructionProgress
All Implemented Interfaces:
Comparable<BlockDestructionProgress>

public class BlockDestructionProgress extends Object implements Comparable<BlockDestructionProgress>
  • Field Details

    • id

      private final int id
    • pos

      private final BlockPos pos
    • progress

      private int progress
    • updatedRenderTick

      private int updatedRenderTick
  • Constructor Details

    • BlockDestructionProgress

      public BlockDestructionProgress(int p_139979_, BlockPos p_139980_)
  • Method Details

    • getId

      public int getId()
    • getPos

      public BlockPos getPos()
    • setProgress

      public void setProgress(int p_139982_)
    • getProgress

      public int getProgress()
    • updateTick

      public void updateTick(int p_139987_)
    • getUpdatedRenderTick

      public int getUpdatedRenderTick()
    • equals

      public boolean equals(Object p_139993_)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • compareTo

      public int compareTo(BlockDestructionProgress p_139984_)
      Specified by:
      compareTo in interface Comparable<BlockDestructionProgress>