Package net.minecraft.server.level
Class LoadingChunkTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.LoadingChunkTracker
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DistanceManagerprivate static final intprivate final TicketStorageFields inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE -
Constructor Summary
ConstructorsConstructorDescriptionLoadingChunkTracker(DistanceManager distanceManager, TicketStorage ticketStorage) -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetLevel(long chunkPos) protected intgetLevelFromSource(long pos) intrunDistanceUpdates(int toUpdateCount) protected voidsetLevel(long chunkPos, int level) 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
-
MAX_LEVEL
private static final int MAX_LEVEL -
distanceManager
-
ticketStorage
-
-
Constructor Details
-
LoadingChunkTracker
-
-
Method Details
-
getLevelFromSource
protected int getLevelFromSource(long pos) - Specified by:
getLevelFromSourcein classChunkTracker
-
getLevel
protected int getLevel(long chunkPos) - Specified by:
getLevelin classDynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long chunkPos, int level) - Specified by:
setLevelin classDynamicGraphMinFixedPoint
-
runDistanceUpdates
public int runDistanceUpdates(int toUpdateCount)
-