Package net.minecraft.world.chunk.light
Class SkyLightStorage
java.lang.Object
net.minecraft.world.chunk.light.LightStorage<SkyLightStorage.Data>
net.minecraft.world.chunk.light.SkyLightStorage
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/SkyLightStorage
intermediary net/minecraft/class_3569
official enq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.light.LightStorage
LightStorage.PropagationFlags, LightStorage.Status
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.light.LightStorage
chunkProvider, dirtySections, hasLightUpdates, notifySections, queuedSections, sectionPropagations, storage, uncachedStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static ChunkNibbleArray
copy
(ChunkNibbleArray source) protected ChunkNibbleArray
createSection
(long sectionPos) protected int
getLight
(long blockPos) protected int
getLight
(long blockPos, boolean cached) protected int
protected int
getTopSectionForColumn
(long columnPos) protected boolean
isAboveMinHeight
(int sectionY) protected boolean
isAtOrAboveTopmostSection
(long sectionPos) protected void
onLoadSection
(long sectionPos) protected void
onUnloadSection
(long sectionPos) Methods inherited from class net.minecraft.world.chunk.light.LightStorage
addNotifySections, enqueueSectionData, get, getLightSection, getLightSection, getLightSection, getStatus, hasLightUpdates, hasSection, isSectionInEnabledColumn, method_51547, notifyChanges, set, setColumnEnabled, setRetainColumn, setSectionPropagation, setSectionStatus, updateLight
-
Constructor Details
-
SkyLightStorage
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/chunk/light/SkyLightStorage;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
intermediary <init>
Lnet/minecraft/class_3569;<init>(Lnet/minecraft/class_2823;)V
official <init>
Lenq;<init>(Ldum;)V
-
-
Method Details
-
getLight
protected int getLight(long blockPos) - Specified by:
getLight
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/world/chunk/light/LightStorage;getLight(J)I
intermediary method_15538
Lnet/minecraft/class_3560;method_15538(J)I
official a
Lenk;a(J)I
-
getLight
protected int getLight(long blockPos, boolean cached) - Mappings:
Namespace Name Mixin selector named getLight
Lnet/minecraft/world/chunk/light/SkyLightStorage;getLight(JZ)I
intermediary method_31931
Lnet/minecraft/class_3569;method_31931(JZ)I
official e
Lenq;e(JZ)I
-
onLoadSection
protected void onLoadSection(long sectionPos) - Overrides:
onLoadSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector named onLoadSection
Lnet/minecraft/world/chunk/light/LightStorage;onLoadSection(J)V
intermediary method_15523
Lnet/minecraft/class_3560;method_15523(J)V
official h
Lenk;h(J)V
-
onUnloadSection
protected void onUnloadSection(long sectionPos) - Overrides:
onUnloadSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector named onUnloadSection
Lnet/minecraft/world/chunk/light/LightStorage;onUnloadSection(J)V
intermediary method_15534
Lnet/minecraft/class_3560;method_15534(J)V
official i
Lenk;i(J)V
-
createSection
- Overrides:
createSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector named createSection
Lnet/minecraft/world/chunk/light/LightStorage;createSection(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_15529
Lnet/minecraft/class_3560;method_15529(J)Lnet/minecraft/class_2804;
official g
Lenk;g(J)Ldue;
-
copy
- Mappings:
Namespace Name Mixin selector named copy
Lnet/minecraft/world/chunk/light/SkyLightStorage;copy(Lnet/minecraft/world/chunk/ChunkNibbleArray;)Lnet/minecraft/world/chunk/ChunkNibbleArray;
intermediary method_37460
Lnet/minecraft/class_3569;method_37460(Lnet/minecraft/class_2804;)Lnet/minecraft/class_2804;
official a
Lenq;a(Ldue;)Ldue;
-
isAboveMinHeight
protected boolean isAboveMinHeight(int sectionY) - Mappings:
Namespace Name Mixin selector named isAboveMinHeight
Lnet/minecraft/world/chunk/light/SkyLightStorage;isAboveMinHeight(I)Z
intermediary method_15567
Lnet/minecraft/class_3569;method_15567(I)Z
official a
Lenq;a(I)Z
-
isAtOrAboveTopmostSection
protected boolean isAtOrAboveTopmostSection(long sectionPos) - Mappings:
Namespace Name Mixin selector named isAtOrAboveTopmostSection
Lnet/minecraft/world/chunk/light/SkyLightStorage;isAtOrAboveTopmostSection(J)Z
intermediary method_15568
Lnet/minecraft/class_3569;method_15568(J)Z
official l
Lenq;l(J)Z
-
getTopSectionForColumn
protected int getTopSectionForColumn(long columnPos) - Mappings:
Namespace Name Mixin selector named getTopSectionForColumn
Lnet/minecraft/world/chunk/light/SkyLightStorage;getTopSectionForColumn(J)I
intermediary method_51594
Lnet/minecraft/class_3569;method_51594(J)I
official m
Lenq;m(J)I
-
getMinSectionY
protected int getMinSectionY()- Mappings:
Namespace Name Mixin selector named getMinSectionY
Lnet/minecraft/world/chunk/light/SkyLightStorage;getMinSectionY()I
intermediary method_51593
Lnet/minecraft/class_3569;method_51593()I
official c
Lenq;c()I
-