Class BrewingRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.BrewingRecipeBuilder
- All Implemented Interfaces:
RecipeBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PotionIngredientprivate final ItemStackTemplateprivate final PotionIngredientFields inherited from interface RecipeBuilder
ROOT_RECIPE_ADVANCEMENT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBrewingRecipeBuilder(PotionIngredient input, PotionIngredient reagent, ItemStackTemplate output) -
Method Summary
Modifier and TypeMethodDescriptionstatic BrewingRecipeBuilderbrewingContainerTransform(Item inputContainer, Holder<Potion> inputPotion, Item reagentItem, Item outputContainer) static BrewingRecipeBuilderbrewingMix(Item container, Holder<Potion> inputPotion, Item reagentItem, Holder<Potion> outputPotion) ResourceKey<Recipe<?>> getExactPotion(PotionsPredicate predicate) getIngredientPotion(PotionIngredient ingredient) private static PotionIngredientpotionIngredient(Item potionContainer, Holder<Potion> potion) private static ItemStackTemplatepotionOutput(Item potionContainer, Holder<Potion> potion) voidsave(RecipeOutput recipeOutput, ResourceKey<Recipe<?>> id) unlockedBy(String name, Criterion<?> criterion) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RecipeBuilder
save, save
-
Field Details
-
input
-
reagent
-
output
-
-
Constructor Details
-
BrewingRecipeBuilder
private BrewingRecipeBuilder(PotionIngredient input, PotionIngredient reagent, ItemStackTemplate output)
-
-
Method Details
-
potionIngredient
-
potionOutput
-
brewingMix
-
brewingContainerTransform
-
unlockedBy
- Specified by:
unlockedByin interfaceRecipeBuilder
-
group
- Specified by:
groupin interfaceRecipeBuilder
-
getExactPotion
-
getIngredientPotion
-
defaultId
- Specified by:
defaultIdin interfaceRecipeBuilder
-
save
- Specified by:
savein interfaceRecipeBuilder
-