Package net.minecraft.world.chunk.light
Class SkyLightStorage
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.SectionDistanceLevelPropagator
net.minecraft.world.chunk.light.LightStorage<SkyLightStorage.Data>
net.minecraft.world.chunk.light.SkyLightStorage
- Mappings:
- Namespace - Name - official - dpp- intermediary - net/minecraft/class_3569- named - net/minecraft/world/chunk/light/SkyLightStorage
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final LongSetprivate final LongSetprivate booleanprivate static final Direction[]private final LongSetprivate final LongSetFields inherited from class net.minecraft.world.chunk.light.LightStoragedirtySections, EMPTY, field_31710, field_31711, field_31712, hasLightUpdates, markedNotReadySections, markedReadySections, notifySections, queuedSections, readySections, storage, uncachedStorage
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate static ChunkNibbleArraycopy(ChunkNibbleArray source) protected ChunkNibbleArraycreateSection(long sectionPos) private voidenqueueAddSection(long sectionPos) private voidenqueueRemoveSection(long sectionPos) protected intgetLight(long blockPos) protected intgetLight(long blockPos, boolean cached) protected booleanprotected booleanisAboveMinHeight(int sectionY) protected booleanisAtOrAboveTopmostSection(long sectionPos) protected booleanisSectionEnabled(long sectionPos) protected voidonLoadSection(long sectionPos) protected voidonUnloadSection(long sectionPos) protected voidsetColumnEnabled(long columnPos, boolean enabled) protected voidupdateLight(ChunkLightProvider<SkyLightStorage.Data, ?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation) Methods inherited from class net.minecraft.world.chunk.light.LightStorageenqueueSectionData, get, getInitialLevel, getLevel, getLightSection, getLightSection, getLightSection, hasSection, notifyChanges, removeSection, set, setLevel, setRetainColumn, setSectionStatus, updateAllMethods inherited from class net.minecraft.world.SectionDistanceLevelPropagatorgetPropagatedLevel, isMarker, propagateLevel, recalculateLevel, updateMethods inherited from class net.minecraft.world.chunk.light.LevelPropagatorapplyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, resetLevel, updateLevel
- 
Field Details- 
LIGHT_REDUCTION_DIRECTIONS- Mappings:
- Namespace - Name - Mixin selector - official - n- Ldpp;n:[Lgy;- intermediary - field_15818- Lnet/minecraft/class_3569;field_15818:[Lnet/minecraft/class_2350;- named - LIGHT_REDUCTION_DIRECTIONS- Lnet/minecraft/world/chunk/light/SkyLightStorage;LIGHT_REDUCTION_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
 
- 
field_15820- Mappings:
- Namespace - Name - Mixin selector - official - o- Ldpp;o:Lit/unimi/dsi/fastutil/longs/LongSet;- intermediary - field_15820- Lnet/minecraft/class_3569;field_15820:Lit/unimi/dsi/fastutil/longs/LongSet;- named - field_15820- Lnet/minecraft/world/chunk/light/SkyLightStorage;field_15820:Lit/unimi/dsi/fastutil/longs/LongSet;
 
- 
sectionsToUpdate- Mappings:
- Namespace - Name - Mixin selector - official - p- Ldpp;p:Lit/unimi/dsi/fastutil/longs/LongSet;- intermediary - field_15815- Lnet/minecraft/class_3569;field_15815:Lit/unimi/dsi/fastutil/longs/LongSet;- named - sectionsToUpdate- Lnet/minecraft/world/chunk/light/SkyLightStorage;sectionsToUpdate:Lit/unimi/dsi/fastutil/longs/LongSet;
 
- 
sectionsToRemove- Mappings:
- Namespace - Name - Mixin selector - official - q- Ldpp;q:Lit/unimi/dsi/fastutil/longs/LongSet;- intermediary - field_15816- Lnet/minecraft/class_3569;field_15816:Lit/unimi/dsi/fastutil/longs/LongSet;- named - sectionsToRemove- Lnet/minecraft/world/chunk/light/SkyLightStorage;sectionsToRemove:Lit/unimi/dsi/fastutil/longs/LongSet;
 
- 
enabledColumns- Mappings:
- Namespace - Name - Mixin selector - official - r- Ldpp;r:Lit/unimi/dsi/fastutil/longs/LongSet;- intermediary - field_15817- Lnet/minecraft/class_3569;field_15817:Lit/unimi/dsi/fastutil/longs/LongSet;- named - enabledColumns- Lnet/minecraft/world/chunk/light/SkyLightStorage;enabledColumns:Lit/unimi/dsi/fastutil/longs/LongSet;
 
- 
hasUpdatesprivate volatile boolean hasUpdates- Mappings:
- Namespace - Name - Mixin selector - official - s- Ldpp;s:Z- intermediary - field_15819- Lnet/minecraft/class_3569;field_15819:Z- named - hasUpdates- Lnet/minecraft/world/chunk/light/SkyLightStorage;hasUpdates:Z
 
 
- 
- 
Constructor Details- 
SkyLightStorage- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldpp;<init>(Lcxv;)V- intermediary - <init>- Lnet/minecraft/class_3569;<init>(Lnet/minecraft/class_2823;)V- named - <init>- Lnet/minecraft/world/chunk/light/SkyLightStorage;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
 
 
- 
- 
Method Details- 
getLightprotected int getLight(long blockPos) - Specified by:
- getLightin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - d- Ldpl;d(J)I- intermediary - method_15538- Lnet/minecraft/class_3560;method_15538(J)I- named - getLight- Lnet/minecraft/world/chunk/light/LightStorage;getLight(J)I
 
- 
getLightprotected int getLight(long blockPos, boolean cached) - Mappings:
- Namespace - Name - Mixin selector - official - e- Ldpp;e(JZ)I- intermediary - method_31931- Lnet/minecraft/class_3569;method_31931(JZ)I- named - getLight- Lnet/minecraft/world/chunk/light/SkyLightStorage;getLight(JZ)I
 
- 
onLoadSectionprotected void onLoadSection(long sectionPos) - Overrides:
- onLoadSectionin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - k- Ldpl;k(J)V- intermediary - method_15523- Lnet/minecraft/class_3560;method_15523(J)V- named - onLoadSection- Lnet/minecraft/world/chunk/light/LightStorage;onLoadSection(J)V
 
- 
enqueueRemoveSectionprivate void enqueueRemoveSection(long sectionPos) - Mappings:
- Namespace - Name - Mixin selector - official - o- Ldpp;o(J)V- intermediary - method_20809- Lnet/minecraft/class_3569;method_20809(J)V- named - enqueueRemoveSection- Lnet/minecraft/world/chunk/light/SkyLightStorage;enqueueRemoveSection(J)V
 
- 
enqueueAddSectionprivate void enqueueAddSection(long sectionPos) - Mappings:
- Namespace - Name - Mixin selector - official - p- Ldpp;p(J)V- intermediary - method_20810- Lnet/minecraft/class_3569;method_20810(J)V- named - enqueueAddSection- Lnet/minecraft/world/chunk/light/SkyLightStorage;enqueueAddSection(J)V
 
- 
checkForUpdatesprivate void checkForUpdates()- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldpp;f()V- intermediary - method_15569- Lnet/minecraft/class_3569;method_15569()V- named - checkForUpdates- Lnet/minecraft/world/chunk/light/SkyLightStorage;checkForUpdates()V
 
- 
onUnloadSectionprotected void onUnloadSection(long sectionPos) - Overrides:
- onUnloadSectionin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - l- Ldpl;l(J)V- intermediary - method_15534- Lnet/minecraft/class_3560;method_15534(J)V- named - onUnloadSection- Lnet/minecraft/world/chunk/light/LightStorage;onUnloadSection(J)V
 
- 
setColumnEnabledprotected void setColumnEnabled(long columnPos, boolean enabled) - Overrides:
- setColumnEnabledin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldpl;b(JZ)V- intermediary - method_15535- Lnet/minecraft/class_3560;method_15535(JZ)V- named - setColumnEnabled- Lnet/minecraft/world/chunk/light/LightStorage;setColumnEnabled(JZ)V
 
- 
hasLightUpdatesprotected boolean hasLightUpdates()- Overrides:
- hasLightUpdatesin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldpl;a()Z- intermediary - method_15528- Lnet/minecraft/class_3560;method_15528()Z- named - hasLightUpdates- Lnet/minecraft/world/chunk/light/LightStorage;hasLightUpdates()Z
 
- 
createSection- Overrides:
- createSectionin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - j- Ldpl;j(J)Lcxo;- intermediary - method_15529- Lnet/minecraft/class_3560;method_15529(J)Lnet/minecraft/class_2804;- named - createSection- Lnet/minecraft/world/chunk/light/LightStorage;createSection(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
 
- 
copy- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldpp;a(Lcxo;)Lcxo;- intermediary - method_37460- Lnet/minecraft/class_3569;method_37460(Lnet/minecraft/class_2804;)Lnet/minecraft/class_2804;- named - copy- Lnet/minecraft/world/chunk/light/SkyLightStorage;copy(Lnet/minecraft/world/chunk/ChunkNibbleArray;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
 
- 
updateLightprotected void updateLight(ChunkLightProvider<SkyLightStorage.Data, ?> lightProvider, boolean doSkylight, boolean skipEdgeLightPropagation) - Overrides:
- updateLightin class- LightStorage<SkyLightStorage.Data>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldpl;a(Ldpj;ZZ)V- intermediary - method_15527- Lnet/minecraft/class_3560;method_15527(Lnet/minecraft/class_3558;ZZ)V- named - updateLight- Lnet/minecraft/world/chunk/light/LightStorage;updateLight(Lnet/minecraft/world/chunk/light/ChunkLightProvider;ZZ)V
 
- 
isAboveMinHeightprotected boolean isAboveMinHeight(int sectionY) - Mappings:
- Namespace - Name - Mixin selector - official - a- Ldpp;a(I)Z- intermediary - method_15567- Lnet/minecraft/class_3569;method_15567(I)Z- named - isAboveMinHeight- Lnet/minecraft/world/chunk/light/SkyLightStorage;isAboveMinHeight(I)Z
 
- 
isAtOrAboveTopmostSectionprotected boolean isAtOrAboveTopmostSection(long sectionPos) - Mappings:
- Namespace - Name - Mixin selector - official - m- Ldpp;m(J)Z- intermediary - method_15568- Lnet/minecraft/class_3569;method_15568(J)Z- named - isAtOrAboveTopmostSection- Lnet/minecraft/world/chunk/light/SkyLightStorage;isAtOrAboveTopmostSection(J)Z
 
- 
isSectionEnabledprotected boolean isSectionEnabled(long sectionPos) - Mappings:
- Namespace - Name - Mixin selector - official - n- Ldpp;n(J)Z- intermediary - method_15566- Lnet/minecraft/class_3569;method_15566(J)Z- named - isSectionEnabled- Lnet/minecraft/world/chunk/light/SkyLightStorage;isSectionEnabled(J)Z
 
 
-