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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckNeighborsAfterUpdate(long p_8280_, int p_8281_, boolean p_8282_)protected intcomputeLevelFromNeighbor(long p_8293_, long p_8294_, int p_8295_)protected intgetComputedLevel(long p_8284_, long p_8285_, int p_8286_)protected abstract intgetLevelFromSource(long p_8287_)protected booleanisSource(long p_8278_)voidupdate(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:
isSourcein classDynamicGraphMinFixedPoint
-
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long p_8280_, int p_8281_, boolean p_8282_)- Specified by:
checkNeighborsAfterUpdatein classDynamicGraphMinFixedPoint
-
getComputedLevel
protected int getComputedLevel(long p_8284_, long p_8285_, int p_8286_)- Specified by:
getComputedLevelin classDynamicGraphMinFixedPoint
-
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long p_8293_, long p_8294_, int p_8295_)- Specified by:
computeLevelFromNeighborin classDynamicGraphMinFixedPoint
-
getLevelFromSource
protected abstract int getLevelFromSource(long p_8287_) -
update
public void update(long p_8289_, int p_8290_, boolean p_8291_)
-