Uses of Class
net.minecraft.recipe.Ingredient
Package
Description
-
Uses of Ingredient in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate final Ingredient
SmithingTransformRecipeJsonBuilder.addition
private final Ingredient
SmithingTrimRecipeJsonBuilder.addition
private final Ingredient
SmithingTransformRecipeJsonBuilder.base
private final Ingredient
SmithingTrimRecipeJsonBuilder.base
private final Ingredient
CookingRecipeJsonBuilder.input
private final Ingredient
StonecuttingRecipeJsonBuilder.input
private final Ingredient
TransmuteRecipeJsonBuilder.input
private final Ingredient
TransmuteRecipeJsonBuilder.material
private final Ingredient
SmithingTransformRecipeJsonBuilder.template
private final Ingredient
SmithingTrimRecipeJsonBuilder.template
Modifier and TypeFieldDescriptionprivate final Map
<Character, Ingredient> ShapedRecipeJsonBuilder.inputs
private final List
<Ingredient> ShapelessRecipeJsonBuilder.inputs
Modifier and TypeMethodDescriptionprotected Ingredient
RecipeGenerator.ingredientFromTag
(TagKey<Item> tag) Modifier and TypeMethodDescriptionstatic <T extends AbstractCookingRecipe>
CookingRecipeJsonBuilderCookingRecipeJsonBuilder.create
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory) SmithingTransformRecipeJsonBuilder.create
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTrimRecipeJsonBuilder.create
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category) static TransmuteRecipeJsonBuilder
TransmuteRecipeJsonBuilder.create
(RecipeCategory category, Ingredient input, Ingredient material, Item result) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createBlasting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) private CraftingRecipeJsonBuilder
RecipeGenerator.createButtonRecipe
(ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createCampfireCooking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected ShapedRecipeJsonBuilder
RecipeGenerator.createChiseledBlockRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createCondensingRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private ShapedRecipeJsonBuilder
RecipeGenerator.createCutCopperRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilder
RecipeGenerator.createDoorRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createFenceGateRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createFenceRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createPressurePlateRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.createSignRecipe
(ItemConvertible output, Ingredient input) protected CraftingRecipeJsonBuilder
RecipeGenerator.createSlabRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmelting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmoking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected CraftingRecipeJsonBuilder
RecipeGenerator.createStairsRecipe
(ItemConvertible output, Ingredient input) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) StonecuttingRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) protected CraftingRecipeJsonBuilder
RecipeGenerator.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) private CraftingRecipeJsonBuilder
RecipeGenerator.getWallRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) ShapedRecipeJsonBuilder.input
(Character c, Ingredient ingredient) ShapelessRecipeJsonBuilder.input
(Ingredient ingredient) ShapelessRecipeJsonBuilder.input
(Ingredient ingredient, int amount) protected void
RecipeGenerator.offerSmithingTemplateCopyingRecipe
(ItemConvertible template, Ingredient resource) ModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) SmithingTransformRecipeJsonBuilder
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTrimRecipeJsonBuilder
(RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition) StonecuttingRecipeJsonBuilder
(RecipeCategory category, SingleStackRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) private
TransmuteRecipeJsonBuilder
(RecipeCategory category, RegistryEntry<Item> result, Ingredient input, Ingredient material) -
Uses of Ingredient in net.minecraft.recipe
Modifier and TypeFieldDescriptionprivate static final Ingredient
FireworkRocketRecipe.DURATION_MODIFIER
private static final Ingredient
FireworkRocketRecipe.FIREWORK_STAR
private static final Ingredient
FireworkStarRecipe.FLICKER_MODIFIER
private static final Ingredient
FireworkStarRecipe.GUNPOWDER
private final Ingredient
BrewingRecipeRegistry.Recipe.ingredient
The field for theingredient
record component.private final Ingredient
SingleStackRecipe.ingredient
(package private) final Ingredient
TransmuteRecipe.input
private static final Ingredient
FireworkStarFadeRecipe.INPUT_STAR
(package private) final Ingredient
TransmuteRecipe.material
private static final Ingredient
FireworkRocketRecipe.PAPER
private static final Ingredient
FireworkStarRecipe.TRAIL_MODIFIER
Modifier and TypeFieldDescription(package private) final Optional
<Ingredient> SmithingTransformRecipe.addition
(package private) final Optional
<Ingredient> SmithingTrimRecipe.addition
(package private) final Optional
<Ingredient> SmithingTransformRecipe.base
(package private) final Optional
<Ingredient> SmithingTrimRecipe.base
static final com.mojang.serialization.Codec
<Ingredient> Ingredient.CODEC
private final Optional
<List<Ingredient>> RecipeDisplayEntry.craftingRequirements
The field for thecraftingRequirements
record component.private final List
<Ingredient> IngredientPlacement.ingredients
private final List
<Optional<Ingredient>> RawShapedRecipe.ingredients
private final List
<Ingredient> ServerRecipeManager.PropertySetBuilder.ingredients
(package private) final List
<Ingredient> ShapelessRecipe.ingredients
private final Map
<Character, Ingredient> RawShapedRecipe.Data.key
The field for thekey
record component.static final PacketCodec
<RegistryByteBuf, Optional<Ingredient>> Ingredient.OPTIONAL_PACKET_CODEC
static final PacketCodec
<RegistryByteBuf, Ingredient> Ingredient.PACKET_CODEC
private final List
<Ingredient> BrewingRecipeRegistry.Builder.potionTypes
private final List
<Ingredient> BrewingRecipeRegistry.potionTypes
(package private) final Optional
<Ingredient> SmithingTransformRecipe.template
(package private) final Optional
<Ingredient> SmithingTrimRecipe.template
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromTag
(RegistryEntryList<Item> tag) BrewingRecipeRegistry.Recipe.ingredient()
Returns the value of theingredient
record component.SingleStackRecipe.ingredient()
static Ingredient
Ingredient.ofItem
(ItemConvertible item) static Ingredient
Ingredient.ofItems
(Stream<? extends ItemConvertible> stacks) static Ingredient
Ingredient.ofItems
(ItemConvertible[] items) Modifier and TypeMethodDescriptionSmithingRecipe.addition()
SmithingTransformRecipe.addition()
SmithingTrimRecipe.addition()
SmithingRecipe.base()
SmithingTransformRecipe.base()
SmithingTrimRecipe.base()
RecipeDisplayEntry.craftingRequirements()
Returns the value of thecraftingRequirements
record component.(package private) static List
<Ingredient> ServerRecipeManager.filterIngredients
(FeatureSet features, List<Ingredient> ingredients) IngredientPlacement.getIngredients()
RawShapedRecipe.getIngredients()
ShapedRecipe.getIngredients()
RawShapedRecipe.Data.key()
Returns the value of thekey
record component.SmithingRecipe.template()
SmithingTransformRecipe.template()
SmithingTrimRecipe.template()
Modifier and TypeMethodDescriptionAbstractCookingRecipe.RecipeFactory.create
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SingleStackRecipe.RecipeFactory.create
(String group, Ingredient ingredient, ItemStack result) static IngredientPlacement
IngredientPlacement.forSingleSlot
(Ingredient ingredient) private static boolean
ServerRecipeManager.isEnabled
(FeatureSet features, Ingredient ingredient) static RecipeMatcher.RawIngredient
<RegistryEntry<Item>> IngredientPlacement.sort
(Ingredient ingredient) Modifier and TypeMethodDescriptionprivate static RawShapedRecipe
static RawShapedRecipe
RawShapedRecipe.create
(Map<Character, Ingredient> key, String[] pattern) static RawShapedRecipe
(package private) static List
<Ingredient> ServerRecipeManager.filterIngredients
(FeatureSet features, List<Ingredient> ingredients) static IngredientPlacement
IngredientPlacement.forMultipleSlots
(List<Optional<Ingredient>> ingredients) static IngredientPlacement
IngredientPlacement.forShapeless
(List<Ingredient> ingredients) static boolean
Ingredient.matches
(Optional<Ingredient> ingredient, ItemStack stack) (package private) static RecipePropertySet
RecipePropertySet.of
(Collection<Ingredient> ingredients) static SlotDisplay
Ingredient.toDisplay
(Optional<Ingredient> ingredient) ModifierConstructorDescriptionAbstractCookingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) BlastingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CampfireCookingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) (package private)
Recipe
(RegistryEntry<T> registryEntry, Ingredient ingredient, RegistryEntry<T> registryEntry2) SingleStackRecipe
(String group, Ingredient ingredient, ItemStack result) SmeltingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SmokingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) StonecuttingRecipe
(String group, Ingredient ingredient, ItemStack result) TransmuteRecipe
(String group, CraftingRecipeCategory category, Ingredient input, Ingredient material, RegistryEntry<Item> result) ModifierConstructorDescription(package private)
BrewingRecipeRegistry
(List<Ingredient> potionTypes, List<BrewingRecipeRegistry.Recipe<Potion>> potionRecipes, List<BrewingRecipeRegistry.Recipe<Item>> itemRecipes) private
IngredientPlacement
(List<Ingredient> ingredients, List<RecipeMatcher.RawIngredient<RegistryEntry<Item>>> rawIngredients, List<Optional<IngredientPlacement.PlacementSlot>> placementSlots) RawShapedRecipe
(int width, int height, List<Optional<Ingredient>> ingredients, Optional<RawShapedRecipe.Data> data) RecipeDisplayEntry
(NetworkRecipeId networkRecipeId, RecipeDisplay recipeDisplay, OptionalInt optionalInt, RecipeBookCategory recipeBookCategory, Optional<List<Ingredient>> optional) ShapelessRecipe
(String group, CraftingRecipeCategory category, ItemStack result, List<Ingredient> ingredients) SmithingTransformRecipe
(Optional<Ingredient> template, Optional<Ingredient> base, Optional<Ingredient> addition, ItemStack result) SmithingTrimRecipe
(Optional<Ingredient> template, Optional<Ingredient> base, Optional<Ingredient> addition) -
Uses of Ingredient in net.minecraft.recipe.display
Modifier and TypeFieldDescriptionprivate final Ingredient
CuttingRecipeDisplay.GroupEntry.input
The field for theinput
record component.Modifier and TypeMethodDescriptionCuttingRecipeDisplay.GroupEntry.input()
Returns the value of theinput
record component.ModifierConstructorDescriptionGroupEntry
(Ingredient ingredient, CuttingRecipeDisplay<T> cuttingRecipeDisplay)