net.minecraft.world.phys

public class BlockHitResult

extends HitResult

dcj
net.minecraft.world.phys.BlockHitResult
net.minecraft.class_3965
net.minecraft.util.hit.BlockHitResult
net.minecraft.util.math.BlockRayTraceResult
net.minecraft.server.v1_16_R3.MovingObjectPositionBlock

Field summary

Modifier and TypeField
private final Direction
b
direction
field_17588
side
field_216355_b
private final BlockPos
c
blockPos
field_17589
blockPos
field_216356_c
private final boolean
d
miss
field_17590
missed
field_216357_d
private final boolean
e
inside
field_17591
insideBlock
field_216358_e

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(dcn arg0, gc arg1, fx 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)
func_216352_a(Vector3d arg0, Direction arg1, BlockPos arg2)
public BlockHitResult
a(gc arg0)
withDirection(Direction arg0)
method_17779(class_2350 arg0)
withSide(Direction side)
func_216351_a(Direction arg0)
public BlockHitResult
a(fx arg0)
withPosition(BlockPos arg0)
method_29328(class_2338 arg0)
withBlockPos(BlockPos blockPos)
func_237485_a_(BlockPos arg0)
public BlockPos
a()
getBlockPos()
method_17777()
getBlockPos()
func_216350_a()
getBlockPosition()
public Direction
b()
getDirection()
method_17780()
getSide()
func_216354_b()
getDirection()
public HitResult$Type
c()
getType()
method_17783()
getType()
func_216346_c()
getType()
public boolean
d()
isInside()
method_17781()
isInsideBlock()
func_216353_d()