net.minecraft.world.phys

public class BlockHitResult

extends HitResult

fax
net.minecraft.world.phys.BlockHitResult
net.minecraft.class_3965
net.minecraft.util.hit.BlockHitResult
net.minecraft.world.phys.MovingObjectPositionBlock

Field summary

Modifier and TypeField
private final Direction
b
direction
field_17588
side
private final BlockPos
c
blockPos
field_17589
blockPos
private final boolean
d
miss
field_17590
missed
private final boolean
e
inside
field_17591
insideBlock
private final boolean
f
worldBorderHit
field_53823
againstWorldBorder

Constructor summary

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

Method summary

Modifier and TypeMethod
public static BlockHitResult
a(fbb arg0, jn arg1, ji 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)
public BlockHitResult
a(jn arg0)
withDirection(Direction arg0)
method_17779(class_2350 arg0)
withSide(Direction side)
public BlockHitResult
a(ji arg0)
withPosition(BlockPos arg0)
method_29328(class_2338 arg0)
withBlockPos(BlockPos blockPos)
public BlockHitResult
a()
hitBorder()
method_62876()
againstWorldBorder()
public BlockPos
b()
getBlockPos()
method_17777()
getBlockPos()
public Direction
c()
getDirection()
method_17780()
getSide()
public HitResult$Type
d()
getType()
method_17783()
getType()
public boolean
e()
isInside()
method_17781()
isInsideBlock()
public boolean
f()
isWorldBorderHit()
method_62877()
isAgainstWorldBorder()