Package net.minecraft.server.level
Class SectionTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.SectionTracker
- Direct Known Subclasses:
LayerLightSectionStorage
,PoiManager.DistanceTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkNeighborsAfterUpdate(long p_8280_, int p_8281_, boolean p_8282_)
protected int
computeLevelFromNeighbor(long p_8293_, long p_8294_, int p_8295_)
protected int
getComputedLevel(long p_8284_, long p_8285_, int p_8286_)
protected abstract int
getLevelFromSource(long p_8287_)
protected boolean
isSource(long p_8278_)
void
update(long p_8289_, int p_8290_, boolean p_8291_)
Methods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getLevel, getQueueSize, hasWork, queuedUpdateSize, removeFromQueue, removeIf, runUpdates, setLevel
-
Constructor Details
-
SectionTracker
protected SectionTracker(int p_8274_, int p_8275_, int p_8276_)
-
-
Method Details
-
isSource
protected boolean isSource(long p_8278_)- Specified by:
isSource
in classDynamicGraphMinFixedPoint
-
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long p_8280_, int p_8281_, boolean p_8282_)- Specified by:
checkNeighborsAfterUpdate
in classDynamicGraphMinFixedPoint
-
getComputedLevel
protected int getComputedLevel(long p_8284_, long p_8285_, int p_8286_)- Specified by:
getComputedLevel
in classDynamicGraphMinFixedPoint
-
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long p_8293_, long p_8294_, int p_8295_)- Specified by:
computeLevelFromNeighbor
in classDynamicGraphMinFixedPoint
-
getLevelFromSource
protected abstract int getLevelFromSource(long p_8287_) -
update
public void update(long p_8289_, int p_8290_, boolean p_8291_)
-