Package net.minecraft.world.level
Interface BlockGetter
- All Superinterfaces:
 IBlockGetterExtension,LevelHeightAccessor
- All Known Subinterfaces:
 BlockAndTintGetter,CollisionGetter,CommonLevelAccessor,LevelAccessor,LevelReader,LevelTimeAccess,LightChunk,ServerLevelAccessor,SignalGetter,WorldGenLevel
- All Known Implementing Classes:
 ChunkAccess,ClientLevel,EmptyBlockGetter,EmptyLevelChunk,ImposterProtoChunk,Level,LevelChunk,PathNavigationRegion,ProtoChunk,RenderChunkRegion,ServerLevel,WorldGenRegion
- 
Method Summary
Modifier and TypeMethodDescriptiondefault BlockHitResultclip(ClipContext p_45548_) default BlockHitResultclipWithInteractionOverride(Vec3 p_45559_, Vec3 p_45560_, BlockPos p_45561_, VoxelShape p_45562_, BlockState p_45563_) getBlockEntity(BlockPos p_45570_) default <T extends BlockEntity>
Optional<T>getBlockEntity(BlockPos p_151367_, BlockEntityType<T> p_151368_) default doublegetBlockFloorHeight(BlockPos p_45574_) default doublegetBlockFloorHeight(VoxelShape p_45565_, Supplier<VoxelShape> p_45566_) getBlockState(BlockPos p_45571_) default Stream<BlockState>getBlockStates(AABB p_45557_) getFluidState(BlockPos p_45569_) default intgetLightEmission(BlockPos p_45572_) default intdefault BlockHitResultisBlockInLine(ClipBlockStateContext p_151354_) static <T,C> T traverseBlocks(Vec3 p_151362_, Vec3 p_151363_, C p_151364_, BiFunction<C, BlockPos, T> p_151365_, Function<C, T> p_151366_) Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight 
- 
Method Details
- 
getBlockEntity
 - 
getBlockEntity
default <T extends BlockEntity> Optional<T> getBlockEntity(BlockPos p_151367_, BlockEntityType<T> p_151368_)  - 
getBlockState
 - 
getFluidState
 - 
getLightEmission
 - 
getMaxLightLevel
default int getMaxLightLevel() - 
getBlockStates
 - 
isBlockInLine
 - 
clip
 - 
clipWithInteractionOverride
@Nullable default BlockHitResult clipWithInteractionOverride(Vec3 p_45559_, Vec3 p_45560_, BlockPos p_45561_, VoxelShape p_45562_, BlockState p_45563_)  - 
getBlockFloorHeight
 - 
getBlockFloorHeight
 - 
traverseBlocks
static <T,C> T traverseBlocks(Vec3 p_151362_, Vec3 p_151363_, C p_151364_, BiFunction<C, BlockPos, T> p_151365_, Function<C, T> p_151366_)  
 -