Package net.minecraft.world.chunk.light
Class ChunkBlockLightProvider
java.lang.Object
net.minecraft.world.chunk.light.ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
net.minecraft.world.chunk.light.ChunkBlockLightProvider
- All Implemented Interfaces:
ChunkLightingView,LightingView
public final class ChunkBlockLightProvider
extends ChunkLightProvider<BlockLightStorage.Data,BlockLightStorage>
- Mappings:
Namespace Name named net/minecraft/world/chunk/light/ChunkBlockLightProviderintermediary net/minecraft/class_3552official ffi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
ChunkLightProvider.PackedInfoNested classes/interfaces inherited from interface net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty -
Field Summary
FieldsFields inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
chunkProvider, DIRECTIONS, field_44729, field_44730, field_44731, lightStorage -
Constructor Summary
ConstructorsConstructorDescriptionChunkBlockLightProvider(ChunkProvider chunkProvider) ChunkBlockLightProvider(ChunkProvider chunkProvider, BlockLightStorage blockLightStorage) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckForLightUpdate(long blockPos) private intgetLightSourceLuminance(long blockPos, BlockState blockState) voidpropagateLight(ChunkPos chunkPos) protected voidpropagateLightDecrease(long blockPos, long packed) protected voidpropagateLightIncrease(long blockPos, long packed, int lightLevel) Methods inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
checkBlock, displaySectionLevel, doLightUpdates, enqueueSectionData, getChunk, getLightLevel, getLightSection, getOpacity, getOpaqueShape, getRealisticOpacity, getStateForLighting, getStatus, hasUpdates, isTrivialForLighting, needsLightUpdate, queueLightDecrease, queueLightIncrease, setColumnEnabled, setRetainColumn, setSectionStatus, shapesCoverFullCubeMethods 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
-
mutablePos
- Mappings:
Namespace Name Mixin selector named mutablePosLnet/minecraft/world/chunk/light/ChunkBlockLightProvider;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;intermediary field_16511Lnet/minecraft/class_3552;field_16511:Lnet/minecraft/class_2338$class_2339;official gLffi;g:Lja$a;
-
-
Constructor Details
-
ChunkBlockLightProvider
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)Vintermediary <init>Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;)Vofficial <init>Lffi;<init>(Lely;)V
-
ChunkBlockLightProvider
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/light/BlockLightStorage;)Vintermediary <init>Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_3547;)Vofficial <init>Lffi;<init>(Lely;Lffj;)V
-
-
Method Details
-
checkForLightUpdate
protected void checkForLightUpdate(long blockPos) - Specified by:
checkForLightUpdatein classChunkLightProvider<BlockLightStorage.Data,BlockLightStorage> - Mappings:
Namespace Name Mixin selector named checkForLightUpdateLnet/minecraft/world/chunk/light/ChunkLightProvider;checkForLightUpdate(J)Vintermediary method_51529Lnet/minecraft/class_3558;method_51529(J)Vofficial aLffr;a(J)V
-
propagateLightIncrease
protected void propagateLightIncrease(long blockPos, long packed, int lightLevel) - Specified by:
propagateLightIncreasein classChunkLightProvider<BlockLightStorage.Data,BlockLightStorage> - Mappings:
Namespace Name Mixin selector named propagateLightIncreaseLnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightIncrease(JJI)Vintermediary method_51531Lnet/minecraft/class_3558;method_51531(JJI)Vofficial aLffr;a(JJI)V
-
propagateLightDecrease
protected void propagateLightDecrease(long blockPos, long packed) - Specified by:
propagateLightDecreasein classChunkLightProvider<BlockLightStorage.Data,BlockLightStorage> - Mappings:
Namespace Name Mixin selector named propagateLightDecreaseLnet/minecraft/world/chunk/light/ChunkLightProvider;propagateLightDecrease(JJ)Vintermediary method_51530Lnet/minecraft/class_3558;method_51530(JJ)Vofficial aLffr;a(JJ)V
-
getLightSourceLuminance
- Mappings:
Namespace Name Mixin selector named getLightSourceLuminanceLnet/minecraft/world/chunk/light/ChunkBlockLightProvider;getLightSourceLuminance(JLnet/minecraft/block/BlockState;)Iintermediary method_15474Lnet/minecraft/class_3552;method_15474(JLnet/minecraft/class_2680;)Iofficial aLffi;a(JLejm;)I
-
propagateLight
- Mappings:
Namespace Name Mixin selector named propagateLightLnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)Vintermediary method_51471Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)Vofficial bLffs;b(Ldqv;)V
-