net.minecraft.world.item

public class DirectionalPlaceContext

extends BlockPlaceContext

bjc
net.minecraft.world.item.DirectionalPlaceContext
net.minecraft.class_2968
net.minecraft.item.AutomaticItemPlacementContext
net.minecraft.item.DirectionalPlaceContext
net.minecraft.server.v1_16_R1.BlockActionContextDirectional

Field summary

Modifier and TypeField
private final Direction
g
direction
field_13362
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()
getBlockPos()
func_195995_a()
getClickPosition()
public boolean
b()
canPlace()
method_7716()
canPlace()
func_196011_b()
public boolean
c()
replacingClickedOnBlock()
method_7717()
canReplaceExisting()
func_196012_c()
public Direction
d()
getNearestLookingDirection()
method_7715()
getPlayerLookDirection()
func_196010_d()
public Direction[]
e()
getNearestLookingDirections()
method_7718()
getPlacementDirections()
func_196009_e()
public Direction
f()
getHorizontalDirection()
method_8042()
getPlayerFacing()
func_195992_f()
public boolean
g()
isSecondaryUseActive()
method_8046()
shouldCancelInteraction()
func_225518_g_()
isSneaking()
public float
h()
getRotation()
method_8044()
getPlayerYaw()
func_195990_h()