Package net.minecraft.recipe.book
Enum Class CookingRecipeCategory
- All Implemented Interfaces:
Serializable,Comparable<CookingRecipeCategory>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/recipe/book/CookingRecipeCategoryintermediary net/minecraft/class_7709official den
-
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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final IntFunction<CookingRecipeCategory> static final com.mojang.serialization.Codec<CookingRecipeCategory> private final intprivate final Stringstatic final PacketCodec<ByteBuf, CookingRecipeCategory> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static CookingRecipeCategoryReturns 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 FOODLnet/minecraft/recipe/book/CookingRecipeCategory;FOOD:Lnet/minecraft/recipe/book/CookingRecipeCategory;intermediary field_40242Lnet/minecraft/class_7709;field_40242:Lnet/minecraft/class_7709;official aLden;a:Lden;
-
BLOCKS
- Mappings:
Namespace Name Mixin selector named BLOCKSLnet/minecraft/recipe/book/CookingRecipeCategory;BLOCKS:Lnet/minecraft/recipe/book/CookingRecipeCategory;intermediary field_40243Lnet/minecraft/class_7709;field_40243:Lnet/minecraft/class_7709;official bLden;b:Lden;
-
MISC
- Mappings:
Namespace Name Mixin selector named MISCLnet/minecraft/recipe/book/CookingRecipeCategory;MISC:Lnet/minecraft/recipe/book/CookingRecipeCategory;intermediary field_40244Lnet/minecraft/class_7709;field_40244:Lnet/minecraft/class_7709;official cLden;c:Lden;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/recipe/book/CookingRecipeCategory;BY_ID:Ljava/util/function/IntFunction;intermediary field_54632Lnet/minecraft/class_7709;field_54632:Ljava/util/function/IntFunction;official fLden;f:Ljava/util/function/IntFunction;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/recipe/book/CookingRecipeCategory;CODEC:Lcom/mojang/serialization/Codec;intermediary field_40245Lnet/minecraft/class_7709;field_40245:Lcom/mojang/serialization/Codec;official dLden;d:Lcom/mojang/serialization/Codec;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/recipe/book/CookingRecipeCategory;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_54631Lnet/minecraft/class_7709;field_54631:Lnet/minecraft/class_9139;official eLden;e:Lze;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/recipe/book/CookingRecipeCategory;id:Iintermediary field_54633Lnet/minecraft/class_7709;field_54633:Iofficial gLden;g:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/recipe/book/CookingRecipeCategory;name:Ljava/lang/String;intermediary field_40246Lnet/minecraft/class_7709;field_40246:Ljava/lang/String;official hLden;h:Ljava/lang/String;
-
-
Constructor Details
-
CookingRecipeCategory
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/book/CookingRecipeCategory;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7709;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lden;<init>(Ljava/lang/String;IILjava/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:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbax;c()Ljava/lang/String;
-