Package org.bukkit.event.player
Enum PlayerRecipeBookSettingsChangeEvent.RecipeBookType
java.lang.Object
java.lang.Enum<PlayerRecipeBookSettingsChangeEvent.RecipeBookType>
org.bukkit.event.player.PlayerRecipeBookSettingsChangeEvent.RecipeBookType
- All Implemented Interfaces:
Serializable
,Comparable<PlayerRecipeBookSettingsChangeEvent.RecipeBookType>
,java.lang.constant.Constable
- Enclosing class:
- PlayerRecipeBookSettingsChangeEvent
public static enum PlayerRecipeBookSettingsChangeEvent.RecipeBookType
extends Enum<PlayerRecipeBookSettingsChangeEvent.RecipeBookType>
Enum representing the various types of recipe book.
Different types of recipe book are shown in different GUIs.
Different types of recipe book are shown in different GUIs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRecipe book seen in blast furnace.Recipe book seen in crafting table and player inventory.Recipe book seen in furnace.Recipe book seen in smoker. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CRAFTING
Recipe book seen in crafting table and player inventory. -
FURNACE
Recipe book seen in furnace. -
BLAST_FURNACE
Recipe book seen in blast furnace. -
SMOKER
Recipe book seen in smoker.
-
-
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
-