net.minecraft.world.phys

public class BlockHitResult

extends HitResult

fbt
net.minecraft.world.phys.BlockHitResult
net.minecraft.class_3965
net.minecraft.unmapped.C_jdakttms
net.minecraft.util.hit.BlockHitResult
net.minecraft.util.hit.BlockHitResult
net.minecraft.src.C_3041_
net.minecraft.world.phys.AxisAlignedBB

Field summary

Modifier and TypeField
private final Direction
b
direction
field_17588
f_eiicdfbj
side
side
f_82410_
private final BlockPos
c
blockPos
field_17589
f_jebasoic
blockPos
blockPos
f_82411_
private final boolean
d
miss
field_17590
f_hyjmtiqx
missed
missed
f_82412_
private final boolean
e
inside
field_17591
f_iwjzewjk
insideBlock
insideBlock
f_82413_
private final boolean
f
worldBorderHit
field_53823
f_qszgmmac
againstWorldBorder
hitWorldBorder
f_346226_

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(fbx arg0, jm arg1, jh arg2)
miss(Vec3 arg0, Direction arg1, BlockPos arg2)
method_17778(class_243 arg0, class_2350 arg1, class_2338 arg2)
m_bvfnqjyq(C_vgpupfxx arg0, C_xpuuihxf arg1, C_hynzadkk arg2)
createMissed(Vec3d pos, Direction side, BlockPos blockPos)
createMissed(Vec3d pos, Direction side, BlockPos blockPos)
m_82426_(C_3046_ p_82427_, C_4687_ p_82428_, C_4675_ p_82429_)
public BlockHitResult
a(jm arg0)
withDirection(Direction arg0)
method_17779(class_2350 arg0)
m_ajzjlusu(C_xpuuihxf arg0)
withSide(Direction side)
withSide(Direction side)
m_82432_(C_4687_ arg0)
public BlockHitResult
a(jh arg0)
withPosition(BlockPos arg0)
method_29328(class_2338 arg0)
m_nallecrp(C_hynzadkk arg0)
withBlockPos(BlockPos blockPos)
withBlockPos(BlockPos blockPos)
m_82430_(C_4675_ arg0)
public BlockHitResult
a()
hitBorder()
method_62876()
m_rzuzqmeh()
againstWorldBorder()
m_357194_()
public BlockPos
b()
getBlockPos()
method_17777()
m_vjgmulgm()
getBlockPos()
getBlockPos()
m_82425_()
public Direction
c()
getDirection()
method_17780()
m_cftjzwqf()
getSide()
getSide()
m_82434_()
public HitResult$Type
d()
getType()
method_17783()
m_dnkojiti()
getType()
getType()
m_6662_()
public boolean
e()
isInside()
method_17781()
m_ufhsbnfs()
isInsideBlock()
isInsideBlock()
m_82436_()
public boolean
f()
isWorldBorderHit()
method_62877()
m_pfrejwjs()
isAgainstWorldBorder()
hitWorldBorder()
m_352102_()