Package net.minecraft.world.phys
Class BlockHitResult
java.lang.Object
net.minecraft.world.phys.HitResult
net.minecraft.world.phys.BlockHitResult
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.phys.HitResult
HitResult.Type
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
BlockHitResult
(boolean p_82420_, Vec3 p_82421_, Direction p_82422_, BlockPos p_82423_, boolean p_82424_) BlockHitResult
(Vec3 p_82415_, Direction p_82416_, BlockPos p_82417_, boolean p_82418_) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
isInside()
static BlockHitResult
withDirection
(Direction p_82433_) withPosition
(BlockPos p_82431_) Methods inherited from class net.minecraft.world.phys.HitResult
distanceTo, getLocation
-
Field Details
-
direction
-
blockPos
-
miss
private final boolean miss -
inside
private final boolean inside
-
-
Constructor Details
-
BlockHitResult
-
BlockHitResult
-
-
Method Details