Enum Class Shelf.SideChain

java.lang.Object
java.lang.Enum<Shelf.SideChain>
org.bukkit.block.data.type.Shelf.SideChain
All Implemented Interfaces:
Serializable, Comparable<Shelf.SideChain>, Constable
Enclosing interface:
Shelf

public static enum Shelf.SideChain extends Enum<Shelf.SideChain>
Represents the state of the shelf's side chain.
  • Enum Constant Details

  • Method Details

    • values

      public static Shelf.SideChain[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Shelf.SideChain valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null