Package net.minecraft.world.chunk.light
Interface LightSourceView
- All Superinterfaces:
BlockView,HeightLimitView
- All Known Implementing Classes:
Chunk,EmptyChunk,ProtoChunk,WorldChunk,WrapperProtoChunk
- Mappings:
Namespace Name official dljintermediary net/minecraft/class_8527named net/minecraft/world/chunk/light/LightSourceView
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEachLightSource(BiConsumer<BlockPos, BlockState> callback) Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getBottomY, getHeight, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Method Details
-
forEachLightSource
- Mappings:
Namespace Name Mixin selector official aLdlj;a(Ljava/util/function/BiConsumer;)Vintermediary method_51524Lnet/minecraft/class_8527;method_51524(Ljava/util/function/BiConsumer;)Vnamed forEachLightSourceLnet/minecraft/world/chunk/light/LightSourceView;forEachLightSource(Ljava/util/function/BiConsumer;)V
-
getChunkSkyLight
ChunkSkyLight getChunkSkyLight()- Mappings:
Namespace Name Mixin selector official BLdlj;B()Ledu;intermediary method_12018Lnet/minecraft/class_8527;method_12018()Lnet/minecraft/class_8528;named getChunkSkyLightLnet/minecraft/world/chunk/light/LightSourceView;getChunkSkyLight()Lnet/minecraft/world/chunk/light/ChunkSkyLight;
-