Package org.bukkit.block.data.type
Enum Stairs.Shape
- All Implemented Interfaces:
- Serializable,- Comparable<Stairs.Shape>,- java.lang.constant.Constable
- Enclosing interface:
- Stairs
The shape of a stair block - used for constructing corners.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionInner corner stair block with higher left side.Inner corner stair block with higher right side.Outer corner stair block with higher left side.Outer corner stair block with higher right side.Regular stair block.
- 
Method SummaryModifier and TypeMethodDescriptionstatic Stairs.ShapeReturns the enum constant of this type with the specified name.static Stairs.Shape[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
STRAIGHTRegular stair block.
- 
INNER_LEFTInner corner stair block with higher left side.
- 
INNER_RIGHTInner corner stair block with higher right side.
- 
OUTER_LEFTOuter corner stair block with higher left side.
- 
OUTER_RIGHTOuter corner stair block with higher right side.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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
 
 
-