Package net.minecraft.server.level
Class DistanceManager.ChunkTicketTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.DistanceManager.ChunkTicketTracker
- Enclosing class:
DistanceManager
-
Field Summary
Fields inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getLevel
(long p_140885_) protected int
getLevelFromSource
(long p_140883_) int
runDistanceUpdates
(int p_140878_) protected void
setLevel
(long p_140880_, int p_140881_) Methods inherited from class net.minecraft.server.level.ChunkTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
Methods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdates
-
Field Details
-
MAX_LEVEL
private static final int MAX_LEVEL
-
-
Constructor Details
-
ChunkTicketTracker
public ChunkTicketTracker()
-
-
Method Details
-
getLevelFromSource
protected int getLevelFromSource(long p_140883_) - Specified by:
getLevelFromSource
in classChunkTracker
-
getLevel
protected int getLevel(long p_140885_) - Specified by:
getLevel
in classDynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long p_140880_, int p_140881_) - Specified by:
setLevel
in classDynamicGraphMinFixedPoint
-
runDistanceUpdates
public int runDistanceUpdates(int p_140878_)
-