类 SkyLightSectionStorage
java.lang.Object
net.minecraft.world.level.lighting.LayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
net.minecraft.world.level.lighting.SkyLightSectionStorage
public class SkyLightSectionStorage
extends LayerLightSectionStorage<SkyLightSectionStorage.SkyDataLayerStorageMap>
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.level.lighting.LayerLightSectionStorage
LayerLightSectionStorage.SectionState, LayerLightSectionStorage.SectionType
-
字段概要
从类继承的字段 net.minecraft.world.level.lighting.LayerLightSectionStorage
changedSections, chunkSource, hasInconsistencies, queuedSections, sectionsAffectedByLightUpdates, sectionStates, updatingSectionData, visibleSectionData
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected DataLayer
createDataLayer
(long p_75883_) protected int
protected int
getLightValue
(long p_75880_) protected int
getLightValue
(long p_164458_, boolean p_164459_) protected int
getTopSectionY
(long p_285094_) protected boolean
hasLightDataAtOrBelow
(int p_278270_) protected boolean
isAboveData
(long p_75891_) protected void
onNodeAdded
(long p_75885_) protected void
onNodeRemoved
(long p_75887_) private static DataLayer
repeatFirstLayer
(DataLayer p_182513_) 从类继承的方法 net.minecraft.world.level.lighting.LayerLightSectionStorage
getDataLayer, getDataLayer, getDataLayerData, getDataLayerToWrite, getDebugSectionType, getStoredLevel, hasInconsistencies, lightOnInColumn, lightOnInSection, markNewInconsistencies, markSectionAndNeighborsAsAffected, putSectionState, queueSectionData, retainData, setLightEnabled, setStoredLevel, storingLightForSection, swapSectionMap, updateSectionStatus
-
构造器详细资料
-
SkyLightSectionStorage
-
-
方法详细资料
-
getLightValue
protected int getLightValue(long p_75880_) -
getLightValue
protected int getLightValue(long p_164458_, boolean p_164459_) -
onNodeAdded
protected void onNodeAdded(long p_75885_) -
onNodeRemoved
protected void onNodeRemoved(long p_75887_) -
createDataLayer
-
repeatFirstLayer
-
hasLightDataAtOrBelow
protected boolean hasLightDataAtOrBelow(int p_278270_) -
isAboveData
protected boolean isAboveData(long p_75891_) -
getTopSectionY
protected int getTopSectionY(long p_285094_) -
getBottomSectionY
protected int getBottomSectionY()
-