Class PendingUpdateManager1_18_2

java.lang.Object
net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
com.viaversion.viafabricplus.features.world.disable_sequencing.PendingUpdateManager1_18_2
All Implemented Interfaces:
AutoCloseable

public final class PendingUpdateManager1_18_2 extends net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
No-op implementation of BlockStatePredictionHandler for 1.18.2 and lower since those versions don't have the BlockStatePredictionHandler class.
  • Constructor Details

    • PendingUpdateManager1_18_2

      public PendingUpdateManager1_18_2()
  • Method Details

    • retainKnownServerState

      public void retainKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.player.LocalPlayer player)
      Overrides:
      retainKnownServerState in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • updateKnownServerState

      public boolean updateKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      Overrides:
      updateKnownServerState in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • endPredictionsUpTo

      public void endPredictionsUpTo(int maxProcessableSequence, net.minecraft.client.multiplayer.ClientLevel world)
      Overrides:
      endPredictionsUpTo in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • startPredicting

      public net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler startPredicting()
      Overrides:
      startPredicting in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • currentSequence

      public int currentSequence()
      Overrides:
      currentSequence in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
    • isPredicting

      public boolean isPredicting()
      Overrides:
      isPredicting in class net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler