类 DistanceManager.FixedPlayerDistanceChunkTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.DistanceManager.FixedPlayerDistanceChunkTracker
- 封闭类:
DistanceManager
-
字段概要
字段修饰符和类型字段说明protected final it.unimi.dsi.fastutil.longs.Long2ByteMap
protected final int
从类继承的字段 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
dumpChunks
(String p_143213_) protected int
getLevel
(long p_140901_) protected int
getLevelFromSource
(long p_140899_) private boolean
havePlayer
(long p_140903_) protected void
onLevelChange
(long p_140895_, int p_140896_, int p_140897_) void
protected void
setLevel
(long p_140893_, int p_140894_) 从类继承的方法 net.minecraft.server.level.ChunkTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
从类继承的方法 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdates
-
字段详细资料
-
chunks
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap chunks -
maxDistance
protected final int maxDistance
-
-
构造器详细资料
-
FixedPlayerDistanceChunkTracker
protected FixedPlayerDistanceChunkTracker(int p_140891_)
-
-
方法详细资料
-
getLevel
protected int getLevel(long p_140901_) - 指定者:
getLevel
在类中DynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long p_140893_, int p_140894_) - 指定者:
setLevel
在类中DynamicGraphMinFixedPoint
-
onLevelChange
protected void onLevelChange(long p_140895_, int p_140896_, int p_140897_) -
getLevelFromSource
protected int getLevelFromSource(long p_140899_) - 指定者:
getLevelFromSource
在类中ChunkTracker
-
havePlayer
private boolean havePlayer(long p_140903_) -
runAllUpdates
public void runAllUpdates() -
dumpChunks
-