public interface IBlockReader
Modifier and Type | Method and Description |
---|---|
static <T> T |
func_217300_a(RayTraceContext p_217300_0_,
java.util.function.BiFunction<RayTraceContext,BlockPos,T> p_217300_1_,
java.util.function.Function<RayTraceContext,T> p_217300_2_) |
BlockState |
getBlockState(BlockPos pos) |
IFluidState |
getFluidState(BlockPos pos) |
default int |
getHeight() |
default int |
getLightValue(BlockPos pos) |
default int |
getMaxLightLevel() |
TileEntity |
getTileEntity(BlockPos pos) |
default BlockRayTraceResult |
rayTraceBlocks(RayTraceContext context) |
default BlockRayTraceResult |
rayTraceBlocks(Vec3d p_217296_1_,
Vec3d p_217296_2_,
BlockPos p_217296_3_,
VoxelShape p_217296_4_,
BlockState p_217296_5_) |
@Nullable TileEntity getTileEntity(BlockPos pos)
BlockState getBlockState(BlockPos pos)
IFluidState getFluidState(BlockPos pos)
default int getLightValue(BlockPos pos)
default int getMaxLightLevel()
default int getHeight()
default BlockRayTraceResult rayTraceBlocks(RayTraceContext context)
@Nullable default BlockRayTraceResult rayTraceBlocks(Vec3d p_217296_1_, Vec3d p_217296_2_, BlockPos p_217296_3_, VoxelShape p_217296_4_, BlockState p_217296_5_)
static <T> T func_217300_a(RayTraceContext p_217300_0_, java.util.function.BiFunction<RayTraceContext,BlockPos,T> p_217300_1_, java.util.function.Function<RayTraceContext,T> p_217300_2_)