Package net.minecraft.util.hit
Class HitResult
java.lang.Object
net.minecraft.util.hit.HitResult
- Direct Known Subclasses:
BlockHitResult
,EntityHitResult
- Mappings:
Namespace Name official edy
intermediary net/minecraft/class_239
named net/minecraft/util/hit/HitResult
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPos()
abstract HitResult.Type
getType()
double
squaredDistanceTo
(Entity entity)
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official a
Ledy;a:Leea;
intermediary field_1329
Lnet/minecraft/class_239;field_1329:Lnet/minecraft/class_243;
named pos
Lnet/minecraft/util/hit/HitResult;pos:Lnet/minecraft/util/math/Vec3d;
-
-
Constructor Details
-
HitResult
- Mappings:
Namespace Name Mixin selector official <init>
Ledy;<init>(Leea;)V
intermediary <init>
Lnet/minecraft/class_239;<init>(Lnet/minecraft/class_243;)V
named <init>
Lnet/minecraft/util/hit/HitResult;<init>(Lnet/minecraft/util/math/Vec3d;)V
-
-
Method Details
-
squaredDistanceTo
- Mappings:
Namespace Name Mixin selector official a
Ledy;a(Lbfh;)D
intermediary method_24801
Lnet/minecraft/class_239;method_24801(Lnet/minecraft/class_1297;)D
named squaredDistanceTo
Lnet/minecraft/util/hit/HitResult;squaredDistanceTo(Lnet/minecraft/entity/Entity;)D
-
getType
- Mappings:
Namespace Name Mixin selector official c
Ledy;c()Ledy$a;
intermediary method_17783
Lnet/minecraft/class_239;method_17783()Lnet/minecraft/class_239$class_240;
named getType
Lnet/minecraft/util/hit/HitResult;getType()Lnet/minecraft/util/hit/HitResult$Type;
-
getPos
- Mappings:
Namespace Name Mixin selector official e
Ledy;e()Leea;
intermediary method_17784
Lnet/minecraft/class_239;method_17784()Lnet/minecraft/class_243;
named getPos
Lnet/minecraft/util/hit/HitResult;getPos()Lnet/minecraft/util/math/Vec3d;
-