public class DirectionalPlaceContext extends BlockItemUseContext
replaceClickedhand, item, player, rayTraceResult, world| Constructor and Description | 
|---|
| DirectionalPlaceContext(World p_i50051_1_,
                       BlockPos p_i50051_2_,
                       Direction p_i50051_3_,
                       ItemStack p_i50051_4_,
                       Direction against) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canPlace() | 
| Direction | getNearestLookingDirection() | 
| Direction[] | getNearestLookingDirections() | 
| Direction | getPlacementHorizontalFacing() | 
| float | getPlacementYaw() | 
| BlockPos | getPos() | 
| boolean | isPlacerSneaking() | 
| boolean | replacingClickedOnBlock() | 
func_221536_afunc_221533_k, getFace, getHand, getHitVec, getItem, getPlayer, getWorldpublic BlockPos getPos()
getPos in class BlockItemUseContextpublic boolean canPlace()
canPlace in class BlockItemUseContextpublic boolean replacingClickedOnBlock()
replacingClickedOnBlock in class BlockItemUseContextpublic Direction getNearestLookingDirection()
getNearestLookingDirection in class BlockItemUseContextpublic Direction[] getNearestLookingDirections()
getNearestLookingDirections in class BlockItemUseContextpublic Direction getPlacementHorizontalFacing()
getPlacementHorizontalFacing in class ItemUseContextpublic boolean isPlacerSneaking()
isPlacerSneaking in class ItemUseContextpublic float getPlacementYaw()
getPlacementYaw in class ItemUseContext