Package com.petrolpark.util
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
FieldsFields inherited from class net.minecraft.world.phys.HitResult
location -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCustomHitResult(net.minecraft.world.phys.Vec3 location, int index) -
Method Summary
Methods inherited from class net.minecraft.world.phys.HitResult
distanceTo, getLocation
-
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:
getTypein classnet.minecraft.world.phys.HitResult
-