类 LevelLightEngine
java.lang.Object
net.minecraft.world.level.lighting.LevelLightEngine
- 所有已实现的接口:
LightEventListener
- 直接已知子类:
ThreadedLevelLightEngine
-
字段概要
字段修饰符和类型字段说明private final LightEngine
<?, ?> static final LevelLightEngine
protected final LevelHeightAccessor
static final int
private final LightEngine
<?, ?> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
checkBlock
(BlockPos p_75823_) getDebugData
(LightLayer p_75817_, SectionPos p_75818_) getDebugSectionType
(LightLayer p_285008_, SectionPos p_285336_) getLayerListener
(LightLayer p_75815_) int
int
int
int
getRawBrightness
(BlockPos p_75832_, int p_75833_) boolean
boolean
lightOnInColumn
(long p_366813_) void
propagateLightSources
(ChunkPos p_284998_) void
queueSectionData
(LightLayer p_285328_, SectionPos p_284962_, DataLayer p_285035_) void
retainData
(ChunkPos p_75829_, boolean p_75830_) int
void
setLightEnabled
(ChunkPos p_285439_, boolean p_285012_) void
updateSectionStatus
(SectionPos p_75827_, boolean p_75828_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.level.lighting.LightEventListener
updateSectionStatus
-
字段详细资料
-
LIGHT_SECTION_PADDING
public static final int LIGHT_SECTION_PADDING- 另请参阅:
-
EMPTY
-
levelHeightAccessor
-
blockEngine
-
skyEngine
-
-
构造器详细资料
-
LevelLightEngine
-
LevelLightEngine
private LevelLightEngine()
-
-
方法详细资料
-
checkBlock
- 指定者:
checkBlock
在接口中LightEventListener
-
hasLightWork
public boolean hasLightWork()- 指定者:
hasLightWork
在接口中LightEventListener
-
runLightUpdates
public int runLightUpdates()- 指定者:
runLightUpdates
在接口中LightEventListener
-
updateSectionStatus
- 指定者:
updateSectionStatus
在接口中LightEventListener
-
setLightEnabled
- 指定者:
setLightEnabled
在接口中LightEventListener
-
propagateLightSources
- 指定者:
propagateLightSources
在接口中LightEventListener
-
getLayerListener
-
getDebugData
-
getDebugSectionType
public LayerLightSectionStorage.SectionType getDebugSectionType(LightLayer p_285008_, SectionPos p_285336_) -
queueSectionData
public void queueSectionData(LightLayer p_285328_, SectionPos p_284962_, @Nullable DataLayer p_285035_) -
retainData
-
getRawBrightness
-
lightOnInColumn
public boolean lightOnInColumn(long p_366813_) -
getLightSectionCount
public int getLightSectionCount() -
getMinLightSection
public int getMinLightSection() -
getMaxLightSection
public int getMaxLightSection()
-