Class BlockStatePredictionHandler

java.lang.Object
com.zenith.cache.data.chunk.BlockStatePredictionHandler
All Implemented Interfaces:
AutoCloseable

public class BlockStatePredictionHandler extends Object implements AutoCloseable
  • Constructor Details

    • BlockStatePredictionHandler

      public BlockStatePredictionHandler()
  • Method Details

    • retainKnownServerState

      public void retainKnownServerState(int posX, int posY, int posZ, int blockStateId, double playerX, double playerY, double playerZ)
    • updateKnownServerState

      public boolean updateKnownServerState(int posX, int posY, int posZ, int blockStateId)
    • endPredictionsUpTo

      public void endPredictionsUpTo(int sequence)
    • startPredicting

      public BlockStatePredictionHandler startPredicting()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • currentSequence

      public int currentSequence()
    • abortPrediction

      public void abortPrediction()
    • isPredicting

      public boolean isPredicting()