Class RayTraceUtils

java.lang.Object
api.block.util.RayTraceUtils

public class RayTraceUtils extends Object
  • Constructor Details

    • RayTraceUtils

      public RayTraceUtils(World world, int i, int j, int k, Vec3 startRay, Vec3 endRay)
  • Method Details

    • addBoxWithLocalCoordsToIntersectionList

      public void addBoxWithLocalCoordsToIntersectionList(AxisAlignedBB box)
    • addBoxWithLocalCoordsToIntersectionList

      public void addBoxWithLocalCoordsToIntersectionList(double fMinX, double fMinY, double fMinZ, double fMaxX, double fMaxY, double fMaxZ)
    • addQuadWithLocalCoordsToIntersectionList

      public void addQuadWithLocalCoordsToIntersectionList(PrimitiveQuad quad, Vec3 pointOnQuad)
    • convertVectorToApproximateBlockFacing

      public int convertVectorToApproximateBlockFacing(Vec3 vec)
    • getFirstIntersection

      public MovingObjectPosition getFirstIntersection()