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
,Level
,RenderChunkRegion
,ServerLevel
,WorldGenRegion
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
int
getBlockTint
(BlockPos blockPos, ColorResolver colorResolver) default int
getBrightness
(LightLayer lightType, BlockPos blockPos) default int
getRawBrightness
(BlockPos blockPos, int amount) float
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, 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, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Method Details
-
getShade
-
getLightEngine
LevelLightEngine getLightEngine() -
getBlockTint
-
getBrightness
-
getRawBrightness
-
canSeeSky
-