net.minecraft.world.item.context

public class UseOnContext

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

Field summary

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

Constructor summary

ModifierConstructor
public (Player player, InteractionHand hand, BlockHitResult hit)
protected (Level world, Player player, InteractionHand hand, ItemStack stack, BlockHitResult hit)

Method summary

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