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 evo
-
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 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
Levo;b:Lje;
-
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
Levo;c:Liz;
-
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
Levo;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
Levo;e: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>
Levo;<init>(Levs;Lje;Liz;Z)V
-
BlockHitResult
private BlockHitResult(boolean missed, Vec3d pos, Direction side, BlockPos blockPos, boolean insideBlock) - 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;Z)V
intermediary <init>
Lnet/minecraft/class_3965;<init>(ZLnet/minecraft/class_243;Lnet/minecraft/class_2350;Lnet/minecraft/class_2338;Z)V
official <init>
Levo;<init>(ZLevs;Lje;Liz;Z)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
Levo;a(Levs;Lje;Liz;)Levo;
-
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
Levo;a(Lje;)Levo;
-
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
Levo;a(Liz;)Levo;
-
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 a
Levo;a()Liz;
-
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 b
Levo;b()Lje;
-
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 c
Levq;c()Levq$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 d
Levo;d()Z
-