Interface Bisected

  • All Superinterfaces:
    BlockData, Cloneable
    All Known Subinterfaces:
    Door, Stairs, TrapDoor

    public interface Bisected
    extends BlockData
    'half' denotes which half of a two block tall material this block is.
    In game it may be referred to as either (top, bottom) or (upper, lower).
    • Method Detail

      • getHalf

        @NotNull
        Bisected.Half getHalf()
        Gets the value of the 'half' property.
        Returns:
        the 'half' value
      • setHalf

        void setHalf​(@NotNull
                     Bisected.Half half)
        Sets the value of the 'half' property.
        Parameters:
        half - the new 'half' value