Interface Rotatable

All Superinterfaces:
BlockData, Cloneable
All Known Subinterfaces:
HangingSign, Sign

public interface Rotatable extends BlockData
'rotation' represents the current rotation of this block.
  • Method Details

    • getRotation

      @NotNull BlockFace getRotation()
      Gets the value of the 'rotation' property.
      the 'rotation' value
    • setRotation

      void setRotation(@NotNull BlockFace rotation)
      Sets the value of the 'rotation' property.
      rotation - the new 'rotation' value