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 cwr
  • 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 Lcwr;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 Lcwr;b:Lcwr;
    • 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 Lcwr;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 Lcwr;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 Lcwr;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> Lcwr;<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 Lcwr;a(Lcur;)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 Lcwr;d(Lcur;)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 Lcwr;b(Lcur;)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 Lcwr;c(Lcur;)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 Lcwr;a(Lji;)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 Lcwr;a(Lcur;Lcur;)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 Lcwr;b(Lcur;Lcur;)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 Lcwr;c(Lcur;Lcur;)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 Lcwr;d(Lcur;Lcur;)Lcur;
    • 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 Lcwr;a(Lcpn;)Lcwr;
    • 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 Lcwr;a(Lcwr$a;)V