类 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 pSectionPos) protected int
protected int
getLightValue
(long pLevelPos) protected int
getLightValue
(long pPackedPos, boolean pUpdateAll) protected int
getTopSectionY
(long pSectionPos) protected boolean
hasLightDataAtOrBelow
(int pY) protected boolean
isAboveData
(long pSectionPos) protected void
onNodeAdded
(long pSectionPos) protected void
onNodeRemoved
(long pSectionPos) private static DataLayer
repeatFirstLayer
(DataLayer pDataLayer) 从类继承的方法 net.minecraft.world.level.lighting.LayerLightSectionStorage
getDataLayer, getDataLayer, getDataLayerData, getDataLayerToWrite, getDebugSectionType, getStoredLevel, hasInconsistencies, lightOnInSection, markNewInconsistencies, markSectionAndNeighborsAsAffected, putSectionState, queueSectionData, retainData, setLightEnabled, setStoredLevel, storingLightForSection, swapSectionMap, updateSectionStatus
-
构造器详细资料
-
SkyLightSectionStorage
-
-
方法详细资料
-
getLightValue
protected int getLightValue(long pLevelPos) -
getLightValue
protected int getLightValue(long pPackedPos, boolean pUpdateAll) -
onNodeAdded
protected void onNodeAdded(long pSectionPos) -
onNodeRemoved
protected void onNodeRemoved(long pSectionPos) -
createDataLayer
-
repeatFirstLayer
-
hasLightDataAtOrBelow
protected boolean hasLightDataAtOrBelow(int pY) -
isAboveData
protected boolean isAboveData(long pSectionPos) -
getTopSectionY
protected int getTopSectionY(long pSectionPos) -
getBottomSectionY
protected int getBottomSectionY()
-