net.minecraft.item

public class ItemUsageContext

bdp
net.minecraft.class_1838
net.minecraft.item.ItemUsageContext
net.minecraft.item.ItemUseContext
net.minecraft.item.ItemUseContext
net.minecraft.item.ItemUseContext

Field summary

Modifier and TypeField
protected final PlayerEntity
b
field_8942
player
player
field_196001_b
player
protected final Hand
c
field_19176
hand
f_95126607
field_221534_c
hand
protected final BlockHitResult
d
field_17543
hit
f_45692984
field_221535_d
rayTraceResult
protected final World
e
field_8945
world
world
field_196006_g
world
protected final ItemStack
f
field_8941
stack
item
field_196007_h
item

Constructor summary

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

Method summary

Modifier and TypeMethod
public BlockPos
a()
method_8037()
getBlockPos()
getPos()
func_195995_a()
getPos()
public Direction
i()
method_8038()
getSide()
getFace()
func_196000_l()
getFace()
public Vec3d
j()
method_17698()
getHitPos()
m_97766456()
func_221532_j()
getHitVec()
public boolean
k()
method_17699()
method_17699()
m_56223526()
func_221533_k()
isInside()
public ItemStack
l()
method_8041()
getStack()
getItem()
func_195996_i()
getItem()
public PlayerEntity
m()
method_8036()
getPlayer()
getPlayer()
func_195999_j()
getPlayer()
public Hand
n()
method_20287()
getHand()
m_48447171()
func_221531_n()
getHand()
public World
o()
method_8045()
getWorld()
getWorld()
func_195991_k()
getWorld()
public Direction
f()
method_8042()
getPlayerFacing()
getFacing()
func_195992_f()
getPlacementHorizontalFacing()
public boolean
g()
method_8046()
isPlayerSneaking()
isSneaking()
func_195998_g()
isPlacerSneaking()
public float
h()
method_8044()
getPlayerYaw()
getRotation()
func_195990_h()
getPlacementYaw()