net.minecraft.world.item.context

public class DirectionalPlaceContext

extends BlockPlaceContext

bnz
net.minecraft.world.item.context.DirectionalPlaceContext
net.minecraft.class_2968
net.minecraft.unmapped.C_ysjsxcqu
net.minecraft.item.AutomaticItemPlacementContext
net.minecraft.item.DirectionalPlaceContext
net.minecraft.server.v1_16_R3.BlockActionContextDirectional

Field summary

Modifier and TypeField
private final Direction
b
direction
field_13362
f_gsczoaoj
facing
field_221537_g

Constructor summary

ModifierConstructor
public (Level world, BlockPos pos, Direction facing, ItemStack stack, Direction side)

Method summary

Modifier and TypeMethod
public BlockPos
a()
getClickedPos()
method_8037()
m_etvpwcoa()
getBlockPos()
func_195995_a()
getClickPosition()
public boolean
b()
canPlace()
method_7716()
m_yqsaetuv()
canPlace()
func_196011_b()
public boolean
c()
replacingClickedOnBlock()
method_7717()
m_klwcybwt()
canReplaceExisting()
func_196012_c()
public Direction
d()
getNearestLookingDirection()
method_7715()
m_bnjauzop()
getPlayerLookDirection()
func_196010_d()
public Direction[]
e()
getNearestLookingDirections()
method_7718()
m_ctvkvgfz()
getPlacementDirections()
func_196009_e()
public Direction
f()
getHorizontalDirection()
method_8042()
m_igmtvctc()
getPlayerFacing()
func_195992_f()
public boolean
g()
isSecondaryUseActive()
method_8046()
m_nxgmdcsa()
shouldCancelInteraction()
func_225518_g_()
isSneaking()
public float
h()
getRotation()
method_8044()
m_ogbwazjx()
getPlayerYaw()
func_195990_h()