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
Enum ConstantDescription -
Field Summary
-
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
-
SHAPED
-
SHAPELESS
-
SPECIAL_ARMORDYE
-
SPECIAL_BOOKCLONING
-
SPECIAL_MAPCLONING
-
SPECIAL_MAPEXTENDING
-
SPECIAL_FIREWORK_ROCKET
-
SPECIAL_FIREWORK_STAR
-
SPECIAL_FIREWORK_STAR_FADE
-
SPECIAL_TIPPEDARROW
-
SPECIAL_BANNERDUPLICATE
-
SPECIAL_SHIELDDECORATION
-
SPECIAL_SHULKERBOXCOLORING
-
SPECIAL_SUSPICIOUSSTEW
-
SPECIAL_REPAIRITEM
-
SMELTING
-
BLASTING
-
SMOKING
-
CAMPFIRE_COOKING
-
STONECUTTING
-
SMITHING_TRANSFORM
-
SMITHING_TRIM
-
DECORATED_POT
-
-
Field Details
-
NETWORK_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
-