程序包 org.bukkit.material

# 接口 Attachable

所有超级接口:
  `Directional`

所有已知子接口:
  `GlowItemFrame`, `Hanging`, `ItemFrame`, `LeashHitch`, `Painting`

所有已知实现类:
  `Banner`, `Button`, `CocoaPlant`, `Ladder`, `Lever`, `PistonExtensionMaterial`, `RedstoneTorch`, `Sign`, `SimpleAttachableMaterialData`, `Torch`, `TrapDoor`, `TripwireHook`

public interface Attachable extends Directional
Indicates that a block can be attached to another block

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull BlockFace`
  `getAttachedFace()`
  Gets the face that this block is attached on

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

  `getFacing, setFacingDirection`

- ## 方法详细资料

  - ### getAttachedFace

    @NotNull @NotNull BlockFace getAttachedFace()
    Gets the face that this block is attached on
    返回:
      BlockFace attached to