Package net.minecraft.world
Interface IBlockReader
- All Known Subinterfaces:
IBiomeReader
,IBlockDisplayReader
,IChunk
,ICollisionReader
,IDayTimeReader
,ISeedReader
,IServerWorld
,IWorld
,IWorldReader
- All Known Implementing Classes:
Blockreader
,Chunk
,ChunkPrimer
,ChunkPrimerWrapper
,ChunkRenderCache
,ClientWorld
,EmptyBlockReader
,EmptyChunk
,Region
,ServerWorld
,World
,WorldGenRegion
public interface IBlockReader
-
Method Summary
Modifier and TypeMethodDescriptiondefault BlockRayTraceResult
clip
(RayTraceContext p_217299_1_) default BlockRayTraceResult
clipWithInteractionOverride
(Vector3d p_217296_1_, Vector3d p_217296_2_, BlockPos p_217296_3_, VoxelShape p_217296_4_, BlockState p_217296_5_) getBlockEntity
(BlockPos p_175625_1_) default double
getBlockFloorHeight
(BlockPos p_242403_1_) default double
getBlockFloorHeight
(VoxelShape p_242402_1_, Supplier<VoxelShape> p_242402_2_) getBlockState
(BlockPos p_180495_1_) default Stream<BlockState>
getBlockStates
(AxisAlignedBB p_234853_1_) getFluidState
(BlockPos p_204610_1_) default int
getLightEmission
(BlockPos p_217298_1_) default int
default int
static <T> T
traverseBlocks
(RayTraceContext p_217300_0_, BiFunction<RayTraceContext, BlockPos, T> p_217300_1_, Function<RayTraceContext, T> p_217300_2_)
-
Method Details
-
getBlockEntity
-
getBlockState
-
getFluidState
-
getLightEmission
-
getMaxLightLevel
default int getMaxLightLevel() -
getMaxBuildHeight
default int getMaxBuildHeight() -
getBlockStates
-
clip
-
clipWithInteractionOverride
@Nullable default BlockRayTraceResult clipWithInteractionOverride(Vector3d p_217296_1_, Vector3d p_217296_2_, BlockPos p_217296_3_, VoxelShape p_217296_4_, BlockState p_217296_5_) -
getBlockFloorHeight
-
getBlockFloorHeight
-
traverseBlocks
static <T> T traverseBlocks(RayTraceContext p_217300_0_, BiFunction<RayTraceContext, BlockPos, T> p_217300_1_, Function<RayTraceContext, T> p_217300_2_)
-