public class RaytraceBlock extends Raytrace
| Constructor and Description |
|---|
RaytraceBlock(net.minecraft.world.World world,
Point src,
Point dest,
net.minecraft.util.math.BlockPos pos)
Sets the parameters for this
RaytraceBlock. |
RaytraceBlock(net.minecraft.world.World world,
Point src,
Vector v,
net.minecraft.util.math.BlockPos pos)
Sets the parameters for this
RaytraceBlock. |
RaytraceBlock(net.minecraft.world.World world,
Ray ray,
net.minecraft.util.math.BlockPos pos)
Sets the parameters for this
RaytraceBlock. |
RaytraceBlock(net.minecraft.world.World world,
net.minecraft.util.math.Vec3d src,
net.minecraft.util.math.Vec3d dest,
net.minecraft.util.math.BlockPos pos)
Sets the parameters for this
RaytraceBlock. |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.RayTraceResult |
trace()
Does the raytracing.
|
direction, distance, getClosestHit, getDestination, getSource, setLength, tracepublic RaytraceBlock(net.minecraft.world.World world,
Ray ray,
net.minecraft.util.math.BlockPos pos)
RaytraceBlock.world - the worldray - the raypos - the pospublic RaytraceBlock(net.minecraft.world.World world,
Point src,
Vector v,
net.minecraft.util.math.BlockPos pos)
RaytraceBlock.world - the worldsrc - the srcv - the vpos - the pospublic RaytraceBlock(net.minecraft.world.World world,
Point src,
Point dest,
net.minecraft.util.math.BlockPos pos)
RaytraceBlock.world - the worldsrc - the srcdest - the destpos - the pospublic RaytraceBlock(net.minecraft.world.World world,
net.minecraft.util.math.Vec3d src,
net.minecraft.util.math.Vec3d dest,
net.minecraft.util.math.BlockPos pos)
RaytraceBlock.world - the worldsrc - the srcdest - the destpos - the pos