net.minecraft.world.item.context

public class DirectionalPlaceContext

extends BlockPlaceContext

cpi
net.minecraft.world.item.context.DirectionalPlaceContext
net.minecraft.class_2968
net.minecraft.unmapped.C_ysjsxcqu
net.minecraft.item.AutomaticItemPlacementContext
net.minecraft.item.AutomaticItemPlacementContext
net.minecraft.src.C_1446_
net.minecraft.world.item.context.BlockActionContextDirectional

Field summary

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

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()
getBlockPos()
m_8083_()
public boolean
b()
canPlace()
method_7716()
m_yqsaetuv()
canPlace()
canPlace()
m_7059_()
public boolean
c()
replacingClickedOnBlock()
method_7717()
m_klwcybwt()
canReplaceExisting()
canReplaceExisting()
m_7058_()
public Direction
d()
getNearestLookingDirection()
method_7715()
m_bnjauzop()
getPlayerLookDirection()
getPlayerLookDirection()
m_7820_()
public Direction[]
f()
getNearestLookingDirections()
method_7718()
m_ctvkvgfz()
getPlacementDirections()
getPlacementDirections()
m_6232_()
public Direction
g()
getHorizontalDirection()
method_8042()
m_igmtvctc()
getHorizontalPlayerFacing()
getPlayerFacing()
m_8125_()
public boolean
h()
isSecondaryUseActive()
method_8046()
m_nxgmdcsa()
shouldCancelInteraction()
shouldCancelInteraction()
m_7078_()
public float
i()
getRotation()
method_8044()
m_ogbwazjx()
getPlayerYaw()
getPlayerYaw()
m_7074_()