Class DistanceRayTraceResult

java.lang.Object
net.minecraft.world.phys.HitResult
com.hrznstudio.titanium.api.raytrace.DistanceRayTraceResult

public class DistanceRayTraceResult extends net.minecraft.world.phys.HitResult
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.phys.HitResult

    net.minecraft.world.phys.HitResult.Type
  • Field Summary

    Fields inherited from class net.minecraft.world.phys.HitResult

    location
  • Constructor Summary

    Constructors
    Constructor
    Description
    DistanceRayTraceResult(net.minecraft.world.phys.Vec3 hitVecIn, net.minecraft.core.Direction sideHitIn, net.minecraft.core.BlockPos blockPosIn, net.minecraft.world.phys.shapes.VoxelShape box, double distance)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    net.minecraft.world.phys.shapes.VoxelShape
     
    net.minecraft.world.phys.HitResult.Type
     

    Methods inherited from class net.minecraft.world.phys.HitResult

    distanceTo, getLocation

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DistanceRayTraceResult

      public DistanceRayTraceResult(net.minecraft.world.phys.Vec3 hitVecIn, net.minecraft.core.Direction sideHitIn, net.minecraft.core.BlockPos blockPosIn, net.minecraft.world.phys.shapes.VoxelShape box, double distance)
  • Method Details

    • getHitBox

      public net.minecraft.world.phys.shapes.VoxelShape getHitBox()
    • getDistance

      public double getDistance()
    • getType

      public net.minecraft.world.phys.HitResult.Type getType()
      Specified by:
      getType in class net.minecraft.world.phys.HitResult