接口 Rotatable
- 所有已知子接口:
HangingSign
,Sign
'rotation' 表示方块的旋转方向.
-
方法概要
从接口继承的方法 org.bukkit.block.data.BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate
-
方法详细资料
-
getRotation
获取 'rotation' 属性值.原文: Gets the value of the 'rotation' property.
- 返回:
- 方块的旋转方向
-
setRotation
设置 'rotation' 属性值.原文: Sets the value of the 'rotation' property.
- 参数:
rotation
- 方块的旋转方向
-