Class RayHelper.CustomHitResult

java.lang.Object
net.minecraft.world.phys.HitResult
com.petrolpark.util.RayHelper.CustomHitResult
Enclosing class:
RayHelper

public static class RayHelper.CustomHitResult 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
    Modifier and Type
    Field
    Description
    final int
     

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

    location
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CustomHitResult(net.minecraft.world.phys.Vec3 location, int index)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
  • Field Details

    • index

      public final int index
  • Constructor Details

    • CustomHitResult

      protected CustomHitResult(net.minecraft.world.phys.Vec3 location, int index)
  • Method Details

    • getType

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