net.minecraft.item

public class ItemUsageContext

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

Field summary

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

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()
func_195995_a()
public Direction
i()
method_8038()
getSide()
func_196000_l()
public Vec3d
j()
method_17698()
getHitPos()
func_221532_j()
public boolean
k()
method_17699()
method_17699()
func_221533_k()
public ItemStack
l()
method_8041()
getStack()
func_195996_i()
public PlayerEntity
m()
method_8036()
getPlayer()
func_195999_j()
public Hand
n()
method_20287()
getHand()
func_221531_n()
public World
o()
method_8045()
getWorld()
func_195991_k()
public Direction
f()
method_8042()
getPlayerFacing()
func_195992_f()
public boolean
g()
method_8046()
isPlayerSneaking()
func_195998_g()
public float
h()
method_8044()
getPlayerYaw()
func_195990_h()