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 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, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods 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
-