接口 Bell
- 所有超级接口:
BlockData
,Cloneable
,Directional
,Powerable
'attachment' 值表示钟是怎么固定到其他方块上的.
-
嵌套类概要
嵌套类 -
方法概要
修饰符和类型方法说明获取 'attachment' 属性的值.void
setAttachment
(Bell.Attachment attachment) 设置 'attachment' 属性的值.从接口继承的方法 org.bukkit.block.data.BlockData
clone, getAsString, getAsString, getMaterial, getSoundGroup, matches, merge
从接口继承的方法 org.bukkit.block.data.Directional
getFaces, getFacing, setFacing
从接口继承的方法 org.bukkit.block.data.Powerable
isPowered, setPowered
-
方法详细资料
-
getAttachment
Bell.Attachment getAttachment()获取 'attachment' 属性的值.原文: Gets the value of the 'attachment' property.
- 返回:
- 属性 'attachment' 的值
-
setAttachment
设置 'attachment' 属性的值.原文: Sets the value of the 'attachment' property.
- 参数:
attachment
- 新的 'attachment' 属性值
-