类 SectionTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.SectionTracker
- 直接已知子类:
PoiManager.DistanceTracker
-
字段概要
从类继承的字段 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
checkNeighborsAfterUpdate
(long pPos, int pLevel, boolean pIsDecreasing) protected int
computeLevelFromNeighbor
(long pStartPos, long pEndPos, int pStartLevel) protected int
getComputedLevel
(long pPos, long pExcludedSourcePos, int pLevel) protected abstract int
getLevelFromSource
(long pPos) void
update
(long pPos, int pLevel, boolean pIsDecreasing) 从类继承的方法 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getLevel, getQueueSize, hasWork, isSource, removeFromQueue, removeIf, runUpdates, setLevel
-
构造器详细资料
-
SectionTracker
protected SectionTracker(int pFirstQueuedLevel, int pWidth, int pHeight)
-
-
方法详细资料
-
checkNeighborsAfterUpdate
protected void checkNeighborsAfterUpdate(long pPos, int pLevel, boolean pIsDecreasing) -
getComputedLevel
protected int getComputedLevel(long pPos, long pExcludedSourcePos, int pLevel) -
computeLevelFromNeighbor
protected int computeLevelFromNeighbor(long pStartPos, long pEndPos, int pStartLevel) -
getLevelFromSource
protected abstract int getLevelFromSource(long pPos) -
update
public void update(long pPos, int pLevel, boolean pIsDecreasing)
-