Package net.minecraft.world.chunk.light
Interface LightSourceView
- All Superinterfaces:
BlockView,HeightLimitView
- All Known Implementing Classes:
Chunk,EmptyChunk,ProtoChunk,ReadOnlyChunk,WorldChunk
- Mappings:
Namespace Name official decintermediary 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 aLdec;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
-
getLightSourcesStream
class_8528 getLightSourcesStream()- Mappings:
Namespace Name Mixin selector official BLdec;B()Ldwg;intermediary method_12018Lnet/minecraft/class_8527;method_12018()Lnet/minecraft/class_8528;named getLightSourcesStreamLnet/minecraft/world/chunk/light/LightSourceView;getLightSourcesStream()Lnet/minecraft/class_8528;
-