Package net.minecraft.world.level
Interface BlockAndTintGetter
- All Superinterfaces:
BlockGetter
,IBlockAndTintGetterExtension
,IBlockGetterExtension
,LevelHeightAccessor
- All Known Subinterfaces:
CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- All Known Implementing Classes:
ClientLevel
,EmptyBlockAndTintGetter
,FallingBlockRenderState
,Level
,RenderSectionRegion
,ServerLevel
,WorldGenRegion
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.level.BlockGetter
BlockGetter.BlockStepVisitor
-
Field Summary
Fields inherited from interface net.minecraft.world.level.BlockGetter
MAX_BLOCK_ITERATIONS_ALONG_TRAVEL
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
int
getBlockTint
(BlockPos pBlockPos, ColorResolver pColorResolver) default int
getBrightness
(LightLayer pLightType, BlockPos pBlockPos) default int
getRawBrightness
(BlockPos pBlockPos, int pAmount) float
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, isBlockInLine
Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockAndTintGetterExtension
getShade
Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelData
Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxSectionY, getMaxY, getMinSectionY, getMinY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
Method Details
-
getShade
-
getLightEngine
LevelLightEngine getLightEngine() -
getBlockTint
-
getBrightness
-
getRawBrightness
-
canSeeSky
-