Package net.minecraft.util.hit
Class BlockHitResult
java.lang.Object
net.minecraft.util.hit.HitResult
net.minecraft.util.hit.BlockHitResult
- Mappings:
Namespace Name official eee
intermediary net/minecraft/class_3965
named net/minecraft/util/hit/BlockHitResult
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.hit.HitResult
HitResult.Type
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
BlockHitResult
(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult
(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockHitResult
createMissed
(Vec3d pos, Direction side, BlockPos blockPos) getSide()
getType()
boolean
withBlockPos
(BlockPos blockPos) Methods inherited from class net.minecraft.util.hit.HitResult
getPos, squaredDistanceTo
-
Field Details
-
side
- Mappings:
Namespace Name Mixin selector official b
Leee;b:Lha;
intermediary field_17588
Lnet/minecraft/class_3965;field_17588:Lnet/minecraft/class_2350;
named side
Lnet/minecraft/util/hit/BlockHitResult;side:Lnet/minecraft/util/math/Direction;
-
blockPos
- Mappings:
Namespace Name Mixin selector official c
Leee;c:Lgu;
intermediary field_17589
Lnet/minecraft/class_3965;field_17589:Lnet/minecraft/class_2338;
named blockPos
Lnet/minecraft/util/hit/BlockHitResult;blockPos:Lnet/minecraft/util/math/BlockPos;
-
missed
private final boolean missed- Mappings:
Namespace Name Mixin selector official d
Leee;d:Z
intermediary field_17590
Lnet/minecraft/class_3965;field_17590:Z
named missed
Lnet/minecraft/util/hit/BlockHitResult;missed:Z
-
insideBlock
private final boolean insideBlock- Mappings:
Namespace Name Mixin selector official e
Leee;e:Z
intermediary field_17591
Lnet/minecraft/class_3965;field_17591:Z
named insideBlock
Lnet/minecraft/util/hit/BlockHitResult;insideBlock:Z
-
-
Constructor Details
-
BlockHitResult
- Mappings:
Namespace Name Mixin selector official <init>
Leee;<init>(Leei;Lha;Lgu;Z)V
intermediary <init>
Lnet/minecraft/class_3965;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Z)V
named <init>
Lnet/minecraft/util/hit/BlockHitResult;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Z)V
-
BlockHitResult
private BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) - Mappings:
Namespace Name Mixin selector official <init>
Leee;<init>(ZLeei;Lha;Lgu;Z)V
intermediary <init>
Lnet/minecraft/class_3965;<init>(ZLnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Z)V
named <init>
Lnet/minecraft/util/hit/BlockHitResult;<init>(ZLnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;Z)V
-
-
Method Details
-
createMissed
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Leei;Lha;Lgu;)Leee;
intermediary method_17778
Lnet/minecraft/class_3965;method_17778(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;)Lnet/minecraft/class_3965;
named createMissed
Lnet/minecraft/util/hit/BlockHitResult;createMissed(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/hit/BlockHitResult;
-
withSide
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Lha;)Leee;
intermediary method_17779
Lnet/minecraft/class_3965;method_17779(Lnet/minecraft/class_2350;)Lnet/minecraft/class_3965;
named withSide
Lnet/minecraft/util/hit/BlockHitResult;withSide(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/hit/BlockHitResult;
-
withBlockPos
- Mappings:
Namespace Name Mixin selector official a
Leee;a(Lgu;)Leee;
intermediary method_29328
Lnet/minecraft/class_3965;method_29328(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3965;
named withBlockPos
Lnet/minecraft/util/hit/BlockHitResult;withBlockPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/hit/BlockHitResult;
-
getBlockPos
- Mappings:
Namespace Name Mixin selector official a
Leee;a()Lgu;
intermediary method_17777
Lnet/minecraft/class_3965;method_17777()Lnet/minecraft/class_2338;
named getBlockPos
Lnet/minecraft/util/hit/BlockHitResult;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-
getSide
- Mappings:
Namespace Name Mixin selector official b
Leee;b()Lha;
intermediary method_17780
Lnet/minecraft/class_3965;method_17780()Lnet/minecraft/class_2350;
named getSide
Lnet/minecraft/util/hit/BlockHitResult;getSide()Lnet/minecraft/util/math/Direction;
-
getType
- Specified by:
getType
in classHitResult
- Mappings:
Namespace Name Mixin selector official c
Leeg;c()Leeg$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;
-
isInsideBlock
public boolean isInsideBlock()- Mappings:
Namespace Name Mixin selector official d
Leee;d()Z
intermediary method_17781
Lnet/minecraft/class_3965;method_17781()Z
named isInsideBlock
Lnet/minecraft/util/hit/BlockHitResult;isInsideBlock()Z
-