Package net.minecraft.server.level
Class DistanceManager.FixedPlayerDistanceChunkTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.DistanceManager.FixedPlayerDistanceChunkTracker
- Direct Known Subclasses:
 DistanceManager.PlayerTicketTracker
- Enclosing class:
 - DistanceManager
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.longs.Long2ByteMapprotected final intFields inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprivate voiddumpChunks(String p_143213_) protected intgetLevel(long p_140901_) protected intgetLevelFromSource(long p_140899_) private booleanhavePlayer(long p_140903_) protected voidonLevelChange(long p_140895_, int p_140896_, int p_140897_) voidprotected voidsetLevel(long p_140893_, int p_140894_) Methods inherited from class net.minecraft.server.level.ChunkTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, updateMethods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdates 
- 
Field Details
- 
chunks
protected final it.unimi.dsi.fastutil.longs.Long2ByteMap chunks - 
maxDistance
protected final int maxDistance 
 - 
 - 
Constructor Details
- 
FixedPlayerDistanceChunkTracker
protected FixedPlayerDistanceChunkTracker(int p_140891_)  
 - 
 - 
Method Details
- 
getLevel
protected int getLevel(long p_140901_) - Specified by:
 getLevelin classDynamicGraphMinFixedPoint
 - 
setLevel
protected void setLevel(long p_140893_, int p_140894_) - Specified by:
 setLevelin classDynamicGraphMinFixedPoint
 - 
onLevelChange
protected void onLevelChange(long p_140895_, int p_140896_, int p_140897_)  - 
getLevelFromSource
protected int getLevelFromSource(long p_140899_) - Specified by:
 getLevelFromSourcein classChunkTracker
 - 
havePlayer
private boolean havePlayer(long p_140903_)  - 
runAllUpdates
public void runAllUpdates() - 
dumpChunks
 
 -