Package net.minecraft.util.hit
Class HitResult
java.lang.Object
net.minecraft.util.hit.HitResult
- Direct Known Subclasses:
BlockHitResult
,EntityHitResult
- Mappings:
Namespace Name official elr
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
Lelr;a:Lelt;
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>
Lelr;<init>(Lelt;)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
Lelr;a(Lblv;)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
Lelr;c()Lelr$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
Lelr;e()Lelt;
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;
-