Package net.minecraft.recipe
Class BrewingRecipeRegistry
java.lang.Object
net.minecraft.recipe.BrewingRecipeRegistry
- Mappings:
Namespace Name official ctpintermediary net/minecraft/class_1845named net/minecraft/recipe/BrewingRecipeRegistry
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate static final List<BrewingRecipeRegistry.Recipe<Item>> private static final List<BrewingRecipeRegistry.Recipe<Potion>> private static final List<Ingredient> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ItemStackprotected static booleanhasItemRecipe(ItemStack input, ItemStack ingredient) protected static booleanhasPotionRecipe(ItemStack input, ItemStack ingredient) static booleanstatic booleanisBrewable(RegistryEntry<Potion> potion) protected static booleanisItemRecipeIngredient(ItemStack stack) protected static booleanstatic booleanisValidIngredient(ItemStack stack) static voidprivate static voidregisterItemRecipe(Item input, Item ingredient, Item output) private static voidregisterPotionRecipe(RegistryEntry<Potion> input, Item item, RegistryEntry<Potion> output) private static voidregisterPotionType(Item item)
-
Field Details
-
field_30942
public static final int field_30942- See Also:
- Mappings:
Namespace Name Mixin selector official aLctp;a:Iintermediary field_30942Lnet/minecraft/class_1845;field_30942:Inamed field_30942Lnet/minecraft/recipe/BrewingRecipeRegistry;field_30942:I
-
POTION_RECIPES
- Mappings:
Namespace Name Mixin selector official bLctp;b:Ljava/util/List;intermediary field_8956Lnet/minecraft/class_1845;field_8956:Ljava/util/List;named POTION_RECIPESLnet/minecraft/recipe/BrewingRecipeRegistry;POTION_RECIPES:Ljava/util/List;
-
ITEM_RECIPES
- Mappings:
Namespace Name Mixin selector official cLctp;c:Ljava/util/List;intermediary field_8959Lnet/minecraft/class_1845;field_8959:Ljava/util/List;named ITEM_RECIPESLnet/minecraft/recipe/BrewingRecipeRegistry;ITEM_RECIPES:Ljava/util/List;
-
POTION_TYPES
- Mappings:
Namespace Name Mixin selector official dLctp;d:Ljava/util/List;intermediary field_8957Lnet/minecraft/class_1845;field_8957:Ljava/util/List;named POTION_TYPESLnet/minecraft/recipe/BrewingRecipeRegistry;POTION_TYPES:Ljava/util/List;
-
POTION_TYPE_PREDICATE
- Mappings:
Namespace Name Mixin selector official eLctp;e:Ljava/util/function/Predicate;intermediary field_8958Lnet/minecraft/class_1845;field_8958:Ljava/util/function/Predicate;named POTION_TYPE_PREDICATELnet/minecraft/recipe/BrewingRecipeRegistry;POTION_TYPE_PREDICATE:Ljava/util/function/Predicate;
-
-
Constructor Details
-
BrewingRecipeRegistry
public BrewingRecipeRegistry()
-
-
Method Details
-
isValidIngredient
- Mappings:
Namespace Name Mixin selector official aLctp;a(Lcrs;)Zintermediary method_8077Lnet/minecraft/class_1845;method_8077(Lnet/minecraft/class_1799;)Znamed isValidIngredientLnet/minecraft/recipe/BrewingRecipeRegistry;isValidIngredient(Lnet/minecraft/item/ItemStack;)Z
-
isItemRecipeIngredient
- Mappings:
Namespace Name Mixin selector official bLctp;b(Lcrs;)Zintermediary method_8079Lnet/minecraft/class_1845;method_8079(Lnet/minecraft/class_1799;)Znamed isItemRecipeIngredientLnet/minecraft/recipe/BrewingRecipeRegistry;isItemRecipeIngredient(Lnet/minecraft/item/ItemStack;)Z
-
isPotionRecipeIngredient
- Mappings:
Namespace Name Mixin selector official cLctp;c(Lcrs;)Zintermediary method_8069Lnet/minecraft/class_1845;method_8069(Lnet/minecraft/class_1799;)Znamed isPotionRecipeIngredientLnet/minecraft/recipe/BrewingRecipeRegistry;isPotionRecipeIngredient(Lnet/minecraft/item/ItemStack;)Z
-
isBrewable
- Mappings:
Namespace Name Mixin selector official aLctp;a(Lin;)Zintermediary method_20361Lnet/minecraft/class_1845;method_20361(Lnet/minecraft/class_6880;)Znamed isBrewableLnet/minecraft/recipe/BrewingRecipeRegistry;isBrewable(Lnet/minecraft/registry/entry/RegistryEntry;)Z
-
hasRecipe
- Mappings:
Namespace Name Mixin selector official aLctp;a(Lcrs;Lcrs;)Zintermediary method_8072Lnet/minecraft/class_1845;method_8072(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed hasRecipeLnet/minecraft/recipe/BrewingRecipeRegistry;hasRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
hasItemRecipe
- Mappings:
Namespace Name Mixin selector official bLctp;b(Lcrs;Lcrs;)Zintermediary method_8070Lnet/minecraft/class_1845;method_8070(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed hasItemRecipeLnet/minecraft/recipe/BrewingRecipeRegistry;hasItemRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
hasPotionRecipe
- Mappings:
Namespace Name Mixin selector official cLctp;c(Lcrs;Lcrs;)Zintermediary method_8075Lnet/minecraft/class_1845;method_8075(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed hasPotionRecipeLnet/minecraft/recipe/BrewingRecipeRegistry;hasPotionRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
craft
- Mappings:
Namespace Name Mixin selector official dLctp;d(Lcrs;Lcrs;)Lcrs;intermediary method_8078Lnet/minecraft/class_1845;method_8078(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named craftLnet/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 aLctp;a()Vintermediary method_8076Lnet/minecraft/class_1845;method_8076()Vnamed registerDefaultsLnet/minecraft/recipe/BrewingRecipeRegistry;registerDefaults()V
-
registerItemRecipe
- Mappings:
Namespace Name Mixin selector official aLctp;a(Lcrn;Lcrn;Lcrn;)Vintermediary method_8071Lnet/minecraft/class_1845;method_8071(Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;)Vnamed registerItemRecipeLnet/minecraft/recipe/BrewingRecipeRegistry;registerItemRecipe(Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;)V
-
registerPotionType
- Mappings:
Namespace Name Mixin selector official aLctp;a(Lcrn;)Vintermediary method_8080Lnet/minecraft/class_1845;method_8080(Lnet/minecraft/class_1792;)Vnamed registerPotionTypeLnet/minecraft/recipe/BrewingRecipeRegistry;registerPotionType(Lnet/minecraft/item/Item;)V
-
registerPotionRecipe
private static void registerPotionRecipe(RegistryEntry<Potion> input, Item item, RegistryEntry<Potion> output) - Mappings:
Namespace Name Mixin selector official aLctp;a(Lin;Lcrn;Lin;)Vintermediary method_8074Lnet/minecraft/class_1845;method_8074(Lnet/minecraft/class_6880;Lnet/minecraft/class_1792;Lnet/minecraft/class_6880;)Vnamed registerPotionRecipeLnet/minecraft/recipe/BrewingRecipeRegistry;registerPotionRecipe(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/item/Item;Lnet/minecraft/registry/entry/RegistryEntry;)V
-