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 cwq
  • 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 Lcwq;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 Lcwq;b:Lcwq;
    • 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 Lcwq;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 Lcwq;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 Lcwq;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> Lcwq;<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 Lcwq;a(Lcuq;)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 Lcwq;d(Lcuq;)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 Lcwq;b(Lcuq;)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 Lcwq;c(Lcuq;)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 Lcwq;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 Lcwq;a(Lcuq;Lcuq;)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 Lcwq;b(Lcuq;Lcuq;)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 Lcwq;c(Lcuq;Lcuq;)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 Lcwq;d(Lcuq;Lcuq;)Lcuq;
    • 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 Lcwq;a(Lcpm;)Lcwq;
    • 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 Lcwq;a(Lcwq$a;)V