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.Long2ByteMaplevels
-
Constructor Summary
Constructors Modifier Constructor Description protectedDistanceGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetLevel(long p_215471_1_)protected intgetLevelFromSource(long p_215516_1_)voidrunAllUpdates()protected voidsetLevel(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:
getLevelFromSourcein classSectionDistanceGraph
-
getLevel
protected int getLevel(long p_215471_1_)
- Specified by:
getLevelin classLevelBasedGraph
-
setLevel
protected void setLevel(long p_215476_1_, int p_215476_3_)- Specified by:
setLevelin classLevelBasedGraph
-
runAllUpdates
public void runAllUpdates()
-
-