net.minecraft.item

public class BlockPlaceContext

extends ItemUseContext

bae
net.minecraft.class_1750
net.minecraft.item.BlockPlaceContext
net.minecraft.item.BlockItemUseContext
net.minecraft.item.BlockItemUseContext

Field summary

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

Constructor summary

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

Method summary

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