net.minecraft.item

public class ItemUsageContext

bwg
net.minecraft.world.item.context.UseOnContext
net.minecraft.class_1838
net.minecraft.item.ItemUsageContext
net.minecraft.unmapped.C_yyklzime
net.minecraft.src.C_1450_

Field summary

Modifier and TypeField
private final PlayerEntity
a
player
field_8942
player
f_qzfxiqgn
f_43703_
private final Hand
b
hand
field_19176
hand
f_xzotiqow
f_43704_
private final BlockHitResult
c
hitResult
field_17543
hit
f_vgdiwvxq
f_43705_
private final World
d
level
field_8945
world
f_snfyuyhe
f_43706_
private final ItemStack
e
itemStack
field_8941
stack
f_aakroevx
f_43707_

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
protected final BlockHitResult
j()
getHitResult()
method_30344()
getHitResult()
m_wfhzxiio()
m_43718_()
public BlockPos
a()
getClickedPos()
method_8037()
getBlockPos()
m_etvpwcoa()
m_8083_()
public Direction
k()
getClickedFace()
method_8038()
getSide()
m_oxmychkz()
m_43719_()
public Vec3d
l()
getClickLocation()
method_17698()
getHitPos()
m_hgwrdlrt()
m_43720_()
public boolean
m()
isInside()
method_17699()
hitsInsideBlock()
m_lagisllr()
m_43721_()
public ItemStack
n()
getItemInHand()
method_8041()
getStack()
m_nbpliefr()
m_43722_()
public PlayerEntity
o()
getPlayer()
method_8036()
getPlayer()
m_nipacdtq()
m_43723_()
public Hand
p()
getHand()
method_20287()
getHand()
m_vffsbues()
m_43724_()
public World
q()
getLevel()
method_8045()
getWorld()
m_ghcbeywg()
m_43725_()
public Direction
g()
getHorizontalDirection()
method_8042()
getPlayerFacing()
m_igmtvctc()
m_8125_()
public boolean
h()
isSecondaryUseActive()
method_8046()
shouldCancelInteraction()
m_nxgmdcsa()
m_7078_()
public float
i()
getRotation()
method_8044()
getPlayerYaw()
m_ogbwazjx()
m_7074_()