Package net.minestom.server.recipe
Enum Class RecipeType
- All Implemented Interfaces:
Serializable
,Comparable<RecipeType>
,Constable
,net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
AUTOGENERATED by RecipeTypeGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BinaryTagSerializer
<RecipeType> static final NetworkBuffer.Type
<RecipeType> -
Method Summary
Modifier and TypeMethodDescriptionint
id()
@NotNull NamespaceID
static RecipeType
Returns the enum constant of this class with the specified name.static RecipeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minestom.server.registry.ProtocolObject
registry
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
key, name
-
Enum Constant Details
-
CRAFTING
-
SMELTING
-
BLASTING
-
SMOKING
-
CAMPFIRE_COOKING
-
STONECUTTING
-
SMITHING
-
-
Field Details
-
NETWORK_TYPE
-
NBT_TYPE
-
-
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
-
namespace
- Specified by:
namespace
in interfaceStaticProtocolObject
-
id
public int id()- Specified by:
id
in interfaceStaticProtocolObject
-