Uses of Class
net.minecraft.world.item.crafting.Ingredient
Packages that use Ingredient
Package
Description
Classes for NeoForge's own data generation.
-
Uses of Ingredient in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as IngredientModifier and TypeFieldDescriptionprivate final IngredientSmithingTransformRecipeBuilder.additionprivate final IngredientSmithingTrimRecipeBuilder.additionprivate final IngredientSmithingTransformRecipeBuilder.baseprivate final IngredientSmithingTrimRecipeBuilder.baseprivate final IngredientSimpleCookingRecipeBuilder.ingredientprivate final IngredientSingleItemRecipeBuilder.ingredientprivate final IngredientTransmuteRecipeBuilder.inputprivate final IngredientTransmuteRecipeBuilder.materialprivate final IngredientSmithingTransformRecipeBuilder.templateprivate final IngredientSmithingTrimRecipeBuilder.templateFields in net.minecraft.data.recipes with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient> ShapelessRecipeBuilder.ingredientsprivate final Map<Character, Ingredient> ShapedRecipeBuilder.keyMethods in net.minecraft.data.recipes that return IngredientMethods in net.minecraft.data.recipes with parameters of type IngredientModifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient p_252115_, RecipeCategory p_249421_, ItemStack result, float p_250383_, int p_250476_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected RecipeBuilderRecipeProvider.buttonBuilder(ItemLike button, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient p_249393_, RecipeCategory p_249372_, ItemStack result, float p_252321_, int p_251916_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory category, ItemLike chiseledResult, Ingredient material) protected voidRecipeProvider.copySmithingTemplate(ItemLike template, Ingredient baseItem) protected ShapedRecipeBuilderRecipeProvider.cutBuilder(RecipeCategory category, ItemLike cutResult, Ingredient material) ShapedRecipeBuilder.define(Character symbol, Ingredient ingredient) Adds a key to the recipe pattern.protected RecipeBuilderRecipeProvider.doorBuilder(ItemLike door, Ingredient material) protected RecipeBuilderRecipeProvider.fenceBuilder(ItemLike fence, Ingredient material) protected RecipeBuilderRecipeProvider.fenceGateBuilder(ItemLike fenceGate, Ingredient material) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient p_250999_, RecipeCategory p_248815_, ItemStack result, float p_251320_, int p_248693_, RecipeSerializer<T> p_250921_, AbstractCookingRecipe.Factory<T> p_312657_) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime, RecipeSerializer<T> cookingSerializer, AbstractCookingRecipe.Factory<T> factory) protected RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory category, ItemLike result, Ingredient material) protected RecipeBuilderRecipeProvider.pressurePlateBuilder(RecipeCategory category, ItemLike pressurePlate, Ingredient material) ShapelessRecipeBuilder.requires(Ingredient ingredient) Adds an ingredient.ShapelessRecipeBuilder.requires(Ingredient ingredient, int quantity) Adds an ingredient multiple times.protected RecipeBuilderRecipeProvider.signBuilder(ItemLike sign, Ingredient material) protected RecipeBuilderRecipeProvider.slabBuilder(RecipeCategory category, ItemLike slab, Ingredient material) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient p_249223_, RecipeCategory p_251240_, ItemStack result, float p_249452_, int p_250496_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) SmithingTransformRecipeBuilder.smithing(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) static SmithingTrimRecipeBuilderSmithingTrimRecipeBuilder.smithingTrim(Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern, RecipeCategory category) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient p_248930_, RecipeCategory p_250319_, ItemStack result, float p_252329_, int p_250482_) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient ingredient, RecipeCategory category, ItemLike result, float experience, int cookingTime) protected RecipeBuilderRecipeProvider.stairBuilder(ItemLike stairs, Ingredient material) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient ingredient, RecipeCategory category, ItemLike result) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient ingredient, RecipeCategory category, ItemLike result, int count) static TransmuteRecipeBuilderTransmuteRecipeBuilder.transmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) protected RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike trapdoor, Ingredient material) protected RecipeBuilderRecipeProvider.wallBuilder(RecipeCategory category, ItemLike wall, Ingredient material) Constructors in net.minecraft.data.recipes with parameters of type IngredientModifierConstructorDescriptionprivateSimpleCookingRecipeBuilder(RecipeCategory p_251345_, CookingBookCategory p_251607_, ItemStack result, Ingredient p_250362_, float p_251204_, int p_250189_, AbstractCookingRecipe.Factory<?> p_311960_) privateSimpleCookingRecipeBuilder(RecipeCategory category, CookingBookCategory bookCategory, ItemLike result, Ingredient ingredient, float experience, int cookingTime, AbstractCookingRecipe.Factory<?> factory) SingleItemRecipeBuilder(RecipeCategory category, SingleItemRecipe.Factory<?> factory, Ingredient ingredient, ItemLike result, int count) SmithingTransformRecipeBuilder(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTrimRecipeBuilder(RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) privateTransmuteRecipeBuilder(RecipeCategory category, Holder<Item> result, Ingredient input, Ingredient material) -
Uses of Ingredient in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as IngredientModifier and TypeFieldDescriptionprivate final IngredientPotionBrewing.Mix.ingredientThe field for theingredientrecord component.Fields in net.minecraft.world.item.alchemy with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient> PotionBrewing.Builder.containersprivate final List<Ingredient> PotionBrewing.containersMethods in net.minecraft.world.item.alchemy that return IngredientModifier and TypeMethodDescriptionPotionBrewing.Mix.ingredient()Returns the value of theingredientrecord component.Methods in net.minecraft.world.item.alchemy with parameters of type IngredientModifier and TypeMethodDescriptionvoidPotionBrewing.Builder.addRecipe(Ingredient input, Ingredient ingredient, ItemStack output) Adds a new simple brewing recipe.Constructors in net.minecraft.world.item.alchemy with parameters of type IngredientModifierConstructorDescription(package private)Creates an instance of aMixrecord class.Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type IngredientModifierConstructorDescription(package private)PotionBrewing(List<Ingredient> containers, List<PotionBrewing.Mix<Potion>> potionMixes, List<PotionBrewing.Mix<Item>> containerMixes) (package private)PotionBrewing(List<Ingredient> containers, List<PotionBrewing.Mix<Potion>> potionMixes, List<PotionBrewing.Mix<Item>> containerMixes, List<IBrewingRecipe> recipes) -
Uses of Ingredient in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as IngredientModifier and TypeFieldDescription(package private) final IngredientSmithingTrimRecipe.addition(package private) final IngredientSmithingTransformRecipe.base(package private) final IngredientSmithingTrimRecipe.baseprivate static final IngredientFireworkRocketRecipe.GUNPOWDER_INGREDIENTprivate static final IngredientFireworkStarRecipe.GUNPOWDER_INGREDIENTprivate final IngredientSelectableRecipe.SingleInputEntry.inputThe field for theinputrecord component.private final IngredientSingleItemRecipe.input(package private) final IngredientTransmuteRecipe.input(package private) final IngredientTransmuteRecipe.materialprivate static final IngredientFireworkRocketRecipe.PAPER_INGREDIENTprivate static final IngredientFireworkRocketRecipe.STAR_INGREDIENTprivate static final IngredientFireworkStarFadeRecipe.STAR_INGREDIENT(package private) final IngredientSmithingTrimRecipe.templateprivate static final IngredientFireworkStarRecipe.TRAIL_INGREDIENTprivate static final IngredientFireworkStarRecipe.TWINKLE_INGREDIENTFields in net.minecraft.world.item.crafting with type parameters of type IngredientModifier and TypeFieldDescription(package private) final Optional<Ingredient> SmithingTransformRecipe.additionstatic final com.mojang.serialization.Codec<Ingredient> Ingredient.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODECprivate final List<Ingredient> PlacementInfo.ingredientsprivate final List<Ingredient> RecipeManager.IngredientCollector.ingredientsprivate final List<Optional<Ingredient>> ShapedRecipePattern.ingredients(package private) final List<Ingredient> ShapelessRecipe.ingredientsprivate final Map<Character, Ingredient> ShapedRecipePattern.Data.keyThe field for thekeyrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> Ingredient.OPTIONAL_CONTENTS_STREAM_CODEC(package private) final Optional<Ingredient> SmithingTransformRecipe.templateMethods in net.minecraft.world.item.crafting that return IngredientModifier and TypeMethodDescriptionSmithingRecipe.baseIngredient()SmithingTransformRecipe.baseIngredient()SmithingTrimRecipe.baseIngredient()SelectableRecipe.SingleInputEntry.input()Returns the value of theinputrecord component.SingleItemRecipe.input()static Ingredientstatic Ingredientstatic Ingredientstatic IngredientMethods in net.minecraft.world.item.crafting that return types with arguments of type IngredientModifier and TypeMethodDescriptionSmithingRecipe.additionIngredient()SmithingTransformRecipe.additionIngredient()SmithingTrimRecipe.additionIngredient()(package private) static List<Ingredient> RecipeManager.filterDisabled(FeatureFlagSet enabledFeatures, List<Ingredient> ingredients) ShapedRecipe.getIngredients()PlacementInfo.ingredients()ShapedRecipePattern.ingredients()ShapedRecipePattern.Data.key()Returns the value of thekeyrecord component.SmithingRecipe.templateIngredient()SmithingTransformRecipe.templateIngredient()SmithingTrimRecipe.templateIngredient()Methods in net.minecraft.world.item.crafting with parameters of type IngredientModifier and TypeMethodDescriptionAbstractCookingRecipe.Factory.create(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) static PlacementInfoPlacementInfo.create(Ingredient ingredient) SingleItemRecipe.Factory.create(String group, Ingredient ingredient, ItemStack result) private static booleanRecipeManager.isIngredientEnabled(FeatureFlagSet enabledFeatures, Ingredient ingredient) Method parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifier and TypeMethodDescriptionstatic PlacementInfoPlacementInfo.create(List<Ingredient> ingredients) (package private) static RecipePropertySetRecipePropertySet.create(Collection<Ingredient> ingredients) private static ShapedRecipePatternShapedRecipePattern.createFromNetwork(Integer width, Integer height, List<Optional<Ingredient>> ingredients) static PlacementInfoPlacementInfo.createFromOptionals(List<Optional<Ingredient>> optionals) (package private) static List<Ingredient> RecipeManager.filterDisabled(FeatureFlagSet enabledFeatures, List<Ingredient> ingredients) static ShapedRecipePatternShapedRecipePattern.of(Map<Character, Ingredient> key, String... pattern) static ShapedRecipePatternstatic SlotDisplayIngredient.optionalIngredientToDisplay(Optional<Ingredient> ingredient) static booleanIngredient.testOptionalIngredient(Optional<Ingredient> ingredient, ItemStack stack) Constructors in net.minecraft.world.item.crafting with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe(String group, CookingBookCategory category, Ingredient input, ItemStack result, float experience, int cookingTime) BlastingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CampfireCookingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SingleInputEntry(Ingredient input, SelectableRecipe<T> recipe) Creates an instance of aSingleInputEntryrecord class.SingleItemRecipe(String group, Ingredient input, ItemStack result) SmeltingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SmithingTransformRecipe(Optional<Ingredient> template, Ingredient base, Optional<Ingredient> addition, TransmuteResult result) SmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) SmokingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) StonecutterRecipe(String group, Ingredient ingredient, ItemStack result) TransmuteRecipe(String group, CraftingBookCategory category, Ingredient input, Ingredient material, TransmuteResult result) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifierConstructorDescriptionCreates an instance of aDatarecord class.privatePlacementInfo(List<Ingredient> ingredients, it.unimi.dsi.fastutil.ints.IntList slotsToIngredientIndex) ShapedRecipePattern(int width, int height, List<Optional<Ingredient>> ingredients, Optional<ShapedRecipePattern.Data> data) ShapelessRecipe(String group, CraftingBookCategory category, ItemStack result, List<Ingredient> ingredients) SmithingTransformRecipe(Optional<Ingredient> template, Ingredient base, Optional<Ingredient> addition, TransmuteResult result) -
Uses of Ingredient in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Optional<List<Ingredient>> RecipeDisplayEntry.craftingRequirementsThe field for thecraftingRequirementsrecord component.Methods in net.minecraft.world.item.crafting.display that return types with arguments of type IngredientModifier and TypeMethodDescriptionRecipeDisplayEntry.craftingRequirements()Returns the value of thecraftingRequirementsrecord component.Constructor parameters in net.minecraft.world.item.crafting.display with type arguments of type IngredientModifierConstructorDescriptionRecipeDisplayEntry(RecipeDisplayId id, RecipeDisplay display, OptionalInt group, RecipeBookCategory category, Optional<List<Ingredient>> craftingRequirements) Creates an instance of aRecipeDisplayEntryrecord class. -
Uses of Ingredient in net.neoforged.neoforge.common.brewing
Fields in net.neoforged.neoforge.common.brewing declared as IngredientModifier and TypeFieldDescriptionprivate final IngredientBrewingRecipe.ingredientprivate final IngredientBrewingRecipe.inputMethods in net.neoforged.neoforge.common.brewing that return IngredientConstructors in net.neoforged.neoforge.common.brewing with parameters of type IngredientModifierConstructorDescriptionBrewingRecipe(Ingredient input, Ingredient ingredient, ItemStack output) -
Uses of Ingredient in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as IngredientModifier and TypeFieldDescriptionprivate final IngredientCustomDisplayIngredient.baseThe field for thebaserecord component.private final IngredientDifferenceIngredient.baseThe field for thebaserecord component.private final IngredientSizedIngredient.ingredientprivate final IngredientDifferenceIngredient.subtractedThe field for thesubtractedrecord component.Fields in net.neoforged.neoforge.common.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient> CompoundIngredient.childrenThe field for thechildrenrecord component.private final List<Ingredient> IntersectionIngredient.childrenThe field for thechildrenrecord component.Methods in net.neoforged.neoforge.common.crafting that return IngredientModifier and TypeMethodDescriptionCustomDisplayIngredient.base()Returns the value of thebaserecord component.DifferenceIngredient.base()Returns the value of thebaserecord component.SizedIngredient.ingredient()static IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic IngredientCustomDisplayIngredient.of(Ingredient base, SlotDisplay display) static <T> IngredientDataComponentIngredient.of(boolean strict, Supplier<? extends DataComponentType<? super T>> type, T value, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentExactPredicate predicate, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic <T> IngredientDataComponentIngredient.of(boolean strict, DataComponentType<? super T> type, T value, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientCreates a new ingredient matching the given item, containing the given componentsstatic IngredientDifferenceIngredient.of(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic IngredientIntersectionIngredient.of(Ingredient... ingredients) Gets an intersection ingredientDifferenceIngredient.subtracted()Returns the value of thesubtractedrecord component.default IngredientICustomIngredient.toVanilla()Returns a newIngredientbehaving as defined by this custom ingredient.Methods in net.neoforged.neoforge.common.crafting that return types with arguments of type IngredientModifier and TypeMethodDescriptionCompoundIngredient.children()Returns the value of thechildrenrecord component.IntersectionIngredient.children()Returns the value of thechildrenrecord component.static com.mojang.serialization.Codec<Ingredient> IngredientCodecs.codec(com.mojang.serialization.Codec<Ingredient> vanillaCodec) IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) IngredientCodecs.streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient> vanillaCodec) Methods in net.neoforged.neoforge.common.crafting with parameters of type IngredientModifier and TypeMethodDescriptionstatic IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic IngredientCustomDisplayIngredient.of(Ingredient base, SlotDisplay display) static IngredientDifferenceIngredient.of(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic IngredientIntersectionIngredient.of(Ingredient... ingredients) Gets an intersection ingredientMethod parameters in net.neoforged.neoforge.common.crafting with type arguments of type IngredientModifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<Ingredient> IngredientCodecs.codec(com.mojang.serialization.Codec<Ingredient> vanillaCodec) IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) IngredientCodecs.streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient> vanillaCodec) Constructors in net.neoforged.neoforge.common.crafting with parameters of type IngredientModifierConstructorDescriptionCustomDisplayIngredient(Ingredient base, SlotDisplay display) Creates an instance of aCustomDisplayIngredientrecord class.DifferenceIngredient(Ingredient base, Ingredient subtracted) Creates an instance of aDifferenceIngredientrecord class.SizedIngredient(Ingredient ingredient, int count) Constructor parameters in net.neoforged.neoforge.common.crafting with type arguments of type IngredientModifierConstructorDescriptionCompoundIngredient(List<Ingredient> children) Creates an instance of aCompoundIngredientrecord class.IntersectionIngredient(List<Ingredient> children) Creates an instance of aIntersectionIngredientrecord class. -
Uses of Ingredient in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Map<Item, Ingredient> NeoForgeRecipeProvider.InterceptingRecipeOutput.specialReplacementsMethods in net.neoforged.neoforge.common.data.internal that return IngredientModifier and TypeMethodDescriptionprivate @Nullable IngredientNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> name, Ingredient vanilla) Methods in net.neoforged.neoforge.common.data.internal with parameters of type IngredientModifier and TypeMethodDescriptionprivate @Nullable IngredientNeoForgeRecipeProvider.InterceptingRecipeOutput.enhance(ResourceKey<Recipe<?>> name, Ingredient vanilla)