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 class
BrewingRecipeRegistry.Recipe<T>
-
Field Summary
Fields Modifier and Type Field Description private static List<BrewingRecipeRegistry.Recipe<Item>>
ITEM_RECIPES
private static List<BrewingRecipeRegistry.Recipe<Potion>>
POTION_RECIPES
private static Predicate<ItemStack>
POTION_TYPE_PREDICATE
private static List<Ingredient>
POTION_TYPES
-
Constructor Summary
Constructors Constructor Description BrewingRecipeRegistry()
-
Method Summary
Modifier and Type Method Description static ItemStack
craft(ItemStack input, ItemStack ingredient)
protected static boolean
hasItemRecipe(ItemStack input, ItemStack ingredient)
protected static boolean
hasPotionRecipe(ItemStack input, ItemStack ingredient)
static boolean
hasRecipe(ItemStack input, ItemStack ingredient)
static boolean
isBrewable(Potion potion)
protected static boolean
isItemRecipeIngredient(ItemStack stack)
protected static boolean
isPotionRecipeIngredient(ItemStack stack)
static boolean
isValidIngredient(ItemStack stack)
static void
registerDefaults()
private static void
registerItemRecipe(Item input, Item ingredient, Item output)
private static void
registerPotionRecipe(Potion input, Item item, Potion output)
private static void
registerPotionType(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
-