Enum Class RecipeBookType

java.lang.Object
java.lang.Enum<RecipeBookType>
net.minecraft.client.recipebook.RecipeBookType
All Implemented Interfaces:
Serializable, Comparable<RecipeBookType>, Constable, RecipeBookGroup

@Environment(CLIENT) public enum RecipeBookType extends Enum<RecipeBookType> implements RecipeBookGroup
Mappings:
Namespace Name
named net/minecraft/client/recipebook/RecipeBookType
intermediary net/minecraft/class_10331
official fya
  • Enum Constant Details

    • CRAFTING

      public static final RecipeBookType CRAFTING
      Mappings:
      Namespace Name Mixin selector
      named CRAFTING Lnet/minecraft/client/recipebook/RecipeBookType;CRAFTING:Lnet/minecraft/client/recipebook/RecipeBookType;
      intermediary field_54837 Lnet/minecraft/class_10331;field_54837:Lnet/minecraft/class_10331;
      official a Lfya;a:Lfya;
    • FURNACE

      public static final RecipeBookType FURNACE
      Mappings:
      Namespace Name Mixin selector
      named FURNACE Lnet/minecraft/client/recipebook/RecipeBookType;FURNACE:Lnet/minecraft/client/recipebook/RecipeBookType;
      intermediary field_54838 Lnet/minecraft/class_10331;field_54838:Lnet/minecraft/class_10331;
      official b Lfya;b:Lfya;
    • BLAST_FURNACE

      public static final RecipeBookType BLAST_FURNACE
      Mappings:
      Namespace Name Mixin selector
      named BLAST_FURNACE Lnet/minecraft/client/recipebook/RecipeBookType;BLAST_FURNACE:Lnet/minecraft/client/recipebook/RecipeBookType;
      intermediary field_54839 Lnet/minecraft/class_10331;field_54839:Lnet/minecraft/class_10331;
      official c Lfya;c:Lfya;
    • SMOKER

      public static final RecipeBookType SMOKER
      Mappings:
      Namespace Name Mixin selector
      named SMOKER Lnet/minecraft/client/recipebook/RecipeBookType;SMOKER:Lnet/minecraft/client/recipebook/RecipeBookType;
      intermediary field_54840 Lnet/minecraft/class_10331;field_54840:Lnet/minecraft/class_10331;
      official d Lfya;d:Lfya;
  • Field Details

    • categories

      private final List<RecipeBookCategory> categories
      Mappings:
      Namespace Name Mixin selector
      named categories Lnet/minecraft/client/recipebook/RecipeBookType;categories:Ljava/util/List;
      intermediary field_54841 Lnet/minecraft/class_10331;field_54841:Ljava/util/List;
      official e Lfya;e:Ljava/util/List;
  • Constructor Details

    • RecipeBookType

      private RecipeBookType(RecipeBookCategory[] categories)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/recipebook/RecipeBookType;<init>(Ljava/lang/String;I[Lnet/minecraft/recipe/book/RecipeBookCategory;)V
      intermediary <init> Lnet/minecraft/class_10331;<init>(Ljava/lang/String;I[Lnet/minecraft/class_10355;)V
      official <init> Lfya;<init>(Ljava/lang/String;I[Ldcg;)V
  • Method Details

    • values

      public static RecipeBookType[] 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 RecipeBookType 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
    • getCategories

      public List<RecipeBookCategory> getCategories()
      Mappings:
      Namespace Name Mixin selector
      named getCategories Lnet/minecraft/client/recipebook/RecipeBookType;getCategories()Ljava/util/List;
      intermediary method_64888 Lnet/minecraft/class_10331;method_64888()Ljava/util/List;
      official a Lfya;a()Ljava/util/List;