Class BrewingRecipeRegistry

java.lang.Object
net.minecraft.recipe.BrewingRecipeRegistry

public class BrewingRecipeRegistry extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/BrewingRecipeRegistry
intermediary net/minecraft/class_1845
official czm
  • Field Details

    • field_30942

      public static final int field_30942
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30942 Lnet/minecraft/recipe/BrewingRecipeRegistry;field_30942:I
      intermediary field_30942 Lnet/minecraft/class_1845;field_30942:I
      official a Lczm;a:I
    • EMPTY

      public static final BrewingRecipeRegistry EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/recipe/BrewingRecipeRegistry;EMPTY:Lnet/minecraft/recipe/BrewingRecipeRegistry;
      intermediary field_51402 Lnet/minecraft/class_1845;field_51402:Lnet/minecraft/class_1845;
      official b Lczm;b:Lczm;
    • potionTypes

      private final List<Ingredient> potionTypes
      Mappings:
      Namespace Name Mixin selector
      named potionTypes Lnet/minecraft/recipe/BrewingRecipeRegistry;potionTypes:Ljava/util/List;
      intermediary field_51403 Lnet/minecraft/class_1845;field_51403:Ljava/util/List;
      official c Lczm;c:Ljava/util/List;
    • potionRecipes

      private final List<BrewingRecipeRegistry.Recipe<Potion>> potionRecipes
      Mappings:
      Namespace Name Mixin selector
      named potionRecipes Lnet/minecraft/recipe/BrewingRecipeRegistry;potionRecipes:Ljava/util/List;
      intermediary field_51404 Lnet/minecraft/class_1845;field_51404:Ljava/util/List;
      official d Lczm;d:Ljava/util/List;
    • itemRecipes

      private final List<BrewingRecipeRegistry.Recipe<Item>> itemRecipes
      Mappings:
      Namespace Name Mixin selector
      named itemRecipes Lnet/minecraft/recipe/BrewingRecipeRegistry;itemRecipes:Ljava/util/List;
      intermediary field_51405 Lnet/minecraft/class_1845;field_51405:Ljava/util/List;
      official e Lczm;e:Ljava/util/List;
  • Constructor Details

    • BrewingRecipeRegistry

      BrewingRecipeRegistry(List<Ingredient> potionTypes, List<BrewingRecipeRegistry.Recipe<Potion>> potionRecipes, List<BrewingRecipeRegistry.Recipe<Item>> itemRecipes)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/BrewingRecipeRegistry;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1845;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
      official <init> Lczm;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
  • Method Details

    • isValidIngredient

      public boolean isValidIngredient(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isValidIngredient Lnet/minecraft/recipe/BrewingRecipeRegistry;isValidIngredient(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8077 Lnet/minecraft/class_1845;method_8077(Lnet/minecraft/class_1799;)Z
      official a Lczm;a(Lcxo;)Z
    • isPotionType

      private boolean isPotionType(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isPotionType Lnet/minecraft/recipe/BrewingRecipeRegistry;isPotionType(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_59700 Lnet/minecraft/class_1845;method_59700(Lnet/minecraft/class_1799;)Z
      official d Lczm;d(Lcxo;)Z
    • isItemRecipeIngredient

      public boolean isItemRecipeIngredient(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isItemRecipeIngredient Lnet/minecraft/recipe/BrewingRecipeRegistry;isItemRecipeIngredient(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8079 Lnet/minecraft/class_1845;method_8079(Lnet/minecraft/class_1799;)Z
      official b Lczm;b(Lcxo;)Z
    • isPotionRecipeIngredient

      public boolean isPotionRecipeIngredient(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named isPotionRecipeIngredient Lnet/minecraft/recipe/BrewingRecipeRegistry;isPotionRecipeIngredient(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8069 Lnet/minecraft/class_1845;method_8069(Lnet/minecraft/class_1799;)Z
      official c Lczm;c(Lcxo;)Z
    • isBrewable

      public boolean isBrewable(RegistryEntry<Potion> potion)
      Mappings:
      Namespace Name Mixin selector
      named isBrewable Lnet/minecraft/recipe/BrewingRecipeRegistry;isBrewable(Lnet/minecraft/registry/entry/RegistryEntry;)Z
      intermediary method_20361 Lnet/minecraft/class_1845;method_20361(Lnet/minecraft/class_6880;)Z
      official a Lczm;a(Ljq;)Z
    • hasRecipe

      public boolean hasRecipe(ItemStack input, ItemStack ingredient)
      Mappings:
      Namespace Name Mixin selector
      named hasRecipe Lnet/minecraft/recipe/BrewingRecipeRegistry;hasRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8072 Lnet/minecraft/class_1845;method_8072(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      official a Lczm;a(Lcxo;Lcxo;)Z
    • hasItemRecipe

      public boolean hasItemRecipe(ItemStack input, ItemStack ingredient)
      Mappings:
      Namespace Name Mixin selector
      named hasItemRecipe Lnet/minecraft/recipe/BrewingRecipeRegistry;hasItemRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8070 Lnet/minecraft/class_1845;method_8070(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      official b Lczm;b(Lcxo;Lcxo;)Z
    • hasPotionRecipe

      public boolean hasPotionRecipe(ItemStack input, ItemStack ingredient)
      Mappings:
      Namespace Name Mixin selector
      named hasPotionRecipe Lnet/minecraft/recipe/BrewingRecipeRegistry;hasPotionRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
      intermediary method_8075 Lnet/minecraft/class_1845;method_8075(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      official c Lczm;c(Lcxo;Lcxo;)Z
    • craft

      public ItemStack craft(ItemStack ingredient, ItemStack input)
      Mappings:
      Namespace Name Mixin selector
      named craft Lnet/minecraft/recipe/BrewingRecipeRegistry;craft(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
      intermediary method_8078 Lnet/minecraft/class_1845;method_8078(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      official d Lczm;d(Lcxo;Lcxo;)Lcxo;
    • create

      public static BrewingRecipeRegistry create(FeatureSet enabledFeatures)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/recipe/BrewingRecipeRegistry;create(Lnet/minecraft/resource/featuretoggle/FeatureSet;)Lnet/minecraft/recipe/BrewingRecipeRegistry;
      intermediary method_8076 Lnet/minecraft/class_1845;method_8076(Lnet/minecraft/class_7699;)Lnet/minecraft/class_1845;
      official a Lczm;a(Lcss;)Lczm;
    • registerDefaults

      public static void registerDefaults(BrewingRecipeRegistry.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      named registerDefaults Lnet/minecraft/recipe/BrewingRecipeRegistry;registerDefaults(Lnet/minecraft/recipe/BrewingRecipeRegistry$Builder;)V
      intermediary method_59699 Lnet/minecraft/class_1845;method_59699(Lnet/minecraft/class_1845$class_9665;)V
      official a Lczm;a(Lczm$a;)V