Class ExpandHitResult

java.lang.Object
com.blamejared.crafttweaker.natives.util.ExpandHitResult

@ZenRegister public class ExpandHitResult extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    distanceTo(net.minecraft.world.phys.HitResult internal, net.minecraft.world.entity.Entity entity)
     
    static net.minecraft.world.phys.Vec3
    getLocation(net.minecraft.world.phys.HitResult internal)
     
    static net.minecraft.world.phys.HitResult.Type
    getType(net.minecraft.world.phys.HitResult internal)
     

    Methods inherited from class java.lang.Object

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

    • ExpandHitResult

      public ExpandHitResult()
  • Method Details

    • distanceTo

      public static double distanceTo(net.minecraft.world.phys.HitResult internal, net.minecraft.world.entity.Entity entity)
    • getType

      public static net.minecraft.world.phys.HitResult.Type getType(net.minecraft.world.phys.HitResult internal)
    • getLocation

      public static net.minecraft.world.phys.Vec3 getLocation(net.minecraft.world.phys.HitResult internal)