Class PoiManager.DistanceTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.SectionTracker
net.minecraft.world.entity.ai.village.poi.PoiManager.DistanceTracker
- Enclosing class:
- PoiManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getLevel(long p_27210_)
protected int
getLevelFromSource(long p_27208_)
void
protected void
setLevel(long p_27205_, int p_27206_)
Methods inherited from class net.minecraft.server.level.SectionTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
Methods inherited from class net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, queuedUpdateSize, removeFromQueue, removeIf, runUpdates
-
Field Details
-
levels
private final it.unimi.dsi.fastutil.longs.Long2ByteMap levels
-
-
Constructor Details
-
DistanceTracker
protected DistanceTracker()
-
-
Method Details
-
getLevelFromSource
protected int getLevelFromSource(long p_27208_)- Specified by:
getLevelFromSource
in classSectionTracker
-
getLevel
protected int getLevel(long p_27210_)- Specified by:
getLevel
in classDynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long p_27205_, int p_27206_)- Specified by:
setLevel
in classDynamicGraphMinFixedPoint
-
runAllUpdates
public void runAllUpdates()
-