Package net.minecraft.world
Interface BlockRenderView
- All Superinterfaces:
BlockView,HeightLimitView
- All Known Subinterfaces:
LunarWorldView,RegistryWorldView,ServerWorldAccess,StructureWorldAccess,WorldAccess,WorldView
- All Known Implementing Classes:
BreakingBlockRenderState,ChunkRegion,ChunkRendererRegion,ClientWorld,EmptyBlockRenderView,MovingBlockRenderState,ServerWorld,World
- Mappings:
Namespace Name named net/minecraft/world/BlockRenderViewintermediary net/minecraft/class_1920official dto
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Method Summary
Modifier and TypeMethodDescriptiondefault intgetBaseLightLevel(BlockPos pos, int ambientDarkness) floatgetBrightness(Direction direction, boolean shaded) intgetColor(BlockPos pos, ColorResolver colorResolver) default intgetLightLevel(LightType type, BlockPos pos) default booleanisSkyVisible(BlockPos pos) Returns if the sky is visible atpos.Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getBottomY, getHeight, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Method Details
-
getBrightness
- Mappings:
Namespace Name Mixin selector named getBrightnessLnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)Fintermediary method_24852Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)Fofficial aLdto;a(Ljf;Z)F
-
getLightingProvider
LightingProvider getLightingProvider()- Mappings:
Namespace Name Mixin selector named getLightingProviderLnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;intermediary method_22336Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;official D_Ldto;D_()Lfik;
-
getColor
- Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)Iintermediary method_23752Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)Iofficial aLdto;a(Liz;Ldtx;)I
-
getLightLevel
- Mappings:
Namespace Name Mixin selector named getLightLevelLnet/minecraft/world/BlockRenderView;getLightLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)Iintermediary method_8314Lnet/minecraft/class_1920;method_8314(Lnet/minecraft/class_1944;Lnet/minecraft/class_2338;)Iofficial aLdto;a(Lduw;Liz;)I
-
getBaseLightLevel
- Mappings:
Namespace Name Mixin selector named getBaseLightLevelLnet/minecraft/world/BlockRenderView;getBaseLightLevel(Lnet/minecraft/util/math/BlockPos;I)Iintermediary method_22335Lnet/minecraft/class_1920;method_22335(Lnet/minecraft/class_2338;I)Iofficial bLdto;b(Liz;I)I
-
isSkyVisible
Returns if the sky is visible atpos.- Returns:
- if the sky is visible at
pos - See Also:
- Implementation Note:
- This returns
trueif the sky light level atposis the maximum,15. - Mappings:
Namespace Name Mixin selector named isSkyVisibleLnet/minecraft/world/BlockRenderView;isSkyVisible(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_8311Lnet/minecraft/class_1920;method_8311(Lnet/minecraft/class_2338;)Zofficial iLdto;i(Liz;)Z
-