Package org.bukkit.block.data.type
Enum Bell.Attachment
- All Implemented Interfaces:
Serializable
,Comparable<Bell.Attachment>
,Constable
- Enclosing interface:
- Bell
public static enum Bell.Attachment extends Enum<Bell.Attachment>
What the bell is attached to.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CEILING
Placed on ceiling.DOUBLE_WALL
Placed between two walls.FLOOR
Placed on floor.SINGLE_WALL
Placed on one wall. -
Method Summary
Modifier and Type Method Description static Bell.Attachment
valueOf(String name)
Returns the enum constant of this type with the specified name.static Bell.Attachment[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLOOR
Placed on floor. -
CEILING
Placed on ceiling. -
SINGLE_WALL
Placed on one wall. -
DOUBLE_WALL
Placed between two walls.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-