Enum Class CookingRecipeCategory

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

public enum CookingRecipeCategory extends Enum<CookingRecipeCategory> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/recipe/book/CookingRecipeCategory
intermediary net/minecraft/class_7709
official dbm
  • Enum Constant Details

    • FOOD

      public static final CookingRecipeCategory 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 Ldbm;a:Ldbm;
    • BLOCKS

      public static final CookingRecipeCategory 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 Ldbm;b:Ldbm;
    • MISC

      public static final CookingRecipeCategory 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 Ldbm;c:Ldbm;
  • Field Details

    • field_54632

      private static final IntFunction<CookingRecipeCategory> field_54632
      Mappings:
      Namespace Name Mixin selector
      named field_54632 Lnet/minecraft/recipe/book/CookingRecipeCategory;field_54632:Ljava/util/function/IntFunction;
      intermediary field_54632 Lnet/minecraft/class_7709;field_54632:Ljava/util/function/IntFunction;
      official f Ldbm;f:Ljava/util/function/IntFunction;
    • CODEC

      public static final com.mojang.serialization.Codec<CookingRecipeCategory> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/recipe/book/CookingRecipeCategory;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_40245 Lnet/minecraft/class_7709;field_40245:Lcom/mojang/serialization/Codec;
      official d Ldbm;d:Lcom/mojang/serialization/Codec;
    • field_54631

      public static final PacketCodec<ByteBuf,CookingRecipeCategory> field_54631
      Mappings:
      Namespace Name Mixin selector
      named field_54631 Lnet/minecraft/recipe/book/CookingRecipeCategory;field_54631:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_54631 Lnet/minecraft/class_7709;field_54631:Lnet/minecraft/class_9139;
      official e Ldbm;e:Lzt;
    • field_54633

      private final int field_54633
      Mappings:
      Namespace Name Mixin selector
      named field_54633 Lnet/minecraft/recipe/book/CookingRecipeCategory;field_54633:I
      intermediary field_54633 Lnet/minecraft/class_7709;field_54633:I
      official g Ldbm;g:I
    • id

      private final String 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 h Ldbm;h:Ljava/lang/String;
  • Constructor Details

    • CookingRecipeCategory

      private CookingRecipeCategory(int int2, String string)
  • Method Details

    • values

      public static CookingRecipeCategory[] 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 CookingRecipeCategory 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;