Enum Class CraftingRecipeCategory

java.lang.Object
java.lang.Enum<CraftingRecipeCategory>
net.minecraft.recipe.book.CraftingRecipeCategory
All Implemented Interfaces:
Serializable, Comparable<CraftingRecipeCategory>, Constable, StringIdentifiable

public enum CraftingRecipeCategory extends Enum<CraftingRecipeCategory> implements StringIdentifiable
Mappings:
Namespace Name
official cgf
intermediary net/minecraft/class_7710
named net/minecraft/recipe/book/CraftingRecipeCategory
  • Enum Constant Details

    • BUILDING

      public static final CraftingRecipeCategory BUILDING
      Mappings:
      Namespace Name Mixin selector
      official a Lcgf;a:Lcgf;
      intermediary field_40248 Lnet/minecraft/class_7710;field_40248:Lnet/minecraft/class_7710;
      named BUILDING Lnet/minecraft/recipe/book/CraftingRecipeCategory;BUILDING:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
    • REDSTONE

      public static final CraftingRecipeCategory REDSTONE
      Mappings:
      Namespace Name Mixin selector
      official b Lcgf;b:Lcgf;
      intermediary field_40249 Lnet/minecraft/class_7710;field_40249:Lnet/minecraft/class_7710;
      named REDSTONE Lnet/minecraft/recipe/book/CraftingRecipeCategory;REDSTONE:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
    • EQUIPMENT

      public static final CraftingRecipeCategory EQUIPMENT
      Mappings:
      Namespace Name Mixin selector
      official c Lcgf;c:Lcgf;
      intermediary field_40250 Lnet/minecraft/class_7710;field_40250:Lnet/minecraft/class_7710;
      named EQUIPMENT Lnet/minecraft/recipe/book/CraftingRecipeCategory;EQUIPMENT:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
    • MISC

      public static final CraftingRecipeCategory MISC
      Mappings:
      Namespace Name Mixin selector
      official d Lcgf;d:Lcgf;
      intermediary field_40251 Lnet/minecraft/class_7710;field_40251:Lnet/minecraft/class_7710;
      named MISC Lnet/minecraft/recipe/book/CraftingRecipeCategory;MISC:Lnet/minecraft/recipe/book/CraftingRecipeCategory;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official e Lcgf;e:Laor$a;
      intermediary field_40252 Lnet/minecraft/class_7710;field_40252:Lnet/minecraft/class_3542$class_7292;
      named CODEC Lnet/minecraft/recipe/book/CraftingRecipeCategory;CODEC:Lnet/minecraft/util/StringIdentifiable$Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official f Lcgf;f:Ljava/lang/String;
      intermediary field_40253 Lnet/minecraft/class_7710;field_40253:Ljava/lang/String;
      named id Lnet/minecraft/recipe/book/CraftingRecipeCategory;id:Ljava/lang/String;
  • Constructor Details

    • CraftingRecipeCategory

      private CraftingRecipeCategory(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgf;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7710;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/recipe/book/CraftingRecipeCategory;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static CraftingRecipeCategory[] 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

      public static CraftingRecipeCategory valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Laor;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;