net.minecraft.item

public class ItemUsageContext

bfw
net.minecraft.world.item.UseOnContext
net.minecraft.class_1838
net.minecraft.item.ItemUsageContext
net.minecraft.unmapped.C_yyklzime
net.minecraft.item.ItemUseContext
net.minecraft.item.ItemUseContext

Field summary

Modifier and TypeField
protected final PlayerEntity
b
player
field_8942
player
f_qzfxiqgn
field_196001_b
player
protected final Hand
c
hand
field_19176
hand
f_xzotiqow
field_221534_c
hand
protected final BlockHitResult
d
hitResult
field_17543
hit
f_vgdiwvxq
field_221535_d
rayTraceResult
protected final World
e
level
field_8945
world
f_snfyuyhe
field_196006_g
world
protected final ItemStack
f
itemStack
field_8941
stack
f_aakroevx
field_196007_h
item

Constructor summary

ModifierConstructor
public (PlayerEntity player, Hand hand, BlockHitResult hit)
protected (World world, PlayerEntity player, Hand hand, ItemStack stack, BlockHitResult hit)

Method summary

Modifier and TypeMethod
public BlockPos
a()
getClickedPos()
method_8037()
getBlockPos()
m_etvpwcoa()
func_195995_a()
getPos()
public Direction
i()
getClickedFace()
method_8038()
getSide()
m_oxmychkz()
func_196000_l()
getFace()
public Vec3d
j()
getClickLocation()
method_17698()
getHitPos()
m_hgwrdlrt()
func_221532_j()
getHitVec()
public boolean
k()
isInside()
method_17699()
hitsInsideBlock()
m_lagisllr()
func_221533_k()
isInside()
public ItemStack
l()
getItemInHand()
method_8041()
getStack()
m_nbpliefr()
func_195996_i()
getItem()
public PlayerEntity
m()
getPlayer()
method_8036()
getPlayer()
m_nipacdtq()
func_195999_j()
getPlayer()
public Hand
n()
getHand()
method_20287()
getHand()
m_vffsbues()
func_221531_n()
getHand()
public World
o()
getLevel()
method_8045()
getWorld()
m_ghcbeywg()
func_195991_k()
getWorld()
public Direction
f()
getHorizontalDirection()
method_8042()
getPlayerFacing()
m_igmtvctc()
func_195992_f()
getPlacementHorizontalFacing()
public boolean
g()
isSecondaryUseActive()
method_8046()
shouldCancelInteraction()
m_nxgmdcsa()
func_225518_g_()
func_225518_g_()
public float
h()
getRotation()
method_8044()
getPlayerYaw()
m_ogbwazjx()
func_195990_h()
getPlacementYaw()