net.minecraft.world.item.context

public class UseOnContext

bss
net.minecraft.world.item.context.UseOnContext
net.minecraft.class_1838
net.minecraft.unmapped.C_yyklzime
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
f_43703_
private final InteractionHand
b
hand
field_19176
f_xzotiqow
hand
f_43704_
private final BlockHitResult
c
hitResult
field_17543
f_vgdiwvxq
hit
f_43705_
private final Level
d
level
field_8945
f_snfyuyhe
world
f_43706_
private final ItemStack
e
itemStack
field_8941
f_aakroevx
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()
m_43718_()
public BlockPos
a()
getClickedPos()
method_8037()
m_etvpwcoa()
getBlockPos()
m_8083_()
getClickPosition()
public Direction
k()
getClickedFace()
method_8038()
m_oxmychkz()
getSide()
m_43719_()
getClickedFace()
public Vec3
l()
getClickLocation()
method_17698()
m_hgwrdlrt()
getHitPos()
m_43720_()
getPos()
public boolean
m()
isInside()
method_17699()
m_lagisllr()
hitsInsideBlock()
m_43721_()
public ItemStack
n()
getItemInHand()
method_8041()
m_nbpliefr()
getStack()
m_43722_()
getItemStack()
public Player
o()
getPlayer()
method_8036()
m_nipacdtq()
getPlayer()
m_43723_()
getEntity()
public InteractionHand
p()
getHand()
method_20287()
m_vffsbues()
getHand()
m_43724_()
getHand()
public Level
q()
getLevel()
method_8045()
m_ghcbeywg()
getWorld()
m_43725_()
getWorld()
public Direction
g()
getHorizontalDirection()
method_8042()
m_igmtvctc()
getPlayerFacing()
m_8125_()
public boolean
h()
isSecondaryUseActive()
method_8046()
m_nxgmdcsa()
shouldCancelInteraction()
m_7078_()
isSneaking()
public float
i()
getRotation()
method_8044()
m_ogbwazjx()
getPlayerYaw()
m_7074_()