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.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 pIngredient, int pX, int pY) void
OverlayRecipeComponent.OverlayRecipeButton.addItemToSlot
(Ingredient pItem, int pSlot, int pMaxAmount, int pX, int pY) void
RecipeBookComponent.addItemToSlot
(Ingredient pItem, int pSlot, int pMaxAmount, int pX, int pY) Constructors in net.minecraft.client.gui.screens.recipebook with parameters of type Ingredient -
Uses of Ingredient in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
SmithingTransformRecipeBuilder.addition
private final Ingredient
SmithingTrimRecipeBuilder.addition
private final Ingredient
SmithingTransformRecipeBuilder.base
private final Ingredient
SmithingTrimRecipeBuilder.base
private final Ingredient
SimpleCookingRecipeBuilder.ingredient
private final Ingredient
SingleItemRecipeBuilder.ingredient
private final Ingredient
SmithingTransformRecipeBuilder.template
private final Ingredient
SmithingTrimRecipeBuilder.template
Fields in net.minecraft.data.recipes with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final NonNullList
<Ingredient> ShapelessRecipeBuilder.ingredients
private final Map
<Character, Ingredient> ShapedRecipeBuilder.key
Methods in net.minecraft.data.recipes with parameters of type IngredientModifier and TypeMethodDescriptionstatic SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient p_252115_, RecipeCategory p_249421_, ItemStack result, float p_250383_, int p_250476_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.blasting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected static RecipeBuilder
RecipeProvider.buttonBuilder
(ItemLike pButton, Ingredient pMaterial) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient p_249393_, RecipeCategory p_249372_, ItemStack result, float p_252321_, int p_251916_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.campfireCooking
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected static ShapedRecipeBuilder
RecipeProvider.chiseledBuilder
(RecipeCategory pCategory, ItemLike pChiseledResult, Ingredient pMaterial) protected static void
RecipeProvider.copySmithingTemplate
(RecipeOutput pRecipeOutput, ItemLike pTemplate, Ingredient pBaseItem) protected static ShapedRecipeBuilder
RecipeProvider.cutBuilder
(RecipeCategory pCategory, ItemLike pCutResult, Ingredient pMaterial) ShapedRecipeBuilder.define
(Character pSymbol, Ingredient pIngredient) Adds a key to the recipe pattern.protected static RecipeBuilder
RecipeProvider.doorBuilder
(ItemLike pDoor, Ingredient pMaterial) protected static RecipeBuilder
RecipeProvider.fenceBuilder
(ItemLike pFence, Ingredient pMaterial) protected static RecipeBuilder
RecipeProvider.fenceGateBuilder
(ItemLike pFenceGate, Ingredient pMaterial) 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 pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime, RecipeSerializer<T> pCookingSerializer, AbstractCookingRecipe.Factory<T> pFactory) protected static RecipeBuilder
RecipeProvider.polishedBuilder
(RecipeCategory pCategory, ItemLike pResult, Ingredient pMaterial) protected static RecipeBuilder
RecipeProvider.pressurePlateBuilder
(RecipeCategory pCategory, ItemLike pPressurePlate, Ingredient pMaterial) ShapelessRecipeBuilder.requires
(Ingredient pIngredient) Adds an ingredient.ShapelessRecipeBuilder.requires
(Ingredient pIngredient, int pQuantity) Adds an ingredient multiple times.protected static RecipeBuilder
RecipeProvider.signBuilder
(ItemLike pSign, Ingredient pMaterial) protected static RecipeBuilder
RecipeProvider.slabBuilder
(RecipeCategory pCategory, ItemLike pSlab, Ingredient pMaterial) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient p_249223_, RecipeCategory p_251240_, ItemStack result, float p_249452_, int p_250496_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smelting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) SmithingTransformRecipeBuilder.smithing
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) static SmithingTrimRecipeBuilder
SmithingTrimRecipeBuilder.smithingTrim
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient p_248930_, RecipeCategory p_250319_, ItemStack result, float p_252329_, int p_250482_) static SimpleCookingRecipeBuilder
SimpleCookingRecipeBuilder.smoking
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, float pExperience, int pCookingTime) protected static RecipeBuilder
RecipeProvider.stairBuilder
(ItemLike pStairs, Ingredient pMaterial) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult) static SingleItemRecipeBuilder
SingleItemRecipeBuilder.stonecutting
(Ingredient pIngredient, RecipeCategory pCategory, ItemLike pResult, int pCount) protected static RecipeBuilder
RecipeProvider.trapdoorBuilder
(ItemLike pTrapdoor, Ingredient pMaterial) protected static RecipeBuilder
RecipeProvider.wallBuilder
(RecipeCategory pCategory, ItemLike pWall, Ingredient pMaterial) Constructors in net.minecraft.data.recipes with parameters of type IngredientModifierConstructorDescriptionprivate
SimpleCookingRecipeBuilder
(RecipeCategory p_251345_, CookingBookCategory p_251607_, ItemStack result, Ingredient p_250362_, float p_251204_, int p_250189_, AbstractCookingRecipe.Factory<?> p_311960_) private
SimpleCookingRecipeBuilder
(RecipeCategory pCategory, CookingBookCategory pBookCategory, ItemLike pResult, Ingredient pIngredient, float pExperience, int pCookingTime, AbstractCookingRecipe.Factory<?> pFactory) SingleItemRecipeBuilder
(RecipeCategory pCategory, SingleItemRecipe.Factory<?> pFactory, Ingredient pIngredient, ItemLike pResult, int pCount) SmithingTransformRecipeBuilder
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, RecipeCategory pCategory, Item pResult) SmithingTrimRecipeBuilder
(RecipeCategory pCategory, Ingredient pTemplate, Ingredient pBase, Ingredient pAddition) -
Uses of Ingredient in net.minecraft.world.entity.animal.allay
Fields in net.minecraft.world.entity.animal.allay declared as Ingredient -
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 IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
MinecartFurnace.INGREDIENT
The fuel item used to make the minecart move. -
Uses of Ingredient in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Supplier
<Ingredient> ArmorMaterial.repairIngredient
The field for therepairIngredient
record component.private final Supplier
<Ingredient> Tiers.repairIngredient
Methods in net.minecraft.world.item that return IngredientMethods in net.minecraft.world.item that return types with arguments of type IngredientModifier and TypeMethodDescriptionArmorMaterial.repairIngredient()
Returns the value of therepairIngredient
record component.Method parameters in net.minecraft.world.item with type arguments of type IngredientModifier and TypeMethodDescriptionprivate static Holder
<ArmorMaterial> ArmorMaterials.register
(String pName, EnumMap<ArmorItem.Type, Integer> pDefense, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngredient) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String pName, EnumMap<ArmorItem.Type, Integer> pDefense, int pEnchantmentValue, Holder<SoundEvent> pEquipSound, float pToughness, float pKnockbackResistance, Supplier<Ingredient> pRepairIngridient, List<ArmorMaterial.Layer> pLayers) Constructor parameters in net.minecraft.world.item with type arguments of type IngredientModifierConstructorDescriptionArmorMaterial
(Map<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers, float toughness, float knockbackResistance) Creates an instance of aArmorMaterial
record class.private
Tiers
(TagKey<Block> pIncorrectBlockForDrops, int pUses, float pSpeed, float pDamage, int pEnchantmentValue, Supplier<Ingredient> pRepairIngredient) -
Uses of Ingredient in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
PotionBrewing.Mix.ingredient
The field for theingredient
record component.Fields in net.minecraft.world.item.alchemy with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List
<Ingredient> PotionBrewing.Builder.containers
private final List
<Ingredient> PotionBrewing.containers
Methods in net.minecraft.world.item.alchemy that return IngredientModifier and TypeMethodDescriptionPotionBrewing.Mix.ingredient()
Returns the value of theingredient
record component.Methods in net.minecraft.world.item.alchemy with parameters of type IngredientModifier and TypeMethodDescriptionvoid
PotionBrewing.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 aMix
record class.Constructor parameters in net.minecraft.world.item.alchemy with type arguments of type IngredientModifierConstructorDescription(package private)
PotionBrewing
(List<Ingredient> pContainers, List<PotionBrewing.Mix<Potion>> pPotionMixes, List<PotionBrewing.Mix<Item>> pContainerMixes) (package private)
PotionBrewing
(List<Ingredient> pContainers, List<PotionBrewing.Mix<Potion>> pPotionMixes, List<PotionBrewing.Mix<Item>> pContainerMixes, 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 Ingredient
SmithingTransformRecipe.addition
(package private) final Ingredient
SmithingTrimRecipe.addition
(package private) final Ingredient
SmithingTransformRecipe.base
(package private) final Ingredient
SmithingTrimRecipe.base
static final Ingredient
Ingredient.EMPTY
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
(package private) final Ingredient
SmithingTransformRecipe.template
(package private) final Ingredient
SmithingTrimRecipe.template
private static final Ingredient
FireworkStarRecipe.TRAIL_INGREDIENT
private static final Ingredient
FireworkStarRecipe.TWINKLE_INGREDIENT
Fields in net.minecraft.world.item.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Ingredient> Ingredient.CODEC
This codec allows both the{...}
and[{...}, {...}, ...]
syntax.static final com.mojang.serialization.Codec
<Ingredient> Ingredient.CODEC_NONEMPTY
Same asCODEC
except that empty ingredients ([]
) are not allowed.static final StreamCodec
<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODEC
private final NonNullList
<Ingredient> ShapedRecipePattern.ingredients
(package private) final NonNullList
<Ingredient> ShapelessRecipe.ingredients
private final Map
<Character, Ingredient> ShapedRecipePattern.Data.key
The field for thekey
record component.static final com.mojang.serialization.Codec
<List<Ingredient>> Ingredient.LIST_CODEC
static final com.mojang.serialization.Codec
<List<Ingredient>> Ingredient.LIST_CODEC_NONEMPTY
static final com.mojang.serialization.MapCodec
<Ingredient> Ingredient.MAP_CODEC_NONEMPTY
This is a codec that only allows the{...}
syntax.Methods in net.minecraft.world.item.crafting that return IngredientModifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromValues
(Stream<? extends Ingredient.Value> pStream) 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 TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<Ingredient> Ingredient.codec
(boolean p_301074_) Deprecated.AbstractCookingRecipe.getIngredients()
default NonNullList
<Ingredient> Recipe.getIngredients()
ShapedRecipe.getIngredients()
ShapelessRecipe.getIngredients()
SingleItemRecipe.getIngredients()
ShapedRecipePattern.ingredients()
ShapedRecipePattern.Data.key()
Returns the value of thekey
record component.Methods in net.minecraft.world.item.crafting with parameters of type IngredientModifier and TypeMethodDescriptionAbstractCookingRecipe.Factory.create
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) SimpleCookingSerializer.create
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) SingleItemRecipe.Factory.create
(String pGroup, Ingredient pIngredient, ItemStack pResult) Method parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifier and TypeMethodDescriptionstatic ShapedRecipePattern
ShapedRecipePattern.of
(Map<Character, Ingredient> pKey, String... pPattern) static ShapedRecipePattern
Constructors in net.minecraft.world.item.crafting with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> pType, String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) BlastingRecipe
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) CampfireCookingRecipe
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) SingleItemRecipe
(RecipeType<?> pType, RecipeSerializer<?> pSerializer, String pGroup, Ingredient pIngredient, ItemStack pResult) SmeltingRecipe
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) SmithingTransformRecipe
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition, ItemStack pResult) SmithingTrimRecipe
(Ingredient pTemplate, Ingredient pBase, Ingredient pAddition) SmokingRecipe
(String pGroup, CookingBookCategory pCategory, Ingredient pIngredient, ItemStack pResult, float pExperience, int pCookingTime) StonecutterRecipe
(String pGroup, Ingredient pIngredient, ItemStack pResult) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifierConstructorDescriptionCreates an instance of aData
record class.ShapedRecipePattern
(int pWidth, int pHeight, NonNullList<Ingredient> pIngredients, Optional<ShapedRecipePattern.Data> pData) ShapelessRecipe
(String pGroup, CraftingBookCategory pCategory, ItemStack pResult, NonNullList<Ingredient> pIngredients) -
Uses of Ingredient in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type IngredientMethods in net.neoforged.neoforge.common that return IngredientConstructor parameters in net.neoforged.neoforge.common with type arguments of type IngredientModifierConstructorDescriptionSimpleTier
(TagKey<Block> incorrectBlocksForDrops, int uses, float speed, float attackDamageBonus, int enchantmentValue, Supplier<Ingredient> repairIngredient) -
Uses of Ingredient in net.neoforged.neoforge.common.brewing
Fields in net.neoforged.neoforge.common.brewing declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
BrewingRecipe.ingredient
private final Ingredient
BrewingRecipe.input
Methods 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 Ingredient
DifferenceIngredient.base
The field for thebase
record component.private final Ingredient
SizedIngredient.ingredient
private final Ingredient
DifferenceIngredient.subtracted
The field for thesubtracted
record component.Fields in net.neoforged.neoforge.common.crafting with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List
<Ingredient> CompoundIngredient.children
The field for thechildren
record component.private final List
<Ingredient> IntersectionIngredient.children
The field for thechildren
record component.Methods in net.neoforged.neoforge.common.crafting that return IngredientModifier and TypeMethodDescriptionDifferenceIngredient.base()
Returns the value of thebase
record component.SizedIngredient.ingredient()
static Ingredient
CompoundIngredient.of
(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic <T> Ingredient
DataComponentIngredient.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 Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, ItemLike... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic <T> Ingredient
DataComponentIngredient.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 Ingredient
Creates a new ingredient matching the given item, containing the given componentsstatic Ingredient
DifferenceIngredient.of
(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic Ingredient
IntersectionIngredient.of
(Ingredient... ingredients) Gets an intersection ingredientDifferenceIngredient.subtracted()
Returns the value of thesubtracted
record component.default Ingredient
ICustomIngredient.toVanilla()
Returns a newIngredient
behaving 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 thechildren
record component.IntersectionIngredient.children()
Returns the value of thechildren
record component.static com.mojang.serialization.Codec
<Ingredient> CraftingHelper.makeIngredientCodec
(boolean allowEmpty) static com.mojang.serialization.MapCodec
<Ingredient> CraftingHelper.makeIngredientMapCodec()
Methods in net.neoforged.neoforge.common.crafting with parameters of type IngredientModifier and TypeMethodDescriptionstatic Ingredient
CompoundIngredient.of
(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic Ingredient
DifferenceIngredient.of
(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic Ingredient
IntersectionIngredient.of
(Ingredient... ingredients) Gets an intersection ingredientConstructors in net.neoforged.neoforge.common.crafting with parameters of type IngredientModifierConstructorDescriptionDifferenceIngredient
(Ingredient base, Ingredient subtracted) Creates an instance of aDifferenceIngredient
record 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 aCompoundIngredient
record class.IntersectionIngredient
(List<Ingredient> children) Creates an instance of aIntersectionIngredient
record 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.specialReplacements
Methods in net.neoforged.neoforge.common.data.internal that return IngredientModifier and TypeMethodDescriptionprivate @Nullable Ingredient
NeoForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) Methods in net.neoforged.neoforge.common.data.internal with parameters of type IngredientModifier and TypeMethodDescriptionprivate @Nullable Ingredient
NeoForgeRecipeProvider.enhance
(ResourceLocation name, Ingredient vanilla) -
Uses of Ingredient in net.neoforged.neoforge.debug.crafting
Methods in net.neoforged.neoforge.debug.crafting that return types with arguments of type IngredientModifier and TypeMethodDescriptionprivate static NonNullList
<Ingredient> IngredientTests.CompressedShapelessRecipe.decompressList
(List<SizedIngredient> ingredients) Method parameters in net.neoforged.neoforge.debug.crafting with type arguments of type IngredientModifier and TypeMethodDescriptionprivate static List
<SizedIngredient> IngredientTests.CompressedShapelessRecipe.compressIngredients
(NonNullList<Ingredient> ingredients) -
Uses of Ingredient in net.neoforged.neoforge.oldtest.recipebook
Fields in net.neoforged.neoforge.oldtest.recipebook with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final NonNullList
<Ingredient> RecipeBookTestRecipe.items
private final Map
<String, Ingredient> RecipeBookTestRecipe.Ingredients.recipe
The field for therecipe
record component.Methods in net.neoforged.neoforge.oldtest.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.neoforged.neoforge.oldtest.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.neoforged.testframework.condition
Fields in net.neoforged.testframework.condition declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
TestEnabledIngredient.base
The field for thebase
record component.Methods in net.neoforged.testframework.condition that return IngredientModifier and TypeMethodDescriptionTestEnabledIngredient.base()
Returns the value of thebase
record component.Constructors in net.neoforged.testframework.condition with parameters of type IngredientModifierConstructorDescriptionTestEnabledIngredient
(Ingredient base, TestFramework framework, String testId) Creates an instance of aTestEnabledIngredient
record class.