public class DirectionalPlaceContext extends BlockItemUseContext
replaceClickedhand, item, player, rayTraceResult, world| コンストラクタと説明 |
|---|
DirectionalPlaceContext(World worldIn,
BlockPos pos,
Direction lookDirectionIn,
ItemStack stackIn,
Direction against) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
canPlace() |
boolean |
func_225518_g_() |
Direction |
getNearestLookingDirection() |
Direction[] |
getNearestLookingDirections() |
Direction |
getPlacementHorizontalFacing() |
float |
getPlacementYaw() |
BlockPos |
getPos() |
boolean |
replacingClickedOnBlock() |
func_221536_apublic BlockPos getPos()
getPos クラス内 BlockItemUseContextpublic boolean canPlace()
canPlace クラス内 BlockItemUseContextpublic boolean replacingClickedOnBlock()
replacingClickedOnBlock クラス内 BlockItemUseContextpublic Direction getNearestLookingDirection()
getNearestLookingDirection クラス内 BlockItemUseContextpublic Direction[] getNearestLookingDirections()
getNearestLookingDirections クラス内 BlockItemUseContextpublic Direction getPlacementHorizontalFacing()
getPlacementHorizontalFacing クラス内 ItemUseContextpublic boolean func_225518_g_()
func_225518_g_ クラス内 ItemUseContextpublic float getPlacementYaw()
getPlacementYaw クラス内 ItemUseContext