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 p_45520_, ColorResolver p_45521_) default int
getBrightness
(LightLayer p_45518_, BlockPos p_45519_) default int
getRawBrightness
(BlockPos p_45525_, int p_45526_) 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
-