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
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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_)
TileEntity
getBlockEntity(BlockPos p_175625_1_)
default double
getBlockFloorHeight(BlockPos p_242403_1_)
default double
getBlockFloorHeight(VoxelShape p_242402_1_, java.util.function.Supplier<VoxelShape> p_242402_2_)
BlockState
getBlockState(BlockPos p_180495_1_)
default java.util.stream.Stream<BlockState>
getBlockStates(AxisAlignedBB p_234853_1_)
FluidState
getFluidState(BlockPos p_204610_1_)
default int
getLightEmission(BlockPos p_217298_1_)
default int
getMaxBuildHeight()
default int
getMaxLightLevel()
static <T> T
traverseBlocks(RayTraceContext p_217300_0_, java.util.function.BiFunction<RayTraceContext,BlockPos,T> p_217300_1_, java.util.function.Function<RayTraceContext,T> p_217300_2_)
-
-
-
Method Detail
-
getBlockEntity
@Nullable TileEntity getBlockEntity(BlockPos p_175625_1_)
-
getBlockState
BlockState getBlockState(BlockPos p_180495_1_)
-
getFluidState
FluidState getFluidState(BlockPos p_204610_1_)
-
getLightEmission
default int getLightEmission(BlockPos p_217298_1_)
-
getMaxLightLevel
default int getMaxLightLevel()
-
getMaxBuildHeight
default int getMaxBuildHeight()
-
getBlockStates
default java.util.stream.Stream<BlockState> getBlockStates(AxisAlignedBB p_234853_1_)
-
clip
default BlockRayTraceResult clip(RayTraceContext p_217299_1_)
-
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
default double getBlockFloorHeight(VoxelShape p_242402_1_, java.util.function.Supplier<VoxelShape> p_242402_2_)
-
getBlockFloorHeight
default double getBlockFloorHeight(BlockPos p_242403_1_)
-
traverseBlocks
static <T> T traverseBlocks(RayTraceContext p_217300_0_, java.util.function.BiFunction<RayTraceContext,BlockPos,T> p_217300_1_, java.util.function.Function<RayTraceContext,T> p_217300_2_)
-
-