Package net.minecraft.world.chunk.light
Class ChunkSkyLightProvider
java.lang.Object
net.minecraft.world.chunk.light.LevelPropagator
net.minecraft.world.chunk.light.ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
net.minecraft.world.chunk.light.ChunkSkyLightProvider
- All Implemented Interfaces:
ChunkLightingView,LightingView
public final class ChunkSkyLightProvider
extends ChunkLightProvider<SkyLightStorage.Data,SkyLightStorage>
- Mappings:
Namespace Name official dorintermediary net/minecraft/class_3572named net/minecraft/world/chunk/light/ChunkSkyLightProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Direction[]private static final Direction[]Fields inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
chunkProvider, field_31708, lightStorage, reusableBlockPos, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplaySectionLevel(long sectionPos) protected intgetPropagatedLevel(long sourceId, long targetId, int level) protected voidpropagateLevel(long id, int level, boolean decrease) protected intrecalculateLevel(long id, long excludedId, int maxLevel) protected voidresetLevel(long id) Methods inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
addLightSource, checkBlock, doLightUpdates, enqueueSectionData, getCurrentLevelFromSection, getLevel, getLightLevel, getLightSection, getOpaqueShape, getRealisticOpacity, getStateForLighting, hasUpdates, isMarker, setColumnEnabled, setLevel, setRetainColumn, setSectionStatusMethods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, updateLevelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official fLdor;f:[Lgy;intermediary field_15826Lnet/minecraft/class_3572;field_15826:[Lnet/minecraft/class_2350;named DIRECTIONSLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
HORIZONTAL_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official gLdor;g:[Lgy;intermediary field_15825Lnet/minecraft/class_3572;field_15825:[Lnet/minecraft/class_2350;named HORIZONTAL_DIRECTIONSLnet/minecraft/world/chunk/light/ChunkSkyLightProvider;HORIZONTAL_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
-
Constructor Details
-
ChunkSkyLightProvider
- Mappings:
Namespace Name Mixin selector official <init>Ldor;<init>(Lcwy;)Vintermediary <init>Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;)Vnamed <init>Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
-
Method Details
-
getPropagatedLevel
protected int getPropagatedLevel(long sourceId, long targetId, int level) - Overrides:
getPropagatedLevelin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector official bLdol;b(JJI)Iintermediary method_15488Lnet/minecraft/class_3554;method_15488(JJI)Inamed getPropagatedLevelLnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease) - Specified by:
propagateLevelin classLevelPropagator- Mappings:
Namespace Name Mixin selector official aLdol;a(JIZ)Vintermediary method_15487Lnet/minecraft/class_3554;method_15487(JIZ)Vnamed propagateLevelLnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel) - Overrides:
recalculateLevelin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector official aLdol;a(JJI)Iintermediary method_15486Lnet/minecraft/class_3554;method_15486(JJI)Inamed recalculateLevelLnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
-
resetLevel
protected void resetLevel(long id) - Overrides:
resetLevelin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector official fLdol;f(J)Vintermediary method_15491Lnet/minecraft/class_3554;method_15491(J)Vnamed resetLevelLnet/minecraft/world/chunk/light/LevelPropagator;resetLevel(J)V
-
displaySectionLevel
- Overrides:
displaySectionLevelin classChunkLightProvider<SkyLightStorage.Data,SkyLightStorage> - Mappings:
Namespace Name Mixin selector official bLdom;b(J)Ljava/lang/String;intermediary method_22875Lnet/minecraft/class_3558;method_22875(J)Ljava/lang/String;named displaySectionLevelLnet/minecraft/world/chunk/light/ChunkLightProvider;displaySectionLevel(J)Ljava/lang/String;
-