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 intgetBaseLightLevel(BlockPos pos, int ambientDarkness)floatgetBrightness(Direction direction, boolean shaded)intgetColor(BlockPos pos, ColorResolver colorResolver)LightingProvidergetLightingProvider()default intgetLightLevel(LightType type, BlockPos pos)default booleanisSkyVisible(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
-