net.minecraft.world

public class RayTraceContext

bha
net.minecraft.class_3959
net.minecraft.world.RayTraceContext
net.minecraft.world.RayCastContext
net.minecraft.util.math.RayTraceContext
net.minecraft.util.math.RayTraceContext

Field summary

Modifier and TypeField
private final Vec3d
a
field_17553
start
from
field_222254_a
startVec
private final Vec3d
b
field_17554
end
to
field_222255_b
endVec
private final RayTraceContext$ShapeType
c
field_17555
shapeType
shapeType
field_222256_c
blockMode
private final RayTraceContext$FluidHandling
d
field_17556
fluid
fuildHandling
field_222257_d
fluidMode
private final EntityContext
e
field_17557
entityPosition
collisionContext
field_222258_e
context

Constructor summary

ModifierConstructor
public (Vec3d from, Vec3d to, RayTraceContext$ShapeType shapeType, RayTraceContext$FluidHandling fluidHandling, Entity entity)

Method summary

Modifier and TypeMethod
public Vec3d
a()
method_17747()
getEnd()
getTo()
func_222250_a()
func_222250_a()
public Vec3d
b()
method_17750()
getStart()
getFrom()
func_222253_b()
func_222253_b()
public VoxelShape
a(bvo arg0, bgw arg1, ev arg2)
method_17748(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getBlockShape(BlockState arg0, BlockView arg1, BlockPos arg2)
getBlockShape(BlockState state, BlockView world, BlockPos pos)
func_222251_a(BlockState arg0, IBlockReader arg1, BlockPos arg2)
getBlockShape(BlockState arg0, IBlockReader arg1, BlockPos arg2)
public VoxelShape
a(clf arg0, bgw arg1, ev arg2)
method_17749(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getFluidShape(FluidState arg0, BlockView arg1, BlockPos arg2)
getFluidShape(FluidState state, BlockView world, BlockPos pos)
func_222252_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
getFluidShape(IFluidState arg0, IBlockReader arg1, BlockPos arg2)