类 BlockStatePredictionHandler
java.lang.Object
net.minecraft.client.multiplayer.prediction.BlockStatePredictionHandler
- 所有已实现的接口:
AutoCloseable
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private int
private boolean
private final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap
<BlockStatePredictionHandler.ServerVerifiedState> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
close()
int
void
endPredictionsUpTo
(int p_233857_, ClientLevel p_233858_) boolean
void
retainKnownServerState
(BlockPos p_233868_, BlockState p_233869_, LocalPlayer p_233870_) boolean
updateKnownServerState
(BlockPos p_233865_, BlockState p_233866_)
-
字段详细资料
-
serverVerifiedStates
private final it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<BlockStatePredictionHandler.ServerVerifiedState> serverVerifiedStates -
currentSequenceNr
private int currentSequenceNr -
isPredicting
private boolean isPredicting
-
-
构造器详细资料
-
BlockStatePredictionHandler
public BlockStatePredictionHandler()
-
-
方法详细资料
-
retainKnownServerState
-
updateKnownServerState
-
endPredictionsUpTo
-
startPredicting
-
close
public void close()- 指定者:
close
在接口中AutoCloseable
-
currentSequence
public int currentSequence() -
isPredicting
public boolean isPredicting()
-