Uses of Class
net.minecraft.world.item.crafting.Ingredient
Packages that use Ingredient
Package
Description
-
Uses of Ingredient in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as IngredientModifier and TypeFieldDescriptionprivate Ingredient
AbstractFurnaceRecipeBookComponent.fuels
private final Ingredient
GhostRecipe.GhostIngredient.ingredient
Methods in net.minecraft.client.gui.screens.recipebook with parameters of type IngredientModifier and TypeMethodDescriptionvoid
GhostRecipe.addIngredient
(Ingredient p_100144_, int p_100145_, int p_100146_) Method parameters in net.minecraft.client.gui.screens.recipebook with type arguments of type IngredientModifier and TypeMethodDescriptionvoid
OverlayRecipeComponent.OverlayRecipeButton.addItemToSlot
(Iterator<Ingredient> p_100240_, int p_100241_, int p_100242_, int p_100243_, int p_100244_) void
RecipeBookComponent.addItemToSlot
(Iterator<Ingredient> p_100338_, int p_100339_, int p_100340_, int p_100341_, int p_100342_) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type IngredientModifierConstructorDescriptionGhostIngredient
(Ingredient p_100166_, int p_100167_, int p_100168_) -
Uses of Ingredient in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
UpgradeRecipeBuilder.addition
private final Ingredient
UpgradeRecipeBuilder.Result.addition
private final Ingredient
UpgradeRecipeBuilder.base
private final Ingredient
UpgradeRecipeBuilder.Result.base
private final Ingredient
SimpleCookingRecipeBuilder.ingredient
private final Ingredient
SimpleCookingRecipeBuilder.Result.ingredient
private final Ingredient
SingleItemRecipeBuilder.ingredient
private final Ingredient
SingleItemRecipeBuilder.Result.ingredient
Fields in net.minecraft.data.recipes with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient>
ShapelessRecipeBuilder.ingredients
private final List<Ingredient>
ShapelessRecipeBuilder.Result.ingredients
private final Map<Character,
Ingredient> ShapedRecipeBuilder.key
private final Map<Character,
Ingredient> ShapedRecipeBuilder.Result.key
Methods in net.minecraft.data.recipes with parameters of type IngredientModifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient p_126268_, ItemLike p_126269_, float p_126270_, int p_126271_) protected static RecipeBuilder
RecipeProvider.buttonBuilder
(ItemLike p_176659_, Ingredient p_176660_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient p_176785_, ItemLike p_176786_, float p_176787_, int p_176788_) static ShapedRecipeBuilder
RecipeProvider.chiseledBuilder
(ItemLike p_176647_, Ingredient p_176648_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.cooking
(Ingredient p_126249_, ItemLike p_126250_, float p_126251_, int p_126252_, SimpleCookingSerializer<?> p_126253_) static ShapedRecipeBuilder
RecipeProvider.cutBuilder
(ItemLike p_176635_, Ingredient p_176636_) ShapedRecipeBuilder.define
(Character p_126125_, Ingredient p_126126_) protected static RecipeBuilder
RecipeProvider.doorBuilder
(ItemLike p_176671_, Ingredient p_176672_) protected static RecipeBuilder
RecipeProvider.fenceBuilder
(ItemLike p_176679_, Ingredient p_176680_) protected static RecipeBuilder
RecipeProvider.fenceGateBuilder
(ItemLike p_176685_, Ingredient p_176686_) static RecipeBuilder
RecipeProvider.polishedBuilder
(ItemLike p_176605_, Ingredient p_176606_) protected static RecipeBuilder
RecipeProvider.pressurePlateBuilder
(ItemLike p_176695_, Ingredient p_176696_) ShapelessRecipeBuilder.requires
(Ingredient p_126185_) ShapelessRecipeBuilder.requires
(Ingredient p_126187_, int p_126188_) protected static RecipeBuilder
RecipeProvider.signBuilder
(ItemLike p_176727_, Ingredient p_176728_) protected static RecipeBuilder
RecipeProvider.slabBuilder
(ItemLike p_176705_, Ingredient p_176706_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient p_126273_, ItemLike p_126274_, float p_126275_, int p_126276_) static UpgradeRecipeBuilder
UpgradeRecipeBuilder.smithing
(Ingredient p_126386_, Ingredient p_126387_, Item p_126388_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient p_176797_, ItemLike p_176798_, float p_176799_, int p_176800_) protected static RecipeBuilder
RecipeProvider.stairBuilder
(ItemLike p_176711_, Ingredient p_176712_) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient p_126314_, ItemLike p_126315_) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient p_126317_, ItemLike p_126318_, int p_126319_) protected static RecipeBuilder
RecipeProvider.trapdoorBuilder
(ItemLike p_176721_, Ingredient p_176722_) static RecipeBuilder
RecipeProvider.wallBuilder
(ItemLike p_176515_, Ingredient p_176516_) Constructors in net.minecraft.data.recipes with parameters of type IngredientModifierConstructorDescriptionResult
(ResourceLocation p_126287_, String p_126288_, Ingredient p_126289_, Item p_126290_, float p_126291_, int p_126292_, Advancement.Builder p_126293_, ResourceLocation p_126294_, RecipeSerializer<? extends AbstractCookingRecipe> p_126295_) Result
(ResourceLocation p_126340_, RecipeSerializer<?> p_126341_, String p_126342_, Ingredient p_126343_, Item p_126344_, int p_126345_, Advancement.Builder p_126346_, ResourceLocation p_126347_) Result
(ResourceLocation p_126408_, RecipeSerializer<?> p_126409_, Ingredient p_126410_, Ingredient p_126411_, Item p_126412_, Advancement.Builder p_126413_, ResourceLocation p_126414_) private
SimpleCookingRecipeBuilder
(ItemLike p_126243_, Ingredient p_126244_, float p_126245_, int p_126246_, SimpleCookingSerializer<?> p_126247_) SingleItemRecipeBuilder
(RecipeSerializer<?> p_126309_, Ingredient p_126310_, ItemLike p_126311_, int p_126312_) UpgradeRecipeBuilder
(RecipeSerializer<?> p_126381_, Ingredient p_126382_, Ingredient p_126383_, Item p_126384_) Constructor parameters in net.minecraft.data.recipes with type arguments of type IngredientModifierConstructorDescriptionResult
(ResourceLocation p_176754_, Item p_176755_, int p_176756_, String p_176757_, List<String> p_176758_, Map<Character, Ingredient> p_176759_, Advancement.Builder p_176760_, ResourceLocation p_176761_) Result
(ResourceLocation p_126222_, Item p_126223_, int p_126224_, String p_126225_, List<Ingredient> p_126226_, Advancement.Builder p_126227_, ResourceLocation p_126228_) -
Uses of Ingredient in net.minecraft.world.entity.ai.goal
Fields in net.minecraft.world.entity.ai.goal declared as IngredientConstructors in net.minecraft.world.entity.ai.goal with parameters of type IngredientModifierConstructorDescriptionTemptGoal
(PathfinderMob p_25939_, double p_25940_, Ingredient p_25941_, boolean p_25942_) -
Uses of Ingredient in net.minecraft.world.entity.ai.sensing
Fields in net.minecraft.world.entity.ai.sensing declared as IngredientConstructors in net.minecraft.world.entity.ai.sensing with parameters of type Ingredient -
Uses of Ingredient in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
Chicken.FOOD_ITEMS
private static final Ingredient
Pig.FOOD_ITEMS
static final Ingredient
Turtle.FOOD_ITEMS
private static final Ingredient
Cat.TEMPT_INGREDIENT
private static final Ingredient
Ocelot.TEMPT_INGREDIENT
Constructors in net.minecraft.world.entity.animal with parameters of type IngredientModifierConstructorDescriptionCatTemptGoal
(Cat p_28219_, double p_28220_, Ingredient p_28221_, boolean p_28222_) OcelotTemptGoal
(Ocelot p_29060_, double p_29061_, Ingredient p_29062_, boolean p_29063_) -
Uses of Ingredient in net.minecraft.world.entity.animal.axolotl
Methods in net.minecraft.world.entity.animal.axolotl that return Ingredient -
Uses of Ingredient in net.minecraft.world.entity.animal.goat
Methods in net.minecraft.world.entity.animal.goat that return Ingredient -
Uses of Ingredient in net.minecraft.world.entity.animal.horse
Fields in net.minecraft.world.entity.animal.horse declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
AbstractHorse.FOOD_ITEMS
private static final Ingredient
Llama.FOOD_ITEMS
-
Uses of Ingredient in net.minecraft.world.entity.monster
Fields in net.minecraft.world.entity.monster declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
Strider.FOOD_ITEMS
private static final Ingredient
Strider.TEMPT_ITEMS
-
Uses of Ingredient in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient>
StackedContents.RecipePicker.ingredients
-
Uses of Ingredient in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as Ingredient -
Uses of Ingredient in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final LazyLoadedValue<Ingredient>
ArmorMaterials.repairIngredient
private final LazyLoadedValue<Ingredient>
Tiers.repairIngredient
Methods in net.minecraft.world.item that return IngredientModifier and TypeMethodDescriptionArmorMaterial.getRepairIngredient()
ArmorMaterials.getRepairIngredient()
Tier.getRepairIngredient()
Tiers.getRepairIngredient()
Constructor parameters in net.minecraft.world.item with type arguments of type IngredientModifierConstructorDescriptionprivate
ArmorMaterials
(String p_40474_, int p_40475_, int[] p_40476_, int p_40477_, SoundEvent p_40478_, float p_40479_, float p_40480_, Supplier<Ingredient> p_40481_) private
Tiers
(int p_43332_, int p_43333_, float p_43334_, float p_43335_, int p_43336_, Supplier<Ingredient> p_43337_) -
Uses of Ingredient in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as IngredientFields in net.minecraft.world.item.alchemy with type parameters of type IngredientModifier and TypeFieldDescriptionprivate static final List<Ingredient>
PotionBrewing.ALLOWED_CONTAINERS
Constructors in net.minecraft.world.item.alchemy with parameters of type Ingredient -
Uses of Ingredient in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as IngredientModifier and TypeFieldDescription(package private) final Ingredient
UpgradeRecipe.addition
(package private) final Ingredient
UpgradeRecipe.base
static final Ingredient
Ingredient.EMPTY
private static final Ingredient
FireworkStarRecipe.FLICKER_INGREDIENT
private static final Ingredient
FireworkRocketRecipe.GUNPOWDER_INGREDIENT
private static final Ingredient
FireworkStarRecipe.GUNPOWDER_INGREDIENT
protected final Ingredient
AbstractCookingRecipe.ingredient
protected final Ingredient
SingleItemRecipe.ingredient
private static final Ingredient
FireworkRocketRecipe.PAPER_INGREDIENT
private static final Ingredient
FireworkStarRecipe.SHAPE_INGREDIENT
private static final Ingredient
FireworkRocketRecipe.STAR_INGREDIENT
private static final Ingredient
FireworkStarFadeRecipe.STAR_INGREDIENT
private static final Ingredient
FireworkStarRecipe.TRAIL_INGREDIENT
Fields in net.minecraft.world.item.crafting with type parameters of type IngredientModifier and TypeFieldDescription(package private) final NonNullList<Ingredient>
ShapelessRecipe.ingredients
(package private) final NonNullList<Ingredient>
ShapedRecipe.recipeItems
Methods in net.minecraft.world.item.crafting that return IngredientModifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromJson
(com.google.gson.JsonElement p_43918_) static Ingredient
Ingredient.fromNetwork
(FriendlyByteBuf p_43941_) static Ingredient
Ingredient.fromValues
(Stream<? extends Ingredient.Value> p_43939_) static Ingredient
Ingredient.merge
(Collection<Ingredient> parts) static Ingredient
Ingredient.of()
static Ingredient
static Ingredient
static Ingredient
static Ingredient
Methods in net.minecraft.world.item.crafting that return types with arguments of type IngredientModifier and TypeMethodDescription(package private) static NonNullList<Ingredient>
ShapedRecipe.dissolvePattern
(String[] p_44203_, Map<String, Ingredient> p_44204_, int p_44205_, int p_44206_) AbstractCookingRecipe.getIngredients()
default NonNullList<Ingredient>
Recipe.getIngredients()
ShapedRecipe.getIngredients()
ShapelessRecipe.getIngredients()
SingleItemRecipe.getIngredients()
IIngredientSerializer<? extends Ingredient>
Ingredient.getSerializer()
private static NonNullList<Ingredient>
ShapelessRecipe.Serializer.itemsFromJson
(com.google.gson.JsonArray p_44276_) (package private) static Map<String,
Ingredient> ShapedRecipe.keyFromJson
(com.google.gson.JsonObject p_44211_) Methods in net.minecraft.world.item.crafting with parameters of type IngredientModifier and TypeMethodDescriptionSimpleCookingSerializer.CookieBaker.create
(ResourceLocation p_44353_, String p_44354_, Ingredient p_44355_, ItemStack p_44356_, float p_44357_, int p_44358_) SingleItemRecipe.Serializer.SingleItemMaker.create
(ResourceLocation p_44455_, String p_44456_, Ingredient p_44457_, ItemStack p_44458_) Method parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifier and TypeMethodDescription(package private) static NonNullList<Ingredient>
ShapedRecipe.dissolvePattern
(String[] p_44203_, Map<String, Ingredient> p_44204_, int p_44205_, int p_44206_) static Ingredient
Ingredient.merge
(Collection<Ingredient> parts) Constructors in net.minecraft.world.item.crafting with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> p_43734_, ResourceLocation p_43735_, String p_43736_, Ingredient p_43737_, ItemStack p_43738_, float p_43739_, int p_43740_) BlastingRecipe
(ResourceLocation p_43793_, String p_43794_, Ingredient p_43795_, ItemStack p_43796_, float p_43797_, int p_43798_) CampfireCookingRecipe
(ResourceLocation p_43822_, String p_43823_, Ingredient p_43824_, ItemStack p_43825_, float p_43826_, int p_43827_) SingleItemRecipe
(RecipeType<?> p_44416_, RecipeSerializer<?> p_44417_, ResourceLocation p_44418_, String p_44419_, Ingredient p_44420_, ItemStack p_44421_) SmeltingRecipe
(ResourceLocation p_44460_, String p_44461_, Ingredient p_44462_, ItemStack p_44463_, float p_44464_, int p_44465_) SmokingRecipe
(ResourceLocation p_44469_, String p_44470_, Ingredient p_44471_, ItemStack p_44472_, float p_44473_, int p_44474_) StonecutterRecipe
(ResourceLocation p_44478_, String p_44479_, Ingredient p_44480_, ItemStack p_44481_) UpgradeRecipe
(ResourceLocation p_44523_, Ingredient p_44524_, Ingredient p_44525_, ItemStack p_44526_) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifierConstructorDescriptionShapedRecipe
(ResourceLocation p_44153_, String p_44154_, int p_44155_, int p_44156_, NonNullList<Ingredient> p_44157_, ItemStack p_44158_) ShapelessRecipe
(ResourceLocation p_44246_, String p_44247_, ItemStack p_44248_, NonNullList<Ingredient> p_44249_) -
Uses of Ingredient in net.minecraftforge.common
Fields in net.minecraftforge.common with type parameters of type IngredientMethods in net.minecraftforge.common that return IngredientMethods in net.minecraftforge.common with parameters of type IngredientConstructor parameters in net.minecraftforge.common with type arguments of type IngredientModifierConstructorDescriptionForgeTier
(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, TagKey<Block> tag, Supplier<Ingredient> repairIngredient) -
Uses of Ingredient in net.minecraftforge.common.brewing
Fields in net.minecraftforge.common.brewing declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
BrewingRecipe.ingredient
private final Ingredient
BrewingRecipe.input
Methods in net.minecraftforge.common.brewing that return IngredientMethods in net.minecraftforge.common.brewing with parameters of type IngredientModifier and TypeMethodDescriptionstatic boolean
BrewingRecipeRegistry.addRecipe
(Ingredient input, Ingredient ingredient, ItemStack output) Adds a recipe to the registry.Constructors in net.minecraftforge.common.brewing with parameters of type IngredientModifierConstructorDescriptionBrewingRecipe
(Ingredient input, Ingredient ingredient, ItemStack output) -
Uses of Ingredient in net.minecraftforge.common.crafting
Classes in net.minecraftforge.common.crafting with type parameters of type IngredientSubclasses of Ingredient in net.minecraftforge.common.craftingModifier and TypeClassDescriptionclass
Extension ofIngredient
which makes most methods custom ingredients need to implement abstract, and removes the static constructors Mods are encouraged to extend this class for their custom ingredientsclass
Ingredient that matches if any of the child ingredients matchclass
Ingredient that matches everything from the first ingredient that is not included in the second ingredientclass
Ingredient that matches if all child ingredients matchclass
Ingredient that matches the given stack, performing an exact NBT match.class
Ingredient that matches the given items, performing a partial NBT match.Fields in net.minecraftforge.common.crafting declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
DifferenceIngredient.base
private final Ingredient
DifferenceIngredient.subtracted
Fields in net.minecraftforge.common.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionprivate List<Ingredient>
CompoundIngredient.children
private final List<Ingredient>
IntersectionIngredient.children
Methods in net.minecraftforge.common.crafting with type parameters of type IngredientModifier and TypeMethodDescriptionstatic <T extends Ingredient>
IIngredientSerializer<T>CraftingHelper.register
(ResourceLocation key, IIngredientSerializer<T> serializer) static <T extends Ingredient>
voidCraftingHelper.write
(FriendlyByteBuf buffer, T ingredient) Methods in net.minecraftforge.common.crafting that return IngredientModifier and TypeMethodDescriptionstatic Ingredient
AbstractIngredient.fromJson
(com.google.gson.JsonElement json) Deprecated.static Ingredient
AbstractIngredient.fromNetwork
(FriendlyByteBuf buffer) Deprecated.static Ingredient
AbstractIngredient.fromValues
(Stream<? extends Ingredient.Value> values) Deprecated.static Ingredient
CraftingHelper.getIngredient
(com.google.gson.JsonElement json) static Ingredient
CraftingHelper.getIngredient
(ResourceLocation type, FriendlyByteBuf buffer) static Ingredient
AbstractIngredient.of()
Deprecated.useof()
static Ingredient
Deprecated.useof(Stream)
(Stream)}static Ingredient
Deprecated.useof(TagKey)
(Stream)}static Ingredient
Deprecated.useof(ItemStack...)
(Stream)}static Ingredient
Deprecated.useof(ItemLike...)
(Stream)}static Ingredient
CompoundIngredient.of
(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic Ingredient
IntersectionIngredient.of
(Ingredient... ingredients) Gets an intersection ingredientVanillaIngredientSerializer.parse
(com.google.gson.JsonObject json) VanillaIngredientSerializer.parse
(FriendlyByteBuf buffer) Methods in net.minecraftforge.common.crafting that return types with arguments of type IngredientModifier and TypeMethodDescriptionCompoundIngredient.getChildren()
abstract IIngredientSerializer<? extends Ingredient>
AbstractIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
CompoundIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
NBTIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
PartialNBTIngredient.getSerializer()
Methods in net.minecraftforge.common.crafting with parameters of type IngredientModifier and TypeMethodDescriptionstatic Ingredient
CompoundIngredient.of
(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic DifferenceIngredient
DifferenceIngredient.of
(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic Ingredient
IntersectionIngredient.of
(Ingredient... ingredients) Gets an intersection ingredientvoid
VanillaIngredientSerializer.write
(FriendlyByteBuf buffer, Ingredient ingredient) Constructors in net.minecraftforge.common.crafting with parameters of type IngredientModifierConstructorDescriptionprotected
DifferenceIngredient
(Ingredient base, Ingredient subtracted) Constructor parameters in net.minecraftforge.common.crafting with type arguments of type IngredientModifierConstructorDescriptionprotected
CompoundIngredient
(List<Ingredient> children) protected
IntersectionIngredient
(List<Ingredient> children) -
Uses of Ingredient in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data that return IngredientModifier and TypeMethodDescriptionprivate Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) Methods in net.minecraftforge.common.data with parameters of type IngredientModifier and TypeMethodDescriptionprivate Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) -
Uses of Ingredient in net.minecraftforge.debug.recipe.recipebook
Fields in net.minecraftforge.debug.recipe.recipebook with type parameters of type IngredientModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Ingredient>
RecipeBookTestRecipe.Ingredients.INGREDIENT_CODEC
private final NonNullList<Ingredient>
RecipeBookTestRecipe.items
private final Map<String,
Ingredient> RecipeBookTestRecipe.Ingredients.recipe
The field for therecipe
record component.Methods in net.minecraftforge.debug.recipe.recipebook that return types with arguments of type IngredientModifier and TypeMethodDescriptionRecipeBookTestRecipe.getIngredients()
RecipeBookTestRecipe.Ingredients.recipe()
Returns the value of therecipe
record component.Constructor parameters in net.minecraftforge.debug.recipe.recipebook with type arguments of type IngredientModifierConstructorDescriptionIngredients
(String group, List<String> pattern, Map<String, Ingredient> recipe, ItemStack result) Creates an instance of aIngredients
record class. -
Uses of Ingredient in net.minecraftforge.debug.world.item
Fields in net.minecraftforge.debug.world.item declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
IngredientInvalidationTest.TEST_INGREDIENT
fromJson(JsonElement)
(Stream)}