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 dwvintermediary net/minecraft/class_3569named net/minecraft/world/chunk/light/SkyLightStorage
-
Nested Class Summary
Nested ClassesNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static ChunkNibbleArraycopy(ChunkNibbleArray source) protected ChunkNibbleArraycreateSection(long sectionPos) protected intgetLight(long blockPos) protected intgetLight(long blockPos, boolean cached) protected intprotected intgetTopSectionForColumn(long columnPos) protected booleanisAboveMinHeight(int sectionY) protected booleanisAtOrAboveTopmostSection(long sectionPos) protected voidonLoadSection(long sectionPos) protected voidonUnloadSection(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>Ldwv;<init>(Ldei;)Vintermediary <init>Lnet/minecraft/class_3569;<init>(Lnet/minecraft/class_2823;)Vnamed <init>Lnet/minecraft/world/chunk/light/SkyLightStorage;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
-
Method Details
-
getLight
protected int getLight(long blockPos) - Specified by:
getLightin classLightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official aLdwp;a(J)Iintermediary method_15538Lnet/minecraft/class_3560;method_15538(J)Inamed getLightLnet/minecraft/world/chunk/light/LightStorage;getLight(J)I
-
getLight
protected int getLight(long blockPos, boolean cached) - Mappings:
Namespace Name Mixin selector official eLdwv;e(JZ)Iintermediary method_31931Lnet/minecraft/class_3569;method_31931(JZ)Inamed getLightLnet/minecraft/world/chunk/light/SkyLightStorage;getLight(JZ)I
-
onLoadSection
protected void onLoadSection(long sectionPos) - Overrides:
onLoadSectionin classLightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official hLdwp;h(J)Vintermediary method_15523Lnet/minecraft/class_3560;method_15523(J)Vnamed onLoadSectionLnet/minecraft/world/chunk/light/LightStorage;onLoadSection(J)V
-
onUnloadSection
protected void onUnloadSection(long sectionPos) - Overrides:
onUnloadSectionin classLightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official iLdwp;i(J)Vintermediary method_15534Lnet/minecraft/class_3560;method_15534(J)Vnamed onUnloadSectionLnet/minecraft/world/chunk/light/LightStorage;onUnloadSection(J)V
-
createSection
- Overrides:
createSectionin classLightStorage<SkyLightStorage.Data>- Mappings:
Namespace Name Mixin selector official gLdwp;g(J)Ldea;intermediary method_15529Lnet/minecraft/class_3560;method_15529(J)Lnet/minecraft/class_2804;named createSectionLnet/minecraft/world/chunk/light/LightStorage;createSection(J)Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
copy
- Mappings:
Namespace Name Mixin selector official aLdwv;a(Ldea;)Ldea;intermediary method_37460Lnet/minecraft/class_3569;method_37460(Lnet/minecraft/class_2804;)Lnet/minecraft/class_2804;named copyLnet/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 aLdwv;a(I)Zintermediary method_15567Lnet/minecraft/class_3569;method_15567(I)Znamed isAboveMinHeightLnet/minecraft/world/chunk/light/SkyLightStorage;isAboveMinHeight(I)Z
-
isAtOrAboveTopmostSection
protected boolean isAtOrAboveTopmostSection(long sectionPos) - Mappings:
Namespace Name Mixin selector official lLdwv;l(J)Zintermediary method_15568Lnet/minecraft/class_3569;method_15568(J)Znamed isAtOrAboveTopmostSectionLnet/minecraft/world/chunk/light/SkyLightStorage;isAtOrAboveTopmostSection(J)Z
-
getTopSectionForColumn
protected int getTopSectionForColumn(long columnPos) - Mappings:
Namespace Name Mixin selector official mLdwv;m(J)Iintermediary method_51594Lnet/minecraft/class_3569;method_51594(J)Inamed getTopSectionForColumnLnet/minecraft/world/chunk/light/SkyLightStorage;getTopSectionForColumn(J)I
-
getMinSectionY
protected int getMinSectionY()- Mappings:
Namespace Name Mixin selector official cLdwv;c()Iintermediary method_51593Lnet/minecraft/class_3569;method_51593()Inamed getMinSectionYLnet/minecraft/world/chunk/light/SkyLightStorage;getMinSectionY()I
-