net.minecraft.item

public class ItemPlacementContext

extends ItemUsageContext

bai
net.minecraft.class_1750
net.minecraft.item.ItemPlacementContext
net.minecraft.item.BlockPlaceContext
net.minecraft.item.BlockItemUseContext
net.minecraft.item.BlockItemUseContext

Field summary

Modifier and TypeField
private final BlockPos
g
field_7903
placementPos
offsetPos
field_196014_j
offsetPos
protected boolean
a
field_7904
canReplaceExisting
replace
field_196013_a
replaceClicked

Constructor summary

ModifierConstructor
public (ItemUsageContext context)
protected (World arg0, PlayerEntity arg1, Hand arg2, ItemStack arg3, BlockHitResult arg4)

Method summary

Modifier and TypeMethod
public static ItemPlacementContext
a(bai arg0, ev arg1, fa arg2)
method_16355(class_1750 arg0, class_2338 arg1, class_2350 arg2)
offset(ItemPlacementContext arg0, BlockPos arg1, Direction arg2)
m_93300922(BlockPlaceContext arg0, BlockPos arg1, Direction arg2)
func_221536_a(BlockItemUseContext arg0, BlockPos arg1, Direction arg2)
func_221536_a(BlockItemUseContext context, BlockPos pos, Direction directionIn)
public BlockPos
a()
method_8037()
getBlockPos()
getPos()
func_195995_a()
getPos()
public boolean
b()
method_7716()
canPlace()
canPlace()
func_196011_b()
canPlace()
public boolean
c()
method_7717()
canReplaceExisting()
canReplace()
func_196012_c()
replacingClickedOnBlock()
public Direction
d()
method_7715()
getPlayerLookDirection()
getNearestLookingDirection()
func_196010_d()
getNearestLookingDirection()
public Direction[]
e()
method_7718()
getPlacementDirections()
getNearestLookingDirections()
func_196009_e()
getNearestLookingDirections()