Package net.minecraft.world
Class RayTraceContext
java.lang.Object
net.minecraft.world.RayTraceContext
public class RayTraceContext extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRayTraceContext.FluidHandlingstatic interfaceRayTraceContext.ShapeProviderstatic classRayTraceContext.ShapeType -
Field Summary
Fields Modifier and Type Field Description private Vec3dendprivate ShapeContextentityPositionprivate RayTraceContext.FluidHandlingfluidprivate RayTraceContext.ShapeTypeshapeTypeprivate Vec3dstart -
Constructor Summary
Constructors Constructor Description RayTraceContext(Vec3d start, Vec3d end, RayTraceContext.ShapeType shapeType, RayTraceContext.FluidHandling fluidHandling, Entity entity) -
Method Summary
Modifier and Type Method Description VoxelShapegetBlockShape(BlockState state, BlockView world, BlockPos pos)Vec3dgetEnd()VoxelShapegetFluidShape(FluidState state, BlockView world, BlockPos pos)Vec3dgetStart()
-
Field Details
-
Constructor Details
-
RayTraceContext
public RayTraceContext(Vec3d start, Vec3d end, RayTraceContext.ShapeType shapeType, RayTraceContext.FluidHandling fluidHandling, Entity entity)
-
-
Method Details