class TicketManager.PlayerChunkTracker extends ChunkDistanceGraph
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.longs.Long2ByteMap |
chunksInRange |
protected int |
range |
Modifier | Constructor and Description |
---|---|
protected |
PlayerChunkTracker(int p_i50684_2_) |
Modifier and Type | Method and Description |
---|---|
protected void |
chunkLevelChanged(long chunkPosIn,
int oldLevel,
int newLevel) |
protected int |
getLevel(long sectionPosIn) |
protected int |
getSourceLevel(long pos) |
private boolean |
hasPlayerInChunk(long chunkPosIn) |
void |
processAllUpdates() |
protected void |
setLevel(long sectionPosIn,
int level) |
computeLevel, getEdgeLevel, isRoot, notifyNeighbors, updateSourceLevel
cancelUpdate, func_227465_a_, func_227467_c_, needsUpdate, processUpdates, propagateLevel, queuedUpdateSize, scheduleUpdate, scheduleUpdate
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap chunksInRange
protected final int range
protected int getLevel(long sectionPosIn)
getLevel
in class LevelBasedGraph
protected void setLevel(long sectionPosIn, int level)
setLevel
in class LevelBasedGraph
protected void chunkLevelChanged(long chunkPosIn, int oldLevel, int newLevel)
protected int getSourceLevel(long pos)
getSourceLevel
in class ChunkDistanceGraph
private boolean hasPlayerInChunk(long chunkPosIn)
public void processAllUpdates()