Package net.minecraft.world
Interface BlockRenderView
- All Superinterfaces:
BlockView
- 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, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycastBlock
-
Method Details
-
getBrightness
-
getLightingProvider
LightingProvider getLightingProvider() -
getColor
-
getLightLevel
-
getBaseLightLevel
-
isSkyVisible
-