Contents
Enum Class OpenBenchPageInteraction.PageType
java.lang.Object
java.lang.Enum<OpenBenchPageInteraction.PageType>
com.hypixel.hytale.builtin.crafting.interaction.OpenBenchPageInteraction.PageType
- All Implemented Interfaces:
Serializable, Comparable<OpenBenchPageInteraction.PageType>, Constable
- Enclosing class:
OpenBenchPageInteraction
public static enum OpenBenchPageInteraction.PageType
extends Enum<OpenBenchPageInteraction.PageType>
The type of page being opened
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA diagram crafting page.A simple crafting page.A structural crafting page. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static OpenBenchPageInteraction.PageType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SIMPLE_CRAFTING
A simple crafting page. -
DIAGRAM_CRAFTING
A diagram crafting page. -
STRUCTURAL_CRAFTING
A structural crafting page.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-