Package net.minecraft.world
Interface BlockRenderView
- All Superinterfaces:
BlockView
,HeightLimitView
- All Known Subinterfaces:
LunarWorldView
,RegistryWorldView
,ServerWorldAccess
,StructureWorldAccess
,WorldAccess
,WorldView
- All Known Implementing Classes:
ChunkRegion
,ChunkRendererRegion
,ClientWorld
,ServerWorld
,World
- Mappings:
Namespace Name named net/minecraft/world/BlockRenderView
intermediary net/minecraft/class_1920
official dbc
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getBaseLightLevel
(BlockPos pos, int ambientDarkness) float
getBrightness
(Direction direction, boolean shaded) int
getColor
(BlockPos pos, ColorResolver colorResolver) default int
getLightLevel
(LightType type, BlockPos pos) default boolean
isSkyVisible
(BlockPos pos) Returns if the sky is visible atpos
.Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getBottomY, getHeight, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
Method Details
-
getBrightness
- Mappings:
Namespace Name Mixin selector named getBrightness
Lnet/minecraft/world/BlockRenderView;getBrightness(Lnet/minecraft/util/math/Direction;Z)F
intermediary method_24852
Lnet/minecraft/class_1920;method_24852(Lnet/minecraft/class_2350;Z)F
official a
Ldbc;a(Lje;Z)F
-
getLightingProvider
LightingProvider getLightingProvider()- Mappings:
Namespace Name Mixin selector named getLightingProvider
Lnet/minecraft/world/BlockRenderView;getLightingProvider()Lnet/minecraft/world/chunk/light/LightingProvider;
intermediary method_22336
Lnet/minecraft/class_1920;method_22336()Lnet/minecraft/class_3568;
official y_
Ldbc;y_()Lenl;
-
getColor
- Mappings:
Namespace Name Mixin selector named getColor
Lnet/minecraft/world/BlockRenderView;getColor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/ColorResolver;)I
intermediary method_23752
Lnet/minecraft/class_1920;method_23752(Lnet/minecraft/class_2338;Lnet/minecraft/class_6539;)I
official a
Ldbc;a(Liz;Ldbk;)I
-
getLightLevel
- Mappings:
Namespace Name Mixin selector named getLightLevel
Lnet/minecraft/world/BlockRenderView;getLightLevel(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
intermediary method_8314
Lnet/minecraft/class_1920;method_8314(Lnet/minecraft/class_1944;Lnet/minecraft/class_2338;)I
official a
Ldbc;a(Ldci;Liz;)I
-
getBaseLightLevel
- Mappings:
Namespace Name Mixin selector named getBaseLightLevel
Lnet/minecraft/world/BlockRenderView;getBaseLightLevel(Lnet/minecraft/util/math/BlockPos;I)I
intermediary method_22335
Lnet/minecraft/class_1920;method_22335(Lnet/minecraft/class_2338;I)I
official b
Ldbc;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
true
if the sky light level atpos
is the maximum,15
. - Mappings:
Namespace Name Mixin selector named isSkyVisible
Lnet/minecraft/world/BlockRenderView;isSkyVisible(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_8311
Lnet/minecraft/class_1920;method_8311(Lnet/minecraft/class_2338;)Z
official h
Ldbc;h(Liz;)Z
-