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 dho
intermediary net/minecraft/class_3572
named 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
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptiondisplaySectionLevel
(long sectionPos) protected int
getPropagatedLevel
(long sourceId, long targetId, int level) protected void
propagateLevel
(long id, int level, boolean decrease) protected int
recalculateLevel
(long id, long excludedId, int maxLevel) protected void
resetLevel
(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, setSectionStatus
Methods inherited from class net.minecraft.world.chunk.light.LevelPropagator
applyPendingUpdates, getPendingUpdateCount, hasPendingUpdates, propagateLevel, removePendingUpdate, removePendingUpdateIf, updateLevel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.chunk.light.LightingView
setSectionStatus
-
Field Details
-
DIRECTIONS
- Mappings:
Namespace Name Mixin selector official f
Ldho;f:[Lgm;
intermediary field_15826
Lnet/minecraft/class_3572;field_15826:[Lnet/minecraft/class_2350;
named DIRECTIONS
Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
HORIZONTAL_DIRECTIONS
- Mappings:
Namespace Name Mixin selector official g
Ldho;g:[Lgm;
intermediary field_15825
Lnet/minecraft/class_3572;field_15825:[Lnet/minecraft/class_2350;
named HORIZONTAL_DIRECTIONS
Lnet/minecraft/world/chunk/light/ChunkSkyLightProvider;HORIZONTAL_DIRECTIONS:[Lnet/minecraft/util/math/Direction;
-
-
Constructor Details
-
ChunkSkyLightProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ldho;<init>(Lcqk;)V
intermediary <init>
Lnet/minecraft/class_3572;<init>(Lnet/minecraft/class_2823;)V
named <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:
getPropagatedLevel
in classChunkLightProvider<SkyLightStorage.Data,
SkyLightStorage> - Mappings:
Namespace Name Mixin selector official b
Ldhi;b(JJI)I
intermediary method_15488
Lnet/minecraft/class_3554;method_15488(JJI)I
named getPropagatedLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;getPropagatedLevel(JJI)I
-
propagateLevel
protected void propagateLevel(long id, int level, boolean decrease) - Specified by:
propagateLevel
in classLevelPropagator
- Mappings:
Namespace Name Mixin selector official a
Ldhi;a(JIZ)V
intermediary method_15487
Lnet/minecraft/class_3554;method_15487(JIZ)V
named propagateLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;propagateLevel(JIZ)V
-
recalculateLevel
protected int recalculateLevel(long id, long excludedId, int maxLevel) - Overrides:
recalculateLevel
in classChunkLightProvider<SkyLightStorage.Data,
SkyLightStorage> - Mappings:
Namespace Name Mixin selector official a
Ldhi;a(JJI)I
intermediary method_15486
Lnet/minecraft/class_3554;method_15486(JJI)I
named recalculateLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;recalculateLevel(JJI)I
-
resetLevel
protected void resetLevel(long id) - Overrides:
resetLevel
in classChunkLightProvider<SkyLightStorage.Data,
SkyLightStorage> - Mappings:
Namespace Name Mixin selector official f
Ldhi;f(J)V
intermediary method_15491
Lnet/minecraft/class_3554;method_15491(J)V
named resetLevel
Lnet/minecraft/world/chunk/light/LevelPropagator;resetLevel(J)V
-
displaySectionLevel
- Overrides:
displaySectionLevel
in classChunkLightProvider<SkyLightStorage.Data,
SkyLightStorage> - Mappings:
Namespace Name Mixin selector official b
Ldhj;b(J)Ljava/lang/String;
intermediary method_22875
Lnet/minecraft/class_3558;method_22875(J)Ljava/lang/String;
named displaySectionLevel
Lnet/minecraft/world/chunk/light/ChunkLightProvider;displaySectionLevel(J)Ljava/lang/String;
-