接口 Attachable

所有超级接口:
Directional
所有已知子接口:
Hanging, ItemFrame, LeashHitch, Painting
所有已知实现类:
Banner, Button, CocoaPlant, Ladder, Lever, PistonExtensionMaterial, RedstoneTorch, Sign, SimpleAttachableMaterialData, Torch, TrapDoor, TripwireHook

public interface Attachable extends Directional
表示可以与另一个方块连接的方块(比如箱子、门).
  • 方法详细资料

    • getAttachedFace

      BlockFace getAttachedFace()
      获取这个方块附着的朝向.

      原文: Gets the face that this block is attached on

      返回:
      朝向