Class PartRayTraceResult

java.lang.Object
net.minecraft.world.phys.HitResult
net.minecraft.world.phys.BlockHitResult
codechicken.lib.raytracer.SubHitBlockHitResult
codechicken.multipart.util.PartRayTraceResult
All Implemented Interfaces:
Comparable<codechicken.lib.raytracer.SubHitBlockHitResult>

public class PartRayTraceResult extends codechicken.lib.raytracer.SubHitBlockHitResult
Created by covers1624 on 2/9/20.
  • Nested Class Summary

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

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

    Fields
    Modifier and Type
    Field
    Description
    final MultiPart
     

    Fields inherited from class codechicken.lib.raytracer.SubHitBlockHitResult

    dist, hitInfo, subHit

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

    location
  • Constructor Summary

    Constructors
    Constructor
    Description
    PartRayTraceResult(MultiPart part, codechicken.lib.raytracer.SubHitBlockHitResult hit)
     
    PartRayTraceResult(MultiPart part, codechicken.lib.vec.Vector3 hitVec, net.minecraft.core.Direction faceIn, net.minecraft.core.BlockPos posIn, boolean isInside, Object data, double dist)
     
    PartRayTraceResult(MultiPart part, net.minecraft.world.phys.BlockHitResult hit, net.minecraft.world.phys.Vec3 start)
     
  • Method Summary

    Methods inherited from class codechicken.lib.raytracer.SubHitBlockHitResult

    compareTo, toString, withDirection

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

    getBlockPos, getDirection, getType, isInside, miss, withPosition

    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, wait, wait, wait
  • Field Details

  • Constructor Details

    • PartRayTraceResult

      public PartRayTraceResult(MultiPart part, net.minecraft.world.phys.BlockHitResult hit, net.minecraft.world.phys.Vec3 start)
    • PartRayTraceResult

      public PartRayTraceResult(MultiPart part, codechicken.lib.raytracer.SubHitBlockHitResult hit)
    • PartRayTraceResult

      public PartRayTraceResult(MultiPart part, codechicken.lib.vec.Vector3 hitVec, net.minecraft.core.Direction faceIn, net.minecraft.core.BlockPos posIn, boolean isInside, Object data, double dist)