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 ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemStack result, float experience, int cookingTime) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.blasting(Ingredient ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemLike result, float experience, int cookingTime) private RecipeBuilderRecipeProvider.bricksBuilder(RecipeCategory category, ItemLike result, Ingredient base) protected RecipeBuilderRecipeProvider.buttonBuilder(ItemLike result, Ingredient base) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient ingredient, RecipeCategory craftingCategory, ItemStack result, float experience, int cookingTime) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.campfireCooking(Ingredient ingredient, RecipeCategory craftingCategory, ItemLike result, float experience, int cookingTime) protected ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory category, ItemLike result, Ingredient base) protected voidRecipeProvider.copySmithingTemplate(ItemLike smithingTemplate, Ingredient baseMaterials) protected ShapedRecipeBuilderRecipeProvider.cutBuilder(RecipeCategory category, ItemLike result, Ingredient base) ShapedRecipeBuilder.define(Character symbol, Ingredient ingredient) Adds a key to the recipe pattern.protected RecipeBuilderRecipeProvider.doorBuilder(ItemLike result, Ingredient base) protected RecipeBuilderRecipeProvider.fenceBuilder(ItemLike result, Ingredient base) protected RecipeBuilderRecipeProvider.fenceGateBuilder(ItemLike result, Ingredient planks) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemStack result, float experience, int cookingTime, AbstractCookingRecipe.Factory<T> factory) static <T extends AbstractCookingRecipe>
SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.generic(Ingredient ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemLike result, float experience, int cookingTime, AbstractCookingRecipe.Factory<T> factory) protected RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory category, ItemLike result, Ingredient base) protected RecipeBuilderRecipeProvider.pressurePlateBuilder(RecipeCategory category, ItemLike result, Ingredient base) ShapelessRecipeBuilder.requires(Ingredient ingredient) Adds an ingredient.ShapelessRecipeBuilder.requires(Ingredient ingredient, int count) Adds an ingredient multiple times.protected RecipeBuilderRecipeProvider.signBuilder(ItemLike result, Ingredient planks) protected RecipeBuilderRecipeProvider.slabBuilder(RecipeCategory category, ItemLike result, Ingredient base) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemStack result, float experience, int cookingTime) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smelting(Ingredient ingredient, RecipeCategory craftingCategory, CookingBookCategory cookingCategory, 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 ingredient, RecipeCategory craftingCategory, ItemStack result, float experience, int cookingTime) static SimpleCookingRecipeBuilderSimpleCookingRecipeBuilder.smoking(Ingredient ingredient, RecipeCategory craftingCategory, ItemLike result, float experience, int cookingTime) protected RecipeBuilderRecipeProvider.stairBuilder(ItemLike result, Ingredient base) static SingleItemRecipeBuilderSingleItemRecipeBuilder.stonecutting(Ingredient ingredient, RecipeCategory category, ItemLike result, int count) private RecipeBuilderRecipeProvider.tilesBuilder(RecipeCategory category, ItemLike result, Ingredient base) static TransmuteRecipeBuilderTransmuteRecipeBuilder.transmute(RecipeCategory category, Ingredient input, Ingredient material, Item result) static TransmuteRecipeBuilderTransmuteRecipeBuilder.transmute(RecipeCategory category, Ingredient input, Ingredient material, ItemStackTemplate result) protected RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike result, Ingredient base) protected RecipeBuilderRecipeProvider.wallBuilder(RecipeCategory category, ItemLike result, Ingredient base) Constructors in net.minecraft.data.recipes with parameters of type IngredientModifierConstructorDescriptionprivateSimpleCookingRecipeBuilder(RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemStackTemplate result, Ingredient ingredient, float experience, int cookingTime, AbstractCookingRecipe.Factory<?> factory) privateSimpleCookingRecipeBuilder(RecipeCategory craftingCategory, CookingBookCategory cookingCategory, ItemLike result, Ingredient ingredient, float experience, int cookingTime, AbstractCookingRecipe.Factory<?> factory) privateSingleItemRecipeBuilder(RecipeCategory category, SingleItemRecipe.Factory<?> factory, Ingredient ingredient, ItemStackTemplate result) SingleItemRecipeBuilder(RecipeCategory category, SingleItemRecipe.Factory<?> factory, Ingredient ingredient, ItemLike result, int count) SmithingTransformRecipeBuilder(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, ItemStackTemplate result) SmithingTrimRecipeBuilder(RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) privateTransmuteRecipeBuilder(RecipeCategory category, ItemStackTemplate 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 IngredientModifierConstructorDescriptionprivateCreates an instance of aMixrecord class.Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type IngredientModifierConstructorDescriptionprivatePotionBrewing(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 TypeFieldDescriptionprivate final IngredientSmithingTrimRecipe.additionprivate final IngredientDecoratedPotRecipe.backPatternprivate final IngredientBannerDuplicateRecipe.bannerprivate final IngredientShieldDecorationRecipe.bannerprivate final IngredientSmithingTransformRecipe.baseprivate final IngredientSmithingTrimRecipe.baseprivate final IngredientDyeRecipe.dyeprivate final IngredientFireworkStarFadeRecipe.dyeprivate final IngredientFireworkStarRecipe.dyeprivate final IngredientDecoratedPotRecipe.frontPatternprivate final IngredientFireworkRocketRecipe.fuelprivate final IngredientFireworkStarRecipe.fuelprivate final IngredientSelectableRecipe.SingleInputEntry.inputThe field for theinputrecord component.private final IngredientSingleItemRecipe.inputprivate final IngredientTransmuteRecipe.inputprivate final IngredientDecoratedPotRecipe.leftPatternprivate final IngredientMapExtendingRecipe.mapprivate final IngredientBookCloningRecipe.materialprivate final IngredientImbueRecipe.materialprivate final IngredientMapExtendingRecipe.materialprivate final IngredientTransmuteRecipe.materialprivate final IngredientDecoratedPotRecipe.rightPatternprivate final IngredientFireworkRocketRecipe.shellprivate final IngredientBookCloningRecipe.sourceprivate final IngredientImbueRecipe.sourceprivate final IngredientFireworkRocketRecipe.starprivate final IngredientDyeRecipe.targetprivate final IngredientFireworkStarFadeRecipe.targetprivate final IngredientShieldDecorationRecipe.targetprivate final IngredientSmithingTrimRecipe.templateprivate final IngredientFireworkStarRecipe.trailprivate final IngredientFireworkStarRecipe.twinkleFields in net.minecraft.world.item.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionprivate 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.ingredientsprivate 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_CODECprivate final Map<FireworkExplosion.Shape, Ingredient> FireworkStarRecipe.shapesprivate 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()private static List<Ingredient> RecipeManager.filterDisabled(FeatureFlagSet enabledFlags, 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(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo cbookInfotegory, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) static PlacementInfoPlacementInfo.create(Ingredient ingredient) SingleItemRecipe.Factory.create(Recipe.CommonInfo commonInfo, Ingredient ingredient, ItemStackTemplate result) private static booleanRecipeManager.isIngredientEnabled(FeatureFlagSet enabledFlags, 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>> ingredients) private static List<Ingredient> RecipeManager.filterDisabled(FeatureFlagSet enabledFlags, 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(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo bookInfo, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) BannerDuplicateRecipe(Ingredient banner, ItemStackTemplate result) BlastingRecipe(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo bookInfo, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) BookCloningRecipe(Ingredient source, Ingredient material, MinMaxBounds.Ints allowedGenerations, ItemStackTemplate result) CampfireCookingRecipe(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo bookInfo, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) DecoratedPotRecipe(Ingredient backPattern, Ingredient leftPattern, Ingredient rightPattern, Ingredient frontPattern, ItemStackTemplate result) DecoratedPotRecipe(Ingredient wallPattern, ItemStackTemplate result) DyeRecipe(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo, Ingredient target, Ingredient dye, ItemStackTemplate result) FireworkRocketRecipe(Ingredient shell, Ingredient fuel, Ingredient star, ItemStackTemplate result) FireworkStarFadeRecipe(Ingredient target, Ingredient dye, ItemStackTemplate result) FireworkStarRecipe(Map<FireworkExplosion.Shape, Ingredient> shapes, Ingredient trail, Ingredient twinkle, Ingredient fuel, Ingredient dye, ItemStackTemplate result) ImbueRecipe(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo, Ingredient source, Ingredient material, ItemStackTemplate result) MapExtendingRecipe(Ingredient map, Ingredient material, ItemStackTemplate result) ShieldDecorationRecipe(Ingredient banner, Ingredient target, ItemStackTemplate result) SingleInputEntry(Ingredient input, SelectableRecipe<T> recipe) Creates an instance of aSingleInputEntryrecord class.SingleItemRecipe(Recipe.CommonInfo commonInfo, Ingredient input, ItemStackTemplate result) SmeltingRecipe(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo bookInfo, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) SmithingTransformRecipe(Recipe.CommonInfo commonInfo, Optional<Ingredient> template, Ingredient base, Optional<Ingredient> addition, ItemStackTemplate result) SmithingTrimRecipe(Recipe.CommonInfo commonInfo, Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) SmokingRecipe(Recipe.CommonInfo commonInfo, AbstractCookingRecipe.CookingBookInfo bookInfo, Ingredient ingredient, ItemStackTemplate result, float experience, int cookingTime) StonecutterRecipe(Recipe.CommonInfo commonInfo, Ingredient ingredient, ItemStackTemplate result) TransmuteRecipe(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo, Ingredient input, Ingredient material, MinMaxBounds.Ints materialCount, ItemStackTemplate result, boolean addMaterialCountToResult) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifierConstructorDescriptionCreates an instance of aDatarecord class.FireworkStarRecipe(Map<FireworkExplosion.Shape, Ingredient> shapes, Ingredient trail, Ingredient twinkle, Ingredient fuel, Ingredient dye, ItemStackTemplate result) 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(Recipe.CommonInfo commonInfo, CraftingRecipe.CraftingBookInfo bookInfo, ItemStackTemplate result, List<Ingredient> ingredients) SmithingTransformRecipe(Recipe.CommonInfo commonInfo, Optional<Ingredient> template, Ingredient base, Optional<Ingredient> addition, ItemStackTemplate 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 exhaustive, 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 exhaustive, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentPatch predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentPatch predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentPatch predicate, ItemLike... items) Creates a new ingredient matching any item from the list, that contains the components set on the given patch and that does not contain the components removed by the given patch.static <T> IngredientDataComponentIngredient.of(boolean exhaustive, 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 IngredientDataComponentIngredient.of(boolean exhaustive, ItemStackTemplate stack) Creates a new ingredient matching the given item, containing the given componentsstatic IngredientDataComponentIngredient.of(DataComponentPatch predicate, ItemLike... items) Creates a new ingredient matching any item from the list, that contains the components set on the given patch and that does not contain the components removed by the given patch.static <T> IngredientDataComponentIngredient.of(DataComponentType<? super T> type, T value, ItemLike... items) Creates a new ingredient matching any item from the list, 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) static StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) static StreamCodec<RegistryFriendlyByteBuf, Ingredient> 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) static StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) static StreamCodec<RegistryFriendlyByteBuf, Ingredient> 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)