net.minecraft.world.item.context

public class UseOnContext

dcy
net.minecraft.world.item.context.UseOnContext
net.minecraft.class_1838
net.minecraft.unmapped.C_yyklzime
net.minecraft.item.ItemUsageContext
net.minecraft.item.ItemUsageContext

Field summary

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

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()
public BlockPos
a()
getClickedPos()
method_8037()
m_etvpwcoa()
getBlockPos()
getBlockPos()
public Direction
k()
getClickedFace()
method_8038()
m_oxmychkz()
getSide()
getSide()
public Vec3
l()
getClickLocation()
method_17698()
m_hgwrdlrt()
getHitPos()
getHitPos()
public boolean
m()
isInside()
method_17699()
m_lagisllr()
hitsInsideBlock()
hitsInsideBlock()
public ItemStack
n()
getItemInHand()
method_8041()
m_nbpliefr()
getStack()
getStack()
public Player
o()
getPlayer()
method_8036()
m_nipacdtq()
getPlayer()
getPlayer()
public InteractionHand
p()
getHand()
method_20287()
m_vffsbues()
getHand()
getHand()
public Level
q()
getLevel()
method_8045()
m_ghcbeywg()
getWorld()
getWorld()
public Direction
g()
getHorizontalDirection()
method_8042()
m_igmtvctc()
getHorizontalPlayerFacing()
getPlayerFacing()
public boolean
h()
isSecondaryUseActive()
method_8046()
m_nxgmdcsa()
shouldCancelInteraction()
shouldCancelInteraction()
public float
i()
getRotation()
method_8044()
m_ogbwazjx()
getPlayerYaw()
getPlayerYaw()