public class ItemUseContext
extends java.lang.Object
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected Hand | hand | 
| protected ItemStack | item | 
| protected PlayerEntity | player | 
| protected BlockRayTraceResult | rayTraceResult | 
| protected World | world | 
| 修飾子 | コンストラクタと説明 | 
|---|---|
|   | ItemUseContext(PlayerEntity player,
              Hand handIn,
              BlockRayTraceResult rayTraceResultIn) | 
| protected  | ItemUseContext(World worldIn,
              PlayerEntity player,
              Hand handIn,
              ItemStack heldItem,
              BlockRayTraceResult rayTraceResultIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | func_225518_g_() | 
| Direction | getFace() | 
| Hand | getHand() | 
| Vec3d | getHitVec() | 
| ItemStack | getItem() | 
| Direction | getPlacementHorizontalFacing() | 
| float | getPlacementYaw() | 
| PlayerEntity | getPlayer() | 
| BlockPos | getPos() | 
| World | getWorld() | 
| boolean | isInside() | 
protected final PlayerEntity player
protected final Hand hand
protected final BlockRayTraceResult rayTraceResult
protected final World world
protected final ItemStack item
public ItemUseContext(PlayerEntity player, Hand handIn, BlockRayTraceResult rayTraceResultIn)
protected ItemUseContext(World worldIn, @Nullable PlayerEntity player, Hand handIn, ItemStack heldItem, BlockRayTraceResult rayTraceResultIn)
public BlockPos getPos()
public Direction getFace()
public Vec3d getHitVec()
public boolean isInside()
public ItemStack getItem()
@Nullable public PlayerEntity getPlayer()
public Hand getHand()
public World getWorld()
public Direction getPlacementHorizontalFacing()
public boolean func_225518_g_()
public float getPlacementYaw()