Package net.minecraft.util.hit
Class BlockHitResult
java.lang.Object
net.minecraft.util.hit.HitResult
net.minecraft.util.hit.BlockHitResult
- Mappings:
Namespace Name named net/minecraft/util/hit/BlockHitResult
intermediary net/minecraft/class_3965
official fbt
-
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, boolean againstWorldBorder) BlockHitResult
(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) BlockHitResult
(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockHitResult
createMissed
(Vec3d pos, Direction side, BlockPos blockPos) getSide()
getType()
boolean
boolean
withBlockPos
(BlockPos blockPos) Methods inherited from class net.minecraft.util.hit.HitResult
getPos, squaredDistanceTo
-
Field Details
-
side
- Mappings:
Namespace Name Mixin selector named side
Lnet/minecraft/util/hit/BlockHitResult;side:Lnet/minecraft/util/math/Direction;
intermediary field_17588
Lnet/minecraft/class_3965;field_17588:Lnet/minecraft/class_2350;
official b
Lfbt;b:Ljm;
-
blockPos
- Mappings:
Namespace Name Mixin selector named blockPos
Lnet/minecraft/util/hit/BlockHitResult;blockPos:Lnet/minecraft/util/math/BlockPos;
intermediary field_17589
Lnet/minecraft/class_3965;field_17589:Lnet/minecraft/class_2338;
official c
Lfbt;c:Ljh;
-
missed
private final boolean missed- Mappings:
Namespace Name Mixin selector named missed
Lnet/minecraft/util/hit/BlockHitResult;missed:Z
intermediary field_17590
Lnet/minecraft/class_3965;field_17590:Z
official d
Lfbt;d:Z
-
insideBlock
private final boolean insideBlock- Mappings:
Namespace Name Mixin selector named insideBlock
Lnet/minecraft/util/hit/BlockHitResult;insideBlock:Z
intermediary field_17591
Lnet/minecraft/class_3965;field_17591:Z
official e
Lfbt;e:Z
-
againstWorldBorder
private final boolean againstWorldBorder- Mappings:
Namespace Name Mixin selector named againstWorldBorder
Lnet/minecraft/util/hit/BlockHitResult;againstWorldBorder:Z
intermediary field_53823
Lnet/minecraft/class_3965;field_53823:Z
official f
Lfbt;f:Z
-
-
Constructor Details
-
BlockHitResult
- Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_3965;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Z)V
official <init>
Lfbt;<init>(Lfbx;Ljm;Ljh;Z)V
-
BlockHitResult
public BlockHitResult(Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/hit/BlockHitResult;<init>(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;ZZ)V
intermediary <init>
Lnet/minecraft/class_3965;<init>(Lnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;ZZ)V
official <init>
Lfbt;<init>(Lfbx;Ljm;Ljh;ZZ)V
-
BlockHitResult
private BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock, boolean againstWorldBorder) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/hit/BlockHitResult;<init>(ZLnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/BlockPos;ZZ)V
intermediary <init>
Lnet/minecraft/class_3965;<init>(ZLnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;ZZ)V
official <init>
Lfbt;<init>(ZLfbx;Ljm;Ljh;ZZ)V
-
-
Method Details
-
createMissed
- Mappings:
Namespace Name Mixin selector 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;
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;
official a
Lfbt;a(Lfbx;Ljm;Ljh;)Lfbt;
-
withSide
- Mappings:
Namespace Name Mixin selector named withSide
Lnet/minecraft/util/hit/BlockHitResult;withSide(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/hit/BlockHitResult;
intermediary method_17779
Lnet/minecraft/class_3965;method_17779(Lnet/minecraft/class_2350;)Lnet/minecraft/class_3965;
official a
Lfbt;a(Ljm;)Lfbt;
-
withBlockPos
- Mappings:
Namespace Name Mixin selector named withBlockPos
Lnet/minecraft/util/hit/BlockHitResult;withBlockPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/hit/BlockHitResult;
intermediary method_29328
Lnet/minecraft/class_3965;method_29328(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3965;
official a
Lfbt;a(Ljh;)Lfbt;
-
againstWorldBorder
- Mappings:
Namespace Name Mixin selector named againstWorldBorder
Lnet/minecraft/util/hit/BlockHitResult;againstWorldBorder()Lnet/minecraft/util/hit/BlockHitResult;
intermediary method_62876
Lnet/minecraft/class_3965;method_62876()Lnet/minecraft/class_3965;
official a
Lfbt;a()Lfbt;
-
getBlockPos
- Mappings:
Namespace Name Mixin selector named getBlockPos
Lnet/minecraft/util/hit/BlockHitResult;getBlockPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_17777
Lnet/minecraft/class_3965;method_17777()Lnet/minecraft/class_2338;
official b
Lfbt;b()Ljh;
-
getSide
- Mappings:
Namespace Name Mixin selector named getSide
Lnet/minecraft/util/hit/BlockHitResult;getSide()Lnet/minecraft/util/math/Direction;
intermediary method_17780
Lnet/minecraft/class_3965;method_17780()Lnet/minecraft/class_2350;
official c
Lfbt;c()Ljm;
-
getType
- Specified by:
getType
in classHitResult
- 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;
-
isInsideBlock
public boolean isInsideBlock()- Mappings:
Namespace Name Mixin selector named isInsideBlock
Lnet/minecraft/util/hit/BlockHitResult;isInsideBlock()Z
intermediary method_17781
Lnet/minecraft/class_3965;method_17781()Z
official e
Lfbt;e()Z
-
isAgainstWorldBorder
public boolean isAgainstWorldBorder()- Mappings:
Namespace Name Mixin selector named isAgainstWorldBorder
Lnet/minecraft/util/hit/BlockHitResult;isAgainstWorldBorder()Z
intermediary method_62877
Lnet/minecraft/class_3965;method_62877()Z
official f
Lfbt;f()Z
-