Class BrewingRecipeRegistry

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

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

    • field_30942

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

      private static final List<BrewingRecipeRegistry.Recipe<Potion>> POTION_RECIPES
      Mappings:
      Namespace Name Mixin selector
      official b Lchx;b:Ljava/util/List;
      intermediary field_8956 Lnet/minecraft/class_1845;field_8956:Ljava/util/List;
      named POTION_RECIPES Lnet/minecraft/recipe/BrewingRecipeRegistry;POTION_RECIPES:Ljava/util/List;
    • ITEM_RECIPES

      private static final List<BrewingRecipeRegistry.Recipe<Item>> ITEM_RECIPES
      Mappings:
      Namespace Name Mixin selector
      official c Lchx;c:Ljava/util/List;
      intermediary field_8959 Lnet/minecraft/class_1845;field_8959:Ljava/util/List;
      named ITEM_RECIPES Lnet/minecraft/recipe/BrewingRecipeRegistry;ITEM_RECIPES:Ljava/util/List;
    • POTION_TYPES

      private static final List<Ingredient> POTION_TYPES
      Mappings:
      Namespace Name Mixin selector
      official d Lchx;d:Ljava/util/List;
      intermediary field_8957 Lnet/minecraft/class_1845;field_8957:Ljava/util/List;
      named POTION_TYPES Lnet/minecraft/recipe/BrewingRecipeRegistry;POTION_TYPES:Ljava/util/List;
    • POTION_TYPE_PREDICATE

      private static final Predicate<ItemStack> POTION_TYPE_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official e Lchx;e:Ljava/util/function/Predicate;
      intermediary field_8958 Lnet/minecraft/class_1845;field_8958:Ljava/util/function/Predicate;
      named POTION_TYPE_PREDICATE Lnet/minecraft/recipe/BrewingRecipeRegistry;POTION_TYPE_PREDICATE:Ljava/util/function/Predicate;
  • Constructor Details

    • BrewingRecipeRegistry

      public BrewingRecipeRegistry()
  • Method Details

    • isValidIngredient

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

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

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

      public static boolean isBrewable(Potion potion)
      Mappings:
      Namespace Name Mixin selector
      official a Lchx;a(Lchw;)Z
      intermediary method_20361 Lnet/minecraft/class_1845;method_20361(Lnet/minecraft/class_1842;)Z
      named isBrewable Lnet/minecraft/recipe/BrewingRecipeRegistry;isBrewable(Lnet/minecraft/potion/Potion;)Z
    • hasRecipe

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

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

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

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

      public static void registerDefaults()
      Mappings:
      Namespace Name Mixin selector
      official a Lchx;a()V
      intermediary method_8076 Lnet/minecraft/class_1845;method_8076()V
      named registerDefaults Lnet/minecraft/recipe/BrewingRecipeRegistry;registerDefaults()V
    • registerItemRecipe

      private static void registerItemRecipe(Item input, Item ingredient, Item output)
      Mappings:
      Namespace Name Mixin selector
      official a Lchx;a(Lcfu;Lcfu;Lcfu;)V
      intermediary method_8071 Lnet/minecraft/class_1845;method_8071(Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;)V
      named registerItemRecipe Lnet/minecraft/recipe/BrewingRecipeRegistry;registerItemRecipe(Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;)V
    • registerPotionType

      private static void registerPotionType(Item item)
      Mappings:
      Namespace Name Mixin selector
      official a Lchx;a(Lcfu;)V
      intermediary method_8080 Lnet/minecraft/class_1845;method_8080(Lnet/minecraft/class_1792;)V
      named registerPotionType Lnet/minecraft/recipe/BrewingRecipeRegistry;registerPotionType(Lnet/minecraft/item/Item;)V
    • registerPotionRecipe

      private static void registerPotionRecipe(Potion input, Item item, Potion output)
      Mappings:
      Namespace Name Mixin selector
      official a Lchx;a(Lchw;Lcfu;Lchw;)V
      intermediary method_8074 Lnet/minecraft/class_1845;method_8074(Lnet/minecraft/class_1842;Lnet/minecraft/class_1792;Lnet/minecraft/class_1842;)V
      named registerPotionRecipe Lnet/minecraft/recipe/BrewingRecipeRegistry;registerPotionRecipe(Lnet/minecraft/potion/Potion;Lnet/minecraft/item/Item;Lnet/minecraft/potion/Potion;)V