Interface Attachable

All Superinterfaces:
Directional
All Known Subinterfaces:
Hanging, ItemFrame, LeashHitch, Painting
All Known Implementing Classes:
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
  • Method Details

    • getAttachedFace

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