Package net.minecraft.recipe
Class BrewingRecipeRegistry
java.lang.Object
net.minecraft.recipe.BrewingRecipeRegistry
- Mappings:
Namespace Name named net/minecraft/recipe/BrewingRecipeRegistry
intermediary net/minecraft/class_1845
official cwt
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static final record
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BrewingRecipeRegistry
static final int
private final List
<BrewingRecipeRegistry.Recipe<Item>> private final List
<BrewingRecipeRegistry.Recipe<Potion>> private final List
<Ingredient> -
Constructor Summary
ConstructorDescriptionBrewingRecipeRegistry
(List<Ingredient> potionTypes, List<BrewingRecipeRegistry.Recipe<Potion>> potionRecipes, List<BrewingRecipeRegistry.Recipe<Item>> itemRecipes) -
Method Summary
Modifier and TypeMethodDescriptionstatic BrewingRecipeRegistry
create
(FeatureSet enabledFeatures) boolean
hasItemRecipe
(ItemStack input, ItemStack ingredient) boolean
hasPotionRecipe
(ItemStack input, ItemStack ingredient) boolean
boolean
isBrewable
(RegistryEntry<Potion> potion) boolean
isItemRecipeIngredient
(ItemStack stack) boolean
private boolean
isPotionType
(ItemStack stack) boolean
isValidIngredient
(ItemStack stack) static void
-
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
Lcwt;a:I
-
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
Lcwt;b:Lcwt;
-
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
Lcwt;c:Ljava/util/List;
-
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
Lcwt;d:Ljava/util/List;
-
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
Lcwt;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>
Lcwt;<init>(Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
isValidIngredient
- 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
Lcwt;a(Lcuq;)Z
-
isPotionType
- 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
Lcwt;d(Lcuq;)Z
-
isItemRecipeIngredient
- 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
Lcwt;b(Lcuq;)Z
-
isPotionRecipeIngredient
- 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
Lcwt;c(Lcuq;)Z
-
isBrewable
- 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
Lcwt;a(Ljm;)Z
-
hasRecipe
- 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
Lcwt;a(Lcuq;Lcuq;)Z
-
hasItemRecipe
- 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
Lcwt;b(Lcuq;Lcuq;)Z
-
hasPotionRecipe
- 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
Lcwt;c(Lcuq;Lcuq;)Z
-
craft
- 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
Lcwt;d(Lcuq;Lcuq;)Lcuq;
-
create
- 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
Lcwt;a(Lcpl;)Lcwt;
-
registerDefaults
- 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
Lcwt;a(Lcwt$a;)V
-