Klasse PendingUpdateManager1_18_2
java.lang.Object
net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
com.viaversion.viafabricplus.features.world.disable_sequencing.PendingUpdateManager1_18_2
- Alle implementierten Schnittstellen:
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.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidclose()intvoidendPredictionsUpTo(int maxProcessableSequence, net.minecraft.client.multiplayer.ClientLevel world) booleanvoidretainKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.player.LocalPlayer player) net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandlerbooleanupdateKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
Konstruktordetails
-
PendingUpdateManager1_18_2
public PendingUpdateManager1_18_2()
-
-
Methodendetails
-
retainKnownServerState
public void retainKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.client.player.LocalPlayer player) - Setzt außer Kraft:
retainKnownServerStatein Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
updateKnownServerState
public boolean updateKnownServerState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) - Setzt außer Kraft:
updateKnownServerStatein Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
endPredictionsUpTo
public void endPredictionsUpTo(int maxProcessableSequence, net.minecraft.client.multiplayer.ClientLevel world) - Setzt außer Kraft:
endPredictionsUpToin Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
startPredicting
public net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler startPredicting()- Setzt außer Kraft:
startPredictingin Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
close
public void close()- Angegeben von:
closein SchnittstelleAutoCloseable- Setzt außer Kraft:
closein Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
currentSequence
public int currentSequence()- Setzt außer Kraft:
currentSequencein Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-
isPredicting
public boolean isPredicting()- Setzt außer Kraft:
isPredictingin Klassenet.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
-