Package net.minecraft.recipe.book
Enum Class CookingRecipeCategory
- All Implemented Interfaces:
Serializable
,Comparable<CookingRecipeCategory>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/recipe/book/CookingRecipeCategory
intermediary net/minecraft/class_7709
official cyl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<CookingRecipeCategory> private final String
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static CookingRecipeCategory
Returns the enum constant of this class with the specified name.static CookingRecipeCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOOD
- Mappings:
Namespace Name Mixin selector named FOOD
Lnet/minecraft/recipe/book/CookingRecipeCategory;FOOD:Lnet/minecraft/recipe/book/CookingRecipeCategory;
intermediary field_40242
Lnet/minecraft/class_7709;field_40242:Lnet/minecraft/class_7709;
official a
Lcyl;a:Lcyl;
-
BLOCKS
- Mappings:
Namespace Name Mixin selector named BLOCKS
Lnet/minecraft/recipe/book/CookingRecipeCategory;BLOCKS:Lnet/minecraft/recipe/book/CookingRecipeCategory;
intermediary field_40243
Lnet/minecraft/class_7709;field_40243:Lnet/minecraft/class_7709;
official b
Lcyl;b:Lcyl;
-
MISC
- Mappings:
Namespace Name Mixin selector named MISC
Lnet/minecraft/recipe/book/CookingRecipeCategory;MISC:Lnet/minecraft/recipe/book/CookingRecipeCategory;
intermediary field_40244
Lnet/minecraft/class_7709;field_40244:Lnet/minecraft/class_7709;
official c
Lcyl;c:Lcyl;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/recipe/book/CookingRecipeCategory;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
intermediary field_40245
Lnet/minecraft/class_7709;field_40245:Lnet/minecraft/class_3542$class_7292;
official d
Lcyl;d:Lazu$a;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/recipe/book/CookingRecipeCategory;id:Ljava/lang/String;
intermediary field_40246
Lnet/minecraft/class_7709;field_40246:Ljava/lang/String;
official e
Lcyl;e:Ljava/lang/String;
-
-
Constructor Details
-
CookingRecipeCategory
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/recipe/book/CookingRecipeCategory;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_7709;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lcyl;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lazu;c()Ljava/lang/String;
-