Package net.minecraft.server.level
Class ChunkTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
- Direct Known Subclasses:
DistanceManager.ChunkTicketTracker
,DistanceManager.FixedPlayerDistanceChunkTracker
-
Constructor Summary
ModifierConstructorDescriptionprotected
ChunkTracker(int p_140701_, int p_140702_, int p_140703_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkNeighborsAfterUpdate(long p_140707_, int p_140708_, boolean p_140709_)
protected int
computeLevelFromNeighbor(long p_140720_, long p_140721_, int p_140722_)
protected int
getComputedLevel(long p_140711_, long p_140712_, int p_140713_)
protected abstract int
getLevelFromSource(long p_140714_)
protected boolean
isSource(long p_140705_)
void
update(long p_140716_, int p_140717_, boolean p_140718_)
Methods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getLevel, getQueueSize, hasWork, queuedUpdateSize, removeFromQueue, removeIf, runUpdates, setLevel
-
Constructor Details
-
ChunkTracker
protected ChunkTracker(int p_140701_, int p_140702_, int p_140703_)
-
-
Method Details
-
isSource
protected boolean isSource(long p_140705_)- Specified by:
isSource
in classDynamicGraphMinFixedPoint
-
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long p_140707_, int p_140708_, boolean p_140709_)- Specified by:
checkNeighborsAfterUpdate
in classDynamicGraphMinFixedPoint
-
getComputedLevel
protected int getComputedLevel(long p_140711_, long p_140712_, int p_140713_)- Specified by:
getComputedLevel
in classDynamicGraphMinFixedPoint
-
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long p_140720_, long p_140721_, int p_140722_)- Specified by:
computeLevelFromNeighbor
in classDynamicGraphMinFixedPoint
-
getLevelFromSource
protected abstract int getLevelFromSource(long p_140714_) -
update
public void update(long p_140716_, int p_140717_, boolean p_140718_)
-