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 official dwm
intermediary net/minecraft/class_3552
named net/minecraft/world/chunk/light/ChunkBlockLightProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
ChunkLightProvider.class_8531
Nested classes/interfaces inherited from interface net.minecraft.world.chunk.light.ChunkLightingView
ChunkLightingView.Empty
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
chunkProvider, DIRECTIONS, field_44729, field_44730, field_44731, lightStorage
-
Constructor Summary
ConstructorDescriptionChunkBlockLightProvider
(ChunkProvider chunkProvider) ChunkBlockLightProvider
(ChunkProvider chunkProvider, BlockLightStorage blockLightStorage) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
getLightSourceLuminance
(long blockPos, BlockState blockState) protected void
method_51529
(long blockPos) protected void
method_51530
(long blockPos, long long2) protected void
method_51531
(long blockPos, long long2, int lightLevel) void
propagateLight
(ChunkPos chunkPos) Methods inherited from class net.minecraft.world.chunk.light.ChunkLightProvider
checkBlock, displaySectionLevel, doLightUpdates, enqueueSectionData, getChunk, getLightLevel, getLightSection, getOpacity, getOpaqueShape, getOpaqueShape, getRealisticOpacity, getStateForLighting, getStatus, hasUpdates, isTrivialForLighting, method_51565, method_51566, needsLightUpdate, setColumnEnabled, setRetainColumn, setSectionStatus, shapesCoverFullCube
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
-
mutablePos
- Mappings:
Namespace Name Mixin selector official g
Ldwm;g:Lgu$a;
intermediary field_16511
Lnet/minecraft/class_3552;field_16511:Lnet/minecraft/class_2338$class_2339;
named mutablePos
Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;mutablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
-
-
Constructor Details
-
ChunkBlockLightProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ldwm;<init>(Ldel;)V
intermediary <init>
Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;)V
named <init>
Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;)V
-
ChunkBlockLightProvider
- Mappings:
Namespace Name Mixin selector official <init>
Ldwm;<init>(Ldel;Ldwn;)V
intermediary <init>
Lnet/minecraft/class_3552;<init>(Lnet/minecraft/class_2823;Lnet/minecraft/class_3547;)V
named <init>
Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;<init>(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/light/BlockLightStorage;)V
-
-
Method Details
-
method_51529
protected void method_51529(long blockPos) - Specified by:
method_51529
in classChunkLightProvider<BlockLightStorage.Data,
BlockLightStorage> - Mappings:
Namespace Name Mixin selector official a
Ldwv;a(J)V
intermediary method_51529
Lnet/minecraft/class_3558;method_51529(J)V
named method_51529
Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51529(J)V
-
method_51531
protected void method_51531(long blockPos, long long2, int lightLevel) - Specified by:
method_51531
in classChunkLightProvider<BlockLightStorage.Data,
BlockLightStorage> - Mappings:
Namespace Name Mixin selector official a
Ldwv;a(JJI)V
intermediary method_51531
Lnet/minecraft/class_3558;method_51531(JJI)V
named method_51531
Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51531(JJI)V
-
method_51530
protected void method_51530(long blockPos, long long2) - Specified by:
method_51530
in classChunkLightProvider<BlockLightStorage.Data,
BlockLightStorage> - Mappings:
Namespace Name Mixin selector official a
Ldwv;a(JJ)V
intermediary method_51530
Lnet/minecraft/class_3558;method_51530(JJ)V
named method_51530
Lnet/minecraft/world/chunk/light/ChunkLightProvider;method_51530(JJ)V
-
getLightSourceLuminance
- Mappings:
Namespace Name Mixin selector official a
Ldwm;a(JLdcb;)I
intermediary method_15474
Lnet/minecraft/class_3552;method_15474(JLnet/minecraft/class_2680;)I
named getLightSourceLuminance
Lnet/minecraft/world/chunk/light/ChunkBlockLightProvider;getLightSourceLuminance(JLnet/minecraft/block/BlockState;)I
-
propagateLight
- Mappings:
Namespace Name Mixin selector official b
Ldww;b(Lclt;)V
intermediary method_51471
Lnet/minecraft/class_3565;method_51471(Lnet/minecraft/class_1923;)V
named propagateLight
Lnet/minecraft/world/chunk/light/LightingView;propagateLight(Lnet/minecraft/util/math/ChunkPos;)V
-