Package net.minecraft.recipe
Class BrewingRecipeRegistry
java.lang.Object
net.minecraft.recipe.BrewingRecipeRegistry
public class BrewingRecipeRegistry extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classBrewingRecipeRegistry.Recipe<T> -
Field Summary
Fields Modifier and Type Field Description private static List<BrewingRecipeRegistry.Recipe<Item>>ITEM_RECIPESprivate static List<BrewingRecipeRegistry.Recipe<Potion>>POTION_RECIPESprivate static Predicate<ItemStack>POTION_TYPE_PREDICATEprivate static List<Ingredient>POTION_TYPES -
Constructor Summary
Constructors Constructor Description BrewingRecipeRegistry() -
Method Summary
Modifier and Type Method Description static ItemStackcraft(ItemStack input, ItemStack ingredient)protected static booleanhasItemRecipe(ItemStack input, ItemStack ingredient)protected static booleanhasPotionRecipe(ItemStack input, ItemStack ingredient)static booleanhasRecipe(ItemStack input, ItemStack ingredient)static booleanisBrewable(Potion potion)protected static booleanisItemRecipeIngredient(ItemStack stack)protected static booleanisPotionRecipeIngredient(ItemStack stack)static booleanisValidIngredient(ItemStack stack)static voidregisterDefaults()private static voidregisterItemRecipe(Item input, Item ingredient, Item output)private static voidregisterPotionRecipe(Potion input, Item item, Potion output)private static voidregisterPotionType(Item item)
-
Field Details
-
POTION_RECIPES
-
ITEM_RECIPES
-
POTION_TYPES
-
POTION_TYPE_PREDICATE
-
-
Constructor Details
-
BrewingRecipeRegistry
public BrewingRecipeRegistry()
-
-
Method Details
-
isValidIngredient
-
isItemRecipeIngredient
-
isPotionRecipeIngredient
-
isBrewable
-
hasRecipe
-
hasItemRecipe
-
hasPotionRecipe
-
craft
-
registerDefaults
public static void registerDefaults() -
registerItemRecipe
-
registerPotionType
-
registerPotionRecipe
-