public interface BlockRenderView extends BlockView
Modifier and Type | Method and 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) |
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycast, raycastBlock
@Environment(value=CLIENT) float getBrightness(Direction direction, boolean shaded)
LightingProvider getLightingProvider()
@Environment(value=CLIENT) int getColor(BlockPos pos, ColorResolver colorResolver)
default int getBaseLightLevel(BlockPos pos, int ambientDarkness)
default boolean isSkyVisible(BlockPos pos)