Interface FaceAttachable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
Grindstone, Switch

public interface FaceAttachable extends BlockData
'face' represents the face to which a lever or button is stuck.
This is used in conjunction with Directional to compute the orientation of these blocks.
  • Method Details

    • getAttachedFace

      @NotNull FaceAttachable.AttachedFace getAttachedFace()
      Gets the value of the 'face' property.
      Returns:
      the 'face' value
    • setAttachedFace

      void setAttachedFace(@NotNull FaceAttachable.AttachedFace face)
      Sets the value of the 'face' property.
      Parameters:
      face - the new 'face' value