类 DirectionalPlaceContext
java.lang.Object
net.minecraft.world.item.context.UseOnContext
net.minecraft.world.item.context.BlockPlaceContext
net.minecraft.world.item.context.DirectionalPlaceContext
-
字段概要
字段从类继承的字段 net.minecraft.world.item.context.BlockPlaceContext
replaceClicked
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.item.context.BlockPlaceContext
at, getNearestLookingVerticalDirection
从类继承的方法 net.minecraft.world.item.context.UseOnContext
getClickedFace, getClickLocation, getHand, getHitResult, getItemInHand, getLevel, getPlayer, isInside
-
字段详细资料
-
direction
-
-
构造器详细资料
-
DirectionalPlaceContext
-
-
方法详细资料
-
getClickedPos
- 覆盖:
getClickedPos
在类中BlockPlaceContext
-
canPlace
public boolean canPlace()- 覆盖:
canPlace
在类中BlockPlaceContext
-
replacingClickedOnBlock
public boolean replacingClickedOnBlock() -
getNearestLookingDirection
-
getNearestLookingDirections
-
getHorizontalDirection
- 覆盖:
getHorizontalDirection
在类中UseOnContext
-
isSecondaryUseActive
public boolean isSecondaryUseActive()- 覆盖:
isSecondaryUseActive
在类中UseOnContext
-
getRotation
public float getRotation()- 覆盖:
getRotation
在类中UseOnContext
-