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, updateSourceLevelcancelUpdate, func_227465_a_, func_227467_c_, needsUpdate, processUpdates, propagateLevel, queuedUpdateSize, scheduleUpdate, scheduleUpdateprotected final it.unimi.dsi.fastutil.longs.Long2ByteMap chunksInRange
protected final int range
protected int getLevel(long sectionPosIn)
getLevel in class LevelBasedGraphprotected void setLevel(long sectionPosIn,
int level)
setLevel in class LevelBasedGraphprotected void chunkLevelChanged(long chunkPosIn,
int oldLevel,
int newLevel)
protected int getSourceLevel(long pos)
getSourceLevel in class ChunkDistanceGraphprivate boolean hasPlayerInChunk(long chunkPosIn)
public void processAllUpdates()