类 DistanceManager.ChunkTicketTracker
java.lang.Object
net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
net.minecraft.server.level.ChunkTracker
net.minecraft.server.level.DistanceManager.ChunkTicketTracker
- 封闭类:
- DistanceManager
-
字段概要
字段从类继承的字段 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
levelCount, SOURCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
getLevel
(long pSectionPos) protected int
getLevelFromSource
(long pPos) int
runDistanceUpdates
(int pToUpdateCount) protected void
setLevel
(long pSectionPos, int pLevel) 从类继承的方法 net.minecraft.server.level.ChunkTracker
checkNeighborsAfterUpdate, computeLevelFromNeighbor, getComputedLevel, isSource, update
从类继承的方法 net.minecraft.world.level.lighting.DynamicGraphMinFixedPoint
checkEdge, checkNeighbor, checkNode, getQueueSize, hasWork, removeFromQueue, removeIf, runUpdates
-
字段详细资料
-
MAX_LEVEL
private static final int MAX_LEVEL
-
-
构造器详细资料
-
ChunkTicketTracker
public ChunkTicketTracker()
-
-
方法详细资料
-
getLevelFromSource
protected int getLevelFromSource(long pPos) - 指定者:
getLevelFromSource
在类中ChunkTracker
-
getLevel
protected int getLevel(long pSectionPos) - 指定者:
getLevel
在类中DynamicGraphMinFixedPoint
-
setLevel
protected void setLevel(long pSectionPos, int pLevel) - 指定者:
setLevel
在类中DynamicGraphMinFixedPoint
-
runDistanceUpdates
public int runDistanceUpdates(int pToUpdateCount)
-