Enum Bell.Attachment

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

public static enum Bell.Attachment extends Enum<Bell.Attachment>
What the bell is attached to.
  • Enum Constant Details

    • FLOOR

      public static final Bell.Attachment FLOOR
      Placed on floor.
    • CEILING

      public static final Bell.Attachment CEILING
      Placed on ceiling.
    • SINGLE_WALL

      public static final Bell.Attachment SINGLE_WALL
      Placed on one wall.
    • DOUBLE_WALL

      public static final Bell.Attachment DOUBLE_WALL
      Placed between two walls.
  • Method Details

    • values

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

      public static Bell.Attachment valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null