net.minecraft.item

public class ItemUseContext

aup
net.minecraft.class_3565
net.minecraft.item.ItemUseContext
net.minecraft.item.ItemUseContext
net.minecraft.item.ItemUseContext

Field summary

Modifier and TypeField
protected final PlayerEntity
b
field_17400
player
field_196001_b
player
protected final float
c
field_17401
faceX
field_196002_c
hitX
protected final float
d
field_17402
faceY
field_196003_d
hitY
protected final float
e
field_17403
faceZ
field_196004_e
hitZ
protected final Direction
f
field_17404
face
field_196005_f
face
protected final World
g
field_17405
world
field_196006_g
world
protected final ItemStack
h
field_17406
item
field_196007_h
item
protected final BlockPos
i
field_17407
pos
field_196008_i
pos

Constructor summary

ModifierConstructor
public (PlayerEntity player, ItemStack item, BlockPos pos, Direction face, float faceX, float faceY, float faceZ)
protected (World world, PlayerEntity player, ItemStack item, BlockPos pos, Direction face, float faceX, float faceY, float faceZ)

Method summary

Modifier and TypeMethod
public BlockPos
a()
method_16144()
getPos()
func_195995_a()
getPos()
public ItemStack
i()
method_16148()
getItem()
func_195996_i()
getItem()
public PlayerEntity
j()
method_16149()
getPlayer()
func_195999_j()
getPlayer()
public World
k()
method_16150()
getWorld()
func_195991_k()
getWorld()
public Direction
l()
method_16151()
getFace()
func_196000_l()
getFace()
public float
m()
method_16152()
getFaceX()
func_195997_m()
getHitX()
public float
n()
method_16153()
getFaceY()
func_195993_n()
getHitY()
public float
o()
method_16154()
getFaceZ()
func_195994_o()
getHitZ()
public Direction
f()
method_16145()
getFacing()
func_195992_f()
getPlacementHorizontalFacing()
public boolean
g()
method_16146()
isSneaking()
func_195998_g()
isPlacerSneaking()
public float
h()
method_16147()
getRotation()
func_195990_h()
getPlacementYaw()