net.minecraft.world.item

public class UseOnContext

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

Field summary

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

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
public BlockPos
a()
getClickedPos()
method_8037()
m_etvpwcoa()
getBlockPos()
func_195995_a()
getClickPosition()
public Direction
i()
getClickedFace()
method_8038()
m_oxmychkz()
getSide()
func_196000_l()
getClickedFace()
public Vec3
j()
getClickLocation()
method_17698()
m_hgwrdlrt()
getHitPos()
func_221532_j()
public boolean
k()
isInside()
method_17699()
m_lagisllr()
hitsInsideBlock()
func_221533_k()
public ItemStack
l()
getItemInHand()
method_8041()
m_nbpliefr()
getStack()
func_195996_i()
getItemStack()
public Player
m()
getPlayer()
method_8036()
m_nipacdtq()
getPlayer()
func_195999_j()
getEntity()
public InteractionHand
n()
getHand()
method_20287()
m_vffsbues()
getHand()
func_221531_n()
public Level
o()
getLevel()
method_8045()
m_ghcbeywg()
getWorld()
func_195991_k()
getWorld()
public Direction
f()
getHorizontalDirection()
method_8042()
m_igmtvctc()
getPlayerFacing()
func_195992_f()
public boolean
g()
isSecondaryUseActive()
method_8046()
m_nxgmdcsa()
shouldCancelInteraction()
func_225518_g_()
isSneaking()
public float
h()
getRotation()
method_8044()
m_ogbwazjx()
getPlayerYaw()
func_195990_h()