Package net.minecraft.village
Class PointOfInterestManager.DistanceGraph
- java.lang.Object
-
- net.minecraft.world.lighting.LevelBasedGraph
-
- net.minecraft.util.SectionDistanceGraph
-
- net.minecraft.village.PointOfInterestManager.DistanceGraph
-
- Enclosing class:
- PointOfInterestManager
final class PointOfInterestManager.DistanceGraph extends SectionDistanceGraph
-
-
Field Summary
Fields Modifier and Type Field Description private it.unimi.dsi.fastutil.longs.Long2ByteMap
levels
-
Constructor Summary
Constructors Modifier Constructor Description protected
DistanceGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getLevel(long p_215471_1_)
protected int
getLevelFromSource(long p_215516_1_)
void
runAllUpdates()
protected void
setLevel(long p_215476_1_, int p_215476_3_)
-
Methods inherited from class net.minecraft.util.SectionDistanceGraph
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
-
Methods inherited from class net.minecraft.world.lighting.LevelBasedGraph
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, queuedUpdateSize, removeFromQueue, removeIf, runUpdates
-
-
-
-
Method Detail
-
getLevelFromSource
protected int getLevelFromSource(long p_215516_1_)
- Specified by:
getLevelFromSource
in classSectionDistanceGraph
-
getLevel
protected int getLevel(long p_215471_1_)
- Specified by:
getLevel
in classLevelBasedGraph
-
setLevel
protected void setLevel(long p_215476_1_, int p_215476_3_)
- Specified by:
setLevel
in classLevelBasedGraph
-
runAllUpdates
public void runAllUpdates()
-
-