Package net.minecraft.recipe.book
Enum Class CraftingRecipeCategory
- All Implemented Interfaces:
Serializable,Comparable<CraftingRecipeCategory>,Constable,StringIdentifiable
public enum CraftingRecipeCategory
extends Enum<CraftingRecipeCategory>
implements StringIdentifiable
- Mappings:
Namespace Name official crrintermediary net/minecraft/class_7710named net/minecraft/recipe/book/CraftingRecipeCategory
-
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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CraftingRecipeCategory>static final IntFunction<CraftingRecipeCategory>static final class_9139<ByteBuf,CraftingRecipeCategory> private final intprivate final StringFields 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.private intstatic CraftingRecipeCategoryReturns the enum constant of this class with the specified name.static CraftingRecipeCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILDING
- Mappings:
Namespace Name Mixin selector official aLcrr;a:Lcrr;intermediary field_40248Lnet/minecraft/class_7710;field_40248:Lnet/minecraft/class_7710;named BUILDINGLnet/minecraft/recipe/book/CraftingRecipeCategory;BUILDING:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-
REDSTONE
- Mappings:
Namespace Name Mixin selector official bLcrr;b:Lcrr;intermediary field_40249Lnet/minecraft/class_7710;field_40249:Lnet/minecraft/class_7710;named REDSTONELnet/minecraft/recipe/book/CraftingRecipeCategory;REDSTONE:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-
EQUIPMENT
- Mappings:
Namespace Name Mixin selector official cLcrr;c:Lcrr;intermediary field_40250Lnet/minecraft/class_7710;field_40250:Lnet/minecraft/class_7710;named EQUIPMENTLnet/minecraft/recipe/book/CraftingRecipeCategory;EQUIPMENT:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-
MISC
- Mappings:
Namespace Name Mixin selector official dLcrr;d:Lcrr;intermediary field_40251Lnet/minecraft/class_7710;field_40251:Lnet/minecraft/class_7710;named MISCLnet/minecraft/recipe/book/CraftingRecipeCategory;MISC:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official eLcrr;e:Lcom/mojang/serialization/Codec;intermediary field_40252Lnet/minecraft/class_7710;field_40252:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/recipe/book/CraftingRecipeCategory;CODEC:Lcom/mojang/serialization/Codec;
-
field_48352
- Mappings:
Namespace Name Mixin selector official fLcrr;f:Ljava/util/function/IntFunction;intermediary field_48352Lnet/minecraft/class_7710;field_48352:Ljava/util/function/IntFunction;named field_48352Lnet/minecraft/recipe/book/CraftingRecipeCategory;field_48352:Ljava/util/function/IntFunction;
-
field_48353
- Mappings:
Namespace Name Mixin selector official gLcrr;g:Lxo;intermediary field_48353Lnet/minecraft/class_7710;field_48353:Lnet/minecraft/class_9139;named field_48353Lnet/minecraft/recipe/book/CraftingRecipeCategory;field_48353:Lnet/minecraft/class_9139;
-
id
- Mappings:
Namespace Name Mixin selector official hLcrr;h:Ljava/lang/String;intermediary field_40253Lnet/minecraft/class_7710;field_40253:Ljava/lang/String;named idLnet/minecraft/recipe/book/CraftingRecipeCategory;id:Ljava/lang/String;
-
field_48354
private final int field_48354- Mappings:
Namespace Name Mixin selector official iLcrr;i:Iintermediary field_48354Lnet/minecraft/class_7710;field_48354:Inamed field_48354Lnet/minecraft/recipe/book/CraftingRecipeCategory;field_48354:I
-
-
Constructor Details
-
CraftingRecipeCategory
- Mappings:
Namespace Name Mixin selector official <init>Lcrr;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_7710;<init>(Ljava/lang/String;ILjava/lang/String;I)Vnamed <init>Lnet/minecraft/recipe/book/CraftingRecipeCategory;<init>(Ljava/lang/String;ILjava/lang/String;I)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 official cLaxc;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
method_56101
private int method_56101()- Mappings:
Namespace Name Mixin selector official aLcrr;a()Iintermediary method_56101Lnet/minecraft/class_7710;method_56101()Inamed method_56101Lnet/minecraft/recipe/book/CraftingRecipeCategory;method_56101()I
-