类 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
- 封闭类:
PoiManager
-
字段概要
字段从类继承的字段 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
getLevel
(long p_27210_) protected int
getLevelFromSource
(long p_27208_) void
protected void
setLevel
(long p_27205_, int p_27206_) 从类继承的方法 net.minecraft.server.level.SectionTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, update
从类继承的方法 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, isSource, removeFromQueue, removeIf, runUpdates
-
字段详细资料
-
levels
private final it.unimi.dsi.fastutil.longs.Long2ByteMap levels
-
-
构造器详细资料
-
DistanceTracker
protected DistanceTracker()
-
-
方法详细资料
-
getLevelFromSource
protected int getLevelFromSource(long p_27208_) - 指定者:
getLevelFromSource
在类中SectionTracker
-
getLevel
protected int getLevel(long p_27210_) - 指定者:
getLevel
在类中DynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long p_27205_, int p_27206_) - 指定者:
setLevel
在类中DynamicGraphMinFixedPoint
-
runAllUpdates
public void runAllUpdates()
-