Package net.minecraft.world
Interface BlockRenderView
- All Superinterfaces:
BlockView
,HeightLimitView
- All Known Subinterfaces:
class_5423
,LunarWorldView
,ServerWorldAccess
,StructureWorldAccess
,WorldAccess
,WorldView
- All Known Implementing Classes:
ChunkRegion
,ChunkRendererRegion
,ClientWorld
,ServerWorld
,World
public interface BlockRenderView extends BlockView
-
Method Summary
Modifier and Type Method Description default int
getBaseLightLevel(BlockPos pos, int ambientDarkness)
float
getBrightness(Direction direction, boolean shaded)
int
getColor(BlockPos pos, ColorResolver colorResolver)
LightingProvider
getLightingProvider()
default int
getLightLevel(LightType type, BlockPos pos)
default boolean
isSkyVisible(BlockPos pos)
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
getBottomSectionLimit, getSection, getSectionCount, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimit, method_32890, method_32891
-
Method Details
-
getBrightness
-
getLightingProvider
LightingProvider getLightingProvider() -
getColor
-
getLightLevel
-
getBaseLightLevel
-
isSkyVisible
-