net.minecraft.server.v1_14_R1

public class BlockActionContext

extends ItemActionContext

bai
net.minecraft.class_1750
net.minecraft.item.ItemPlacementContext
net.minecraft.item.BlockItemUseContext
net.minecraft.server.v1_14_R1.BlockActionContext

Field summary

Modifier and TypeField
private final BlockPosition
g
field_7903
placementPos
field_196014_j
protected boolean
a
field_7904
canReplaceExisting
field_196013_a

Constructor summary

ModifierConstructor
public (ItemActionContext arg0)
protected (World arg0, EntityHuman arg1, EnumHand arg2, ItemStack arg3, MovingObjectPositionBlock arg4)

Method summary

Modifier and TypeMethod
public static BlockActionContext
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)
func_221536_a(BlockItemUseContext arg0, BlockPos arg1, Direction arg2)
public BlockPosition
a()
method_8037()
getBlockPos()
func_195995_a()
getClickPosition()
public boolean
b()
method_7716()
canPlace()
func_196011_b()
public boolean
c()
method_7717()
canReplaceExisting()
func_196012_c()
public EnumDirection
d()
method_7715()
getPlayerLookDirection()
func_196010_d()
public EnumDirection[]
e()
method_7718()
getPlacementDirections()
func_196009_e()