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 IngredientAbstractFurnaceRecipeBookComponent.fuelsprivate final IngredientGhostRecipe.GhostIngredient.ingredientMethods in net.minecraft.client.gui.screens.recipebook with parameters of type IngredientModifier and TypeMethodDescriptionvoidGhostRecipe.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 TypeMethodDescriptionvoidOverlayRecipeComponent.OverlayRecipeButton.addItemToSlot(Iterator<Ingredient> p_100240_, int p_100241_, int p_100242_, int p_100243_, int p_100244_) voidRecipeBookComponent.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 IngredientUpgradeRecipeBuilder.additionprivate final IngredientUpgradeRecipeBuilder.Result.additionprivate final IngredientUpgradeRecipeBuilder.baseprivate final IngredientUpgradeRecipeBuilder.Result.baseprivate final IngredientSimpleCookingRecipeBuilder.ingredientprivate final IngredientSimpleCookingRecipeBuilder.Result.ingredientprivate final IngredientSingleItemRecipeBuilder.ingredientprivate final IngredientSingleItemRecipeBuilder.Result.ingredientFields in net.minecraft.data.recipes with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient>ShapelessRecipeBuilder.ingredientsprivate final List<Ingredient>ShapelessRecipeBuilder.Result.ingredientsprivate final Map<Character,Ingredient> ShapedRecipeBuilder.keyprivate final Map<Character,Ingredient> ShapedRecipeBuilder.Result.keyMethods in net.minecraft.data.recipes with parameters of type IngredientModifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient p_126268_, ItemLike p_126269_, float p_126270_, int p_126271_) protected static RecipeBuilderRecipeProvider.buttonBuilder(ItemLike p_176659_, Ingredient p_176660_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient p_176785_, ItemLike p_176786_, float p_176787_, int p_176788_) static ShapedRecipeBuilderRecipeProvider.chiseledBuilder(ItemLike p_176647_, Ingredient p_176648_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.cooking(Ingredient p_126249_, ItemLike p_126250_, float p_126251_, int p_126252_, SimpleCookingSerializer<?> p_126253_) static ShapedRecipeBuilderRecipeProvider.cutBuilder(ItemLike p_176635_, Ingredient p_176636_) ShapedRecipeBuilder.define(Character p_126125_, Ingredient p_126126_) protected static RecipeBuilderRecipeProvider.doorBuilder(ItemLike p_176671_, Ingredient p_176672_) protected static RecipeBuilderRecipeProvider.fenceBuilder(ItemLike p_176679_, Ingredient p_176680_) protected static RecipeBuilderRecipeProvider.fenceGateBuilder(ItemLike p_176685_, Ingredient p_176686_) static RecipeBuilderRecipeProvider.polishedBuilder(ItemLike p_176605_, Ingredient p_176606_) protected static RecipeBuilderRecipeProvider.pressurePlateBuilder(ItemLike p_176695_, Ingredient p_176696_) ShapelessRecipeBuilder.requires(Ingredient p_126185_) ShapelessRecipeBuilder.requires(Ingredient p_126187_, int p_126188_) protected static RecipeBuilderRecipeProvider.signBuilder(ItemLike p_176727_, Ingredient p_176728_) protected static RecipeBuilderRecipeProvider.slabBuilder(ItemLike p_176705_, Ingredient p_176706_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient p_126273_, ItemLike p_126274_, float p_126275_, int p_126276_) static UpgradeRecipeBuilderUpgradeRecipeBuilder.smithing(Ingredient p_126386_, Ingredient p_126387_, Item p_126388_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient p_176797_, ItemLike p_176798_, float p_176799_, int p_176800_) protected static RecipeBuilderRecipeProvider.stairBuilder(ItemLike p_176711_, Ingredient p_176712_) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient p_126314_, ItemLike p_126315_) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient p_126317_, ItemLike p_126318_, int p_126319_) protected static RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike p_176721_, Ingredient p_176722_) static RecipeBuilderRecipeProvider.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_) privateSimpleCookingRecipeBuilder(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 IngredientChicken.FOOD_ITEMSprivate static final IngredientPig.FOOD_ITEMSstatic final IngredientTurtle.FOOD_ITEMSprivate static final IngredientCat.TEMPT_INGREDIENTprivate static final IngredientOcelot.TEMPT_INGREDIENTConstructors 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 IngredientAbstractHorse.FOOD_ITEMSprivate static final IngredientLlama.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 IngredientStrider.FOOD_ITEMSprivate static final IngredientStrider.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.repairIngredientprivate final LazyLoadedValue<Ingredient>Tiers.repairIngredientMethods 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 IngredientModifierConstructorDescriptionprivateArmorMaterials(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_) privateTiers(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_CONTAINERSConstructors 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 IngredientUpgradeRecipe.addition(package private) final IngredientUpgradeRecipe.basestatic final IngredientIngredient.EMPTYprivate static final IngredientFireworkStarRecipe.FLICKER_INGREDIENTprivate static final IngredientFireworkRocketRecipe.GUNPOWDER_INGREDIENTprivate static final IngredientFireworkStarRecipe.GUNPOWDER_INGREDIENTprotected final IngredientAbstractCookingRecipe.ingredientprotected final IngredientSingleItemRecipe.ingredientprivate static final IngredientFireworkRocketRecipe.PAPER_INGREDIENTprivate static final IngredientFireworkStarRecipe.SHAPE_INGREDIENTprivate static final IngredientFireworkRocketRecipe.STAR_INGREDIENTprivate static final IngredientFireworkStarFadeRecipe.STAR_INGREDIENTprivate static final IngredientFireworkStarRecipe.TRAIL_INGREDIENTFields 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.recipeItemsMethods in net.minecraft.world.item.crafting that return IngredientModifier and TypeMethodDescriptionstatic IngredientIngredient.fromJson(com.google.gson.JsonElement p_43918_) static IngredientIngredient.fromNetwork(FriendlyByteBuf p_43941_) static IngredientIngredient.fromValues(Stream<? extends Ingredient.Value> p_43939_) static IngredientIngredient.merge(Collection<Ingredient> parts) static IngredientIngredient.of()static Ingredientstatic Ingredientstatic Ingredientstatic IngredientMethods 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 IngredientIngredient.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 IngredientBrewingRecipe.ingredientprivate final IngredientBrewingRecipe.inputMethods in net.minecraftforge.common.brewing that return IngredientMethods in net.minecraftforge.common.brewing with parameters of type IngredientModifier and TypeMethodDescriptionstatic booleanBrewingRecipeRegistry.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 TypeClassDescriptionclassExtension ofIngredientwhich makes most methods custom ingredients need to implement abstract, and removes the static constructors Mods are encouraged to extend this class for their custom ingredientsclassIngredient that matches if any of the child ingredients matchclassIngredient that matches everything from the first ingredient that is not included in the second ingredientclassIngredient that matches if all child ingredients matchclassIngredient that matches the given stack, performing an exact NBT match.classIngredient that matches the given items, performing a partial NBT match.Fields in net.minecraftforge.common.crafting declared as IngredientModifier and TypeFieldDescriptionprivate final IngredientDifferenceIngredient.baseprivate final IngredientDifferenceIngredient.subtractedFields in net.minecraftforge.common.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionprivate List<Ingredient>CompoundIngredient.childrenprivate final List<Ingredient>IntersectionIngredient.childrenMethods 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 IngredientAbstractIngredient.fromJson(com.google.gson.JsonElement json) Deprecated.static IngredientAbstractIngredient.fromNetwork(FriendlyByteBuf buffer) Deprecated.static IngredientAbstractIngredient.fromValues(Stream<? extends Ingredient.Value> values) Deprecated.static IngredientCraftingHelper.getIngredient(com.google.gson.JsonElement json) static IngredientCraftingHelper.getIngredient(ResourceLocation type, FriendlyByteBuf buffer) static IngredientAbstractIngredient.of()Deprecated.useof()static IngredientDeprecated.useof(Stream)(Stream)}static IngredientDeprecated.useof(TagKey)(Stream)}static IngredientDeprecated.useof(ItemStack...)(Stream)}static IngredientDeprecated.useof(ItemLike...)(Stream)}static IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic IngredientIntersectionIngredient.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 IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic DifferenceIngredientDifferenceIngredient.of(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic IngredientIntersectionIngredient.of(Ingredient... ingredients) Gets an intersection ingredientvoidVanillaIngredientSerializer.write(FriendlyByteBuf buffer, Ingredient ingredient) Constructors in net.minecraftforge.common.crafting with parameters of type IngredientModifierConstructorDescriptionprotectedDifferenceIngredient(Ingredient base, Ingredient subtracted) Constructor parameters in net.minecraftforge.common.crafting with type arguments of type IngredientModifierConstructorDescriptionprotectedCompoundIngredient(List<Ingredient> children) protectedIntersectionIngredient(List<Ingredient> children) -
Uses of Ingredient in net.minecraftforge.common.data
Methods in net.minecraftforge.common.data that return IngredientModifier and TypeMethodDescriptionprivate IngredientForgeRecipeProvider.enhance(ResourceLocation name, Ingredient vanilla) Methods in net.minecraftforge.common.data with parameters of type IngredientModifier and TypeMethodDescriptionprivate IngredientForgeRecipeProvider.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_CODECprivate final NonNullList<Ingredient>RecipeBookTestRecipe.itemsprivate final Map<String,Ingredient> RecipeBookTestRecipe.Ingredients.recipeThe field for thereciperecord 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 thereciperecord 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 aIngredientsrecord class. -
Uses of Ingredient in net.minecraftforge.debug.world.item
Fields in net.minecraftforge.debug.world.item declared as IngredientModifier and TypeFieldDescriptionprivate static final IngredientIngredientInvalidationTest.TEST_INGREDIENT
fromJson(JsonElement)(Stream)}