程序包 org.bukkit.block.data.type

# 接口 Bell

所有超级接口:
  `BlockData`, `Cloneable`, `Directional`, `Powerable`

public interface Bell extends Directional, Powerable
'attachment' 值表示钟是怎么固定到其他方块上的.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  接口
  说明
  `static enum`
  `Bell.Attachment`
  钟固定在什么东西上.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Bell.Attachment`
  `getAttachment()`
  获取 'attachment' 属性的值.
  `void`
  `setAttachment(@NotNull Bell.Attachment attachment)`
  设置 'attachment' 属性的值.

  ### 从接口继承的方法 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`

  ### 从接口继承的方法 org.bukkit.block.data.Directional

  `getFaces, getFacing, setFacing`

  ### 从接口继承的方法 org.bukkit.block.data.Powerable

  `isPowered, setPowered`

- ## 方法详细资料

  - ### getAttachment

    @NotNull @NotNull Bell.Attachment getAttachment()
    获取 'attachment' 属性的值.

    原文: Gets the value of the 'attachment' property.

    返回:
      属性 'attachment' 的值

  - ### setAttachment

    void setAttachment(@NotNull @NotNull Bell.Attachment attachment)
    设置 'attachment' 属性的值.

    原文: Sets the value of the 'attachment' property.

    参数:
      `attachment` - 新的 'attachment' 属性值