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 - named - net/minecraft/recipe/book/CraftingRecipeCategory- intermediary - net/minecraft/class_7710- official - das
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiableStringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
- 
Enum Constant SummaryEnum Constants
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<CraftingRecipeCategory> private final Stringprivate final intstatic final IntFunction<CraftingRecipeCategory> static final PacketCodec<ByteBuf, CraftingRecipeCategory> Fields inherited from interface net.minecraft.util.StringIdentifiableCACHED_MAP_THRESHOLD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.private intgetIndex()static 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 - named - BUILDING- Lnet/minecraft/recipe/book/CraftingRecipeCategory;BUILDING:Lnet/minecraft/recipe/book/CraftingRecipeCategory;- intermediary - field_40248- Lnet/minecraft/class_7710;field_40248:Lnet/minecraft/class_7710;- official - a- Ldas;a:Ldas;
 
- 
REDSTONE- Mappings:
- Namespace - Name - Mixin selector - named - REDSTONE- Lnet/minecraft/recipe/book/CraftingRecipeCategory;REDSTONE:Lnet/minecraft/recipe/book/CraftingRecipeCategory;- intermediary - field_40249- Lnet/minecraft/class_7710;field_40249:Lnet/minecraft/class_7710;- official - b- Ldas;b:Ldas;
 
- 
EQUIPMENT- Mappings:
- Namespace - Name - Mixin selector - named - EQUIPMENT- Lnet/minecraft/recipe/book/CraftingRecipeCategory;EQUIPMENT:Lnet/minecraft/recipe/book/CraftingRecipeCategory;- intermediary - field_40250- Lnet/minecraft/class_7710;field_40250:Lnet/minecraft/class_7710;- official - c- Ldas;c:Ldas;
 
- 
MISC- Mappings:
- Namespace - Name - Mixin selector - named - MISC- Lnet/minecraft/recipe/book/CraftingRecipeCategory;MISC:Lnet/minecraft/recipe/book/CraftingRecipeCategory;- intermediary - field_40251- Lnet/minecraft/class_7710;field_40251:Lnet/minecraft/class_7710;- official - d- Ldas;d:Ldas;
 
 
- 
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/recipe/book/CraftingRecipeCategory;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_40252- Lnet/minecraft/class_7710;field_40252:Lcom/mojang/serialization/Codec;- official - e- Ldas;e:Lcom/mojang/serialization/Codec;
 
- 
INDEX_TO_VALUE- Mappings:
- Namespace - Name - Mixin selector - named - INDEX_TO_VALUE- Lnet/minecraft/recipe/book/CraftingRecipeCategory;INDEX_TO_VALUE:Ljava/util/function/IntFunction;- intermediary - field_48352- Lnet/minecraft/class_7710;field_48352:Ljava/util/function/IntFunction;- official - f- Ldas;f:Ljava/util/function/IntFunction;
 
- 
PACKET_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - PACKET_CODEC- Lnet/minecraft/recipe/book/CraftingRecipeCategory;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;- intermediary - field_48353- Lnet/minecraft/class_7710;field_48353:Lnet/minecraft/class_9139;- official - g- Ldas;g:Lyn;
 
- 
id- Mappings:
- Namespace - Name - Mixin selector - named - id- Lnet/minecraft/recipe/book/CraftingRecipeCategory;id:Ljava/lang/String;- intermediary - field_40253- Lnet/minecraft/class_7710;field_40253:Ljava/lang/String;- official - h- Ldas;h:Ljava/lang/String;
 
- 
indexprivate final int index- Mappings:
- Namespace - Name - Mixin selector - named - index- Lnet/minecraft/recipe/book/CraftingRecipeCategory;index:I- intermediary - field_48354- Lnet/minecraft/class_7710;field_48354:I- official - i- Ldas;i:I
 
 
- 
- 
Constructor Details- 
CraftingRecipeCategory- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/recipe/book/CraftingRecipeCategory;<init>(Ljava/lang/String;ILjava/lang/String;I)V- intermediary - <init>- Lnet/minecraft/class_7710;<init>(Ljava/lang/String;ILjava/lang/String;I)V- official - <init>- Ldas;<init>(Ljava/lang/String;ILjava/lang/String;I)V
 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
asStringReturns the unique string representation of the enum, used for serialization.- Specified by:
- asStringin interface- StringIdentifiable
- 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- Lazv;c()Ljava/lang/String;
 
- 
getIndexprivate int getIndex()- Mappings:
- Namespace - Name - Mixin selector - named - getIndex- Lnet/minecraft/recipe/book/CraftingRecipeCategory;getIndex()I- intermediary - method_56101- Lnet/minecraft/class_7710;method_56101()I- official - a- Ldas;a()I
 
 
-