Uses of Class
net.minecraft.world.item.crafting.Ingredient
Package
Description
-
Uses of Ingredient in net.minecraft.client.gui.screens.recipebook
Modifier and TypeFieldDescriptionprivate Ingredient
AbstractFurnaceRecipeBookComponent.fuels
private final Ingredient
GhostRecipe.GhostIngredient.ingredient
Modifier and TypeMethodDescriptionvoid
GhostRecipe.addIngredient
(Ingredient p_100144_, int p_100145_, int p_100146_) Modifier 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_) ModifierConstructorDescriptionGhostIngredient
(Ingredient p_100166_, int p_100167_, int p_100168_) -
Uses of Ingredient in net.minecraft.data.recipes
Modifier 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
Modifier 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
Modifier 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_) ModifierConstructorDescriptionResult
(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_) ModifierConstructorDescriptionResult
(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
ModifierConstructorDescriptionTemptGoal
(PathfinderMob p_25939_, double p_25940_, Ingredient p_25941_, boolean p_25942_) -
Uses of Ingredient in net.minecraft.world.entity.ai.sensing
-
Uses of Ingredient in net.minecraft.world.entity.animal
Modifier 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
ModifierConstructorDescriptionCatTemptGoal
(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
-
Uses of Ingredient in net.minecraft.world.entity.animal.goat
-
Uses of Ingredient in net.minecraft.world.entity.animal.horse
Modifier and TypeFieldDescriptionprivate static final Ingredient
AbstractHorse.FOOD_ITEMS
private static final Ingredient
Llama.FOOD_ITEMS
-
Uses of Ingredient in net.minecraft.world.entity.monster
Modifier and TypeFieldDescriptionprivate static final Ingredient
Strider.FOOD_ITEMS
private static final Ingredient
Strider.TEMPT_ITEMS
-
Uses of Ingredient in net.minecraft.world.entity.player
Modifier and TypeFieldDescriptionprivate final List<Ingredient>
StackedContents.RecipePicker.ingredients
-
Uses of Ingredient in net.minecraft.world.entity.vehicle
-
Uses of Ingredient in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final LazyLoadedValue<Ingredient>
ArmorMaterials.repairIngredient
private final LazyLoadedValue<Ingredient>
Tiers.repairIngredient
Modifier and TypeMethodDescriptionArmorMaterial.getRepairIngredient()
ArmorMaterials.getRepairIngredient()
Tier.getRepairIngredient()
Tiers.getRepairIngredient()
ModifierConstructorDescriptionprivate
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
Modifier and TypeFieldDescriptionprivate static final List<Ingredient>
PotionBrewing.ALLOWED_CONTAINERS
-
Uses of Ingredient in net.minecraft.world.item.crafting
Modifier 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
Modifier and TypeFieldDescription(package private) final NonNullList<Ingredient>
ShapelessRecipe.ingredients
(package private) final NonNullList<Ingredient>
ShapedRecipe.recipeItems
Modifier 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
Modifier 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_) Modifier 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_) Modifier 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) ModifierConstructorDescriptionAbstractCookingRecipe
(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_) ModifierConstructorDescriptionShapedRecipe
(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
ModifierConstructorDescriptionForgeTier
(int level, int uses, float speed, float attackDamageBonus, int enchantmentValue, TagKey<Block> tag, Supplier<Ingredient> repairIngredient) -
Uses of Ingredient in net.minecraftforge.common.brewing
Modifier and TypeFieldDescriptionprivate final Ingredient
BrewingRecipe.ingredient
private final Ingredient
BrewingRecipe.input
Modifier and TypeMethodDescriptionstatic boolean
BrewingRecipeRegistry.addRecipe
(Ingredient input, Ingredient ingredient, ItemStack output) Adds a recipe to the registry.ModifierConstructorDescriptionBrewingRecipe
(Ingredient input, Ingredient ingredient, ItemStack output) -
Uses of Ingredient in net.minecraftforge.common.crafting
Modifier 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.Modifier and TypeFieldDescriptionprivate final Ingredient
DifferenceIngredient.base
private final Ingredient
DifferenceIngredient.subtracted
Modifier and TypeFieldDescriptionprivate List<Ingredient>
CompoundIngredient.children
private final List<Ingredient>
IntersectionIngredient.children
Modifier and TypeMethodDescriptionstatic <T extends Ingredient>
IIngredientSerializer<T>CraftingHelper.register
(ResourceLocation key, IIngredientSerializer<T> serializer) static <T extends Ingredient>
voidCraftingHelper.write
(FriendlyByteBuf buffer, T ingredient) Modifier 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) Modifier and TypeMethodDescriptionCompoundIngredient.getChildren()
abstract IIngredientSerializer<? extends Ingredient>
AbstractIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
CompoundIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
NBTIngredient.getSerializer()
IIngredientSerializer<? extends Ingredient>
PartialNBTIngredient.getSerializer()
Modifier 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) ModifierConstructorDescriptionprotected
DifferenceIngredient
(Ingredient base, Ingredient subtracted) ModifierConstructorDescriptionprotected
CompoundIngredient
(List<Ingredient> children) protected
IntersectionIngredient
(List<Ingredient> children) -
Uses of Ingredient in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprivate Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) Modifier and TypeMethodDescriptionprivate Ingredient
ForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) -
Uses of Ingredient in net.minecraftforge.debug.recipe.recipebook
Modifier 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.Modifier and TypeMethodDescriptionRecipeBookTestRecipe.getIngredients()
RecipeBookTestRecipe.Ingredients.recipe()
Returns the value of therecipe
record component.ModifierConstructorDescriptionIngredients
(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
Modifier and TypeFieldDescriptionprivate static final Ingredient
IngredientInvalidationTest.TEST_INGREDIENT
fromJson(JsonElement)
(Stream)}