public class RayTraceContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RayTraceContext.BlockMode |
static class |
RayTraceContext.FluidMode |
static interface |
RayTraceContext.IVoxelProvider |
Modifier and Type | Field and Description |
---|---|
private RayTraceContext.BlockMode |
blockMode |
private ISelectionContext |
context |
private Vec3d |
endVec |
private RayTraceContext.FluidMode |
fluidMode |
private Vec3d |
startVec |
Constructor and Description |
---|
RayTraceContext(Vec3d startVecIn,
Vec3d endVecIn,
RayTraceContext.BlockMode blockModeIn,
RayTraceContext.FluidMode fluidModeIn,
Entity entityIn) |
Modifier and Type | Method and Description |
---|---|
Vec3d |
func_222250_a() |
Vec3d |
func_222253_b() |
VoxelShape |
getBlockShape(BlockState p_222251_1_,
IBlockReader p_222251_2_,
BlockPos p_222251_3_) |
VoxelShape |
getFluidShape(IFluidState p_222252_1_,
IBlockReader p_222252_2_,
BlockPos p_222252_3_) |
private final Vec3d startVec
private final Vec3d endVec
private final RayTraceContext.BlockMode blockMode
private final RayTraceContext.FluidMode fluidMode
private final ISelectionContext context
public RayTraceContext(Vec3d startVecIn, Vec3d endVecIn, RayTraceContext.BlockMode blockModeIn, RayTraceContext.FluidMode fluidModeIn, @Nullable Entity entityIn)
public Vec3d func_222250_a()
public Vec3d func_222253_b()
public VoxelShape getBlockShape(BlockState p_222251_1_, IBlockReader p_222251_2_, BlockPos p_222251_3_)
public VoxelShape getFluidShape(IFluidState p_222252_1_, IBlockReader p_222252_2_, BlockPos p_222252_3_)