接口 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
  • 方法详细资料

    • getAttachedFace

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