Package net.minecraft.util.hit
Class HitResult
java.lang.Object
net.minecraft.util.hit.HitResult
- Direct Known Subclasses:
BlockHitResult
,EntityHitResult
- Mappings:
Namespace Name named net/minecraft/util/hit/HitResult
intermediary net/minecraft/class_239
official fbv
-
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 named pos
Lnet/minecraft/util/hit/HitResult;pos:Lnet/minecraft/util/math/Vec3d;
intermediary field_1329
Lnet/minecraft/class_239;field_1329:Lnet/minecraft/class_243;
official a
Lfbv;a:Lfbx;
-
-
Constructor Details
-
HitResult
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/hit/HitResult;<init>(Lnet/minecraft/util/math/Vec3d;)V
intermediary <init>
Lnet/minecraft/class_239;<init>(Lnet/minecraft/class_243;)V
official <init>
Lfbv;<init>(Lfbx;)V
-
-
Method Details
-
squaredDistanceTo
- Mappings:
Namespace Name Mixin selector named squaredDistanceTo
Lnet/minecraft/util/hit/HitResult;squaredDistanceTo(Lnet/minecraft/entity/Entity;)D
intermediary method_24801
Lnet/minecraft/class_239;method_24801(Lnet/minecraft/class_1297;)D
official a
Lfbv;a(Lbvj;)D
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/util/hit/HitResult;getType()Lnet/minecraft/util/hit/HitResult$Type;
intermediary method_17783
Lnet/minecraft/class_239;method_17783()Lnet/minecraft/class_239$class_240;
official d
Lfbv;d()Lfbv$a;
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/util/hit/HitResult;getPos()Lnet/minecraft/util/math/Vec3d;
intermediary method_17784
Lnet/minecraft/class_239;method_17784()Lnet/minecraft/class_243;
official g
Lfbv;g()Lfbx;
-