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 official dwy
intermediary net/minecraft/class_3569
named net/minecraft/world/chunk/light/SkyLightStorage
-
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 official <init>
Ldwy;<init>(Ldel;)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
-
getLight
protected int getLight(long blockPos) - Specified by:
getLight
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector official a
Ldws;a(J)I
intermediary method_15538
Lnet/minecraft/class_3560;method_15538(J)I
named getLight
Lnet/minecraft/world/chunk/light/LightStorage;getLight(J)I
-
getLight
protected int getLight(long blockPos, boolean cached) - Mappings:
Namespace Name Mixin selector official e
Ldwy;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
-
onLoadSection
protected void onLoadSection(long sectionPos) - Overrides:
onLoadSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector official h
Ldws;h(J)V
intermediary method_15523
Lnet/minecraft/class_3560;method_15523(J)V
named onLoadSection
Lnet/minecraft/world/chunk/light/LightStorage;onLoadSection(J)V
-
onUnloadSection
protected void onUnloadSection(long sectionPos) - Overrides:
onUnloadSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector official i
Ldws;i(J)V
intermediary method_15534
Lnet/minecraft/class_3560;method_15534(J)V
named onUnloadSection
Lnet/minecraft/world/chunk/light/LightStorage;onUnloadSection(J)V
-
createSection
- Overrides:
createSection
in classLightStorage<SkyLightStorage.Data>
- Mappings:
Namespace Name Mixin selector official g
Ldws;g(J)Lded;
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
Ldwy;a(Lded;)Lded;
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;
-
isAboveMinHeight
protected boolean isAboveMinHeight(int sectionY) - Mappings:
Namespace Name Mixin selector official a
Ldwy;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
-
isAtOrAboveTopmostSection
protected boolean isAtOrAboveTopmostSection(long sectionPos) - Mappings:
Namespace Name Mixin selector official l
Ldwy;l(J)Z
intermediary method_15568
Lnet/minecraft/class_3569;method_15568(J)Z
named isAtOrAboveTopmostSection
Lnet/minecraft/world/chunk/light/SkyLightStorage;isAtOrAboveTopmostSection(J)Z
-
getTopSectionForColumn
protected int getTopSectionForColumn(long columnPos) - Mappings:
Namespace Name Mixin selector official m
Ldwy;m(J)I
intermediary method_51594
Lnet/minecraft/class_3569;method_51594(J)I
named getTopSectionForColumn
Lnet/minecraft/world/chunk/light/SkyLightStorage;getTopSectionForColumn(J)I
-
getMinSectionY
protected int getMinSectionY()- Mappings:
Namespace Name Mixin selector official c
Ldwy;c()I
intermediary method_51593
Lnet/minecraft/class_3569;method_51593()I
named getMinSectionY
Lnet/minecraft/world/chunk/light/SkyLightStorage;getMinSectionY()I
-