net.minecraft.world.phys

public class BlockHitResult

extends HitResult

eda
net.minecraft.world.phys.BlockHitResult
net.minecraft.class_3965
net.minecraft.util.hit.BlockHitResult
net.minecraft.src.C_3041_
net.minecraft.world.phys.MovingObjectPositionBlock

Field summary

Modifier and TypeField
private final Direction
b
direction
field_17588
side
f_82410_
private final BlockPos
c
blockPos
field_17589
blockPos
f_82411_
private final boolean
d
miss
field_17590
missed
f_82412_
private final boolean
e
inside
field_17591
insideBlock
f_82413_

Constructor summary

ModifierConstructor
public (Vec3 pos, Direction side, BlockPos blockPos, boolean insideBlock)
private (boolean missed, Vec3 pos, Direction side, BlockPos blockPos, boolean insideBlock)

Method summary

Modifier and TypeMethod
public static BlockHitResult
a(ede arg0, gz arg1, gt arg2)
miss(Vec3 arg0, Direction arg1, BlockPos arg2)
method_17778(class_243 arg0, class_2350 arg1, class_2338 arg2)
createMissed(Vec3d pos, Direction side, BlockPos blockPos)
m_82426_(C_3046_ p_82427_, C_4687_ p_82428_, C_4675_ p_82429_)
public BlockHitResult
a(gz arg0)
withDirection(Direction arg0)
method_17779(class_2350 arg0)
withSide(Direction side)
m_82432_(C_4687_ arg0)
public BlockHitResult
a(gt arg0)
withPosition(BlockPos arg0)
method_29328(class_2338 arg0)
withBlockPos(BlockPos blockPos)
m_82430_(C_4675_ arg0)
public BlockPos
a()
getBlockPos()
method_17777()
getBlockPos()
m_82425_()
public Direction
b()
getDirection()
method_17780()
getSide()
m_82434_()
public HitResult$Type
c()
getType()
method_17783()
getType()
m_6662_()
public boolean
d()
isInside()
method_17781()
isInsideBlock()
m_82436_()