接口 Attachable

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

public interface Attachable extends Directional
表示一个方块可以附着在另一个方块上.
  • 方法详细资料

    • getAttachedFace

      @NotNull @NotNull BlockFace getAttachedFace()
      获取此方块附着的面.

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

      返回:
      附着的面