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 IngredientAbstractFurnaceRecipeBookComponent.fuelsprivate final IngredientGhostRecipe.GhostIngredient.ingredientMethods in net.minecraft.client.gui.screens.recipebook with parameters of type IngredientModifier and TypeMethodDescriptionvoidGhostRecipe.addIngredient(Ingredient ingredient, int x, int y) voidOverlayRecipeComponent.OverlayRecipeButton.addItemToSlot(Ingredient item, int slot, int maxAmount, int x, int y) voidRecipeBookComponent.addItemToSlot(Ingredient item, int p_slot, int maxAmount, int x, int y) 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 IngredientSmithingTransformRecipeBuilder.additionprivate final IngredientSmithingTrimRecipeBuilder.additionprivate final IngredientSmithingTransformRecipeBuilder.baseprivate final IngredientSmithingTrimRecipeBuilder.baseprivate final IngredientSimpleCookingRecipeBuilder.ingredientprivate final IngredientSingleItemRecipeBuilder.ingredientprivate final IngredientSmithingTransformRecipeBuilder.templateprivate final IngredientSmithingTrimRecipeBuilder.templateFields in net.minecraft.data.recipes with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final NonNullList<Ingredient> ShapelessRecipeBuilder.ingredientsprivate final Map<Character, Ingredient> ShapedRecipeBuilder.keyMethods 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 static 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 static ShapedRecipeBuilderRecipeProvider.chiseledBuilder(RecipeCategory category, ItemLike chiseledResult, Ingredient material) protected static voidRecipeProvider.copySmithingTemplate(RecipeOutput recipeOutput, ItemLike template, Ingredient baseItem) protected static ShapedRecipeBuilderRecipeProvider.cutBuilder(RecipeCategory category, ItemLike cutResult, Ingredient material) ShapedRecipeBuilder.define(Character symbol, Ingredient ingredient) Adds a key to the recipe pattern.protected static RecipeBuilderRecipeProvider.doorBuilder(ItemLike door, Ingredient material) protected static RecipeBuilderRecipeProvider.fenceBuilder(ItemLike fence, Ingredient material) protected static 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 static RecipeBuilderRecipeProvider.polishedBuilder(RecipeCategory category, ItemLike result, Ingredient material) protected static 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 static RecipeBuilderRecipeProvider.signBuilder(ItemLike sign, Ingredient material) protected static 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, 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 static 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) protected static RecipeBuilderRecipeProvider.trapdoorBuilder(ItemLike trapdoor, Ingredient material) protected static 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) -
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 IngredientMinecartFurnace.INGREDIENTThe 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.repairIngredientThe field for therepairIngredientrecord component.private final Supplier<Ingredient> Tiers.repairIngredientMethods 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 therepairIngredientrecord component.Method parameters in net.minecraft.world.item with type arguments of type IngredientModifier and TypeMethodDescriptionprivate static Holder<ArmorMaterial> ArmorMaterials.register(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static Holder<ArmorMaterial> ArmorMaterials.register(String name, EnumMap<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngridient, List<ArmorMaterial.Layer> layers) 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 aArmorMaterialrecord class.privateTiers(TagKey<Block> incorrectBlockForDrops, int uses, float speed, float damage, int enchantmentValue, Supplier<Ingredient> repairIngredient) -
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 IngredientSmithingTransformRecipe.addition(package private) final IngredientSmithingTrimRecipe.addition(package private) final IngredientSmithingTransformRecipe.base(package private) final IngredientSmithingTrimRecipe.basestatic final IngredientIngredient.EMPTYprivate 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_INGREDIENT(package private) final IngredientSmithingTransformRecipe.template(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 TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Ingredient> Ingredient.CODECThis codec allows both the{...}and[{...}, {...}, ...]syntax.static final com.mojang.serialization.Codec<Ingredient> Ingredient.CODEC_NONEMPTYSame asCODECexcept that empty ingredients ([]) are not allowed.static final StreamCodec<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODECprivate final NonNullList<Ingredient> ShapedRecipePattern.ingredients(package private) final NonNullList<Ingredient> ShapelessRecipe.ingredientsprivate final Map<Character, Ingredient> ShapedRecipePattern.Data.keyThe field for thekeyrecord component.static final com.mojang.serialization.Codec<List<Ingredient>> Ingredient.LIST_CODECstatic final com.mojang.serialization.Codec<List<Ingredient>> Ingredient.LIST_CODEC_NONEMPTYstatic final com.mojang.serialization.MapCodec<Ingredient> Ingredient.MAP_CODEC_NONEMPTYThis is a codec that only allows the{...}syntax.Methods in net.minecraft.world.item.crafting that return IngredientModifier and TypeMethodDescriptionstatic IngredientIngredient.fromValues(Stream<? extends Ingredient.Value> stream) static IngredientIngredient.of()static Ingredientstatic Ingredientstatic Ingredientstatic IngredientMethods 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 allowEmpty) Deprecated.AbstractCookingRecipe.getIngredients()default NonNullList<Ingredient> Recipe.getIngredients()ShapedRecipe.getIngredients()ShapelessRecipe.getIngredients()SingleItemRecipe.getIngredients()ShapedRecipePattern.ingredients()ShapedRecipePattern.Data.key()Returns the value of thekeyrecord component.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) SimpleCookingSerializer.create(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SingleItemRecipe.Factory.create(String group, Ingredient ingredient, ItemStack result) Method parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifier and TypeMethodDescriptionstatic ShapedRecipePatternShapedRecipePattern.of(Map<Character, Ingredient> key, String... pattern) static ShapedRecipePatternConstructors in net.minecraft.world.item.crafting with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe(RecipeType<?> type, String group, CookingBookCategory category, Ingredient ingredient, 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) SingleItemRecipe(RecipeType<?> type, RecipeSerializer<?> serializer, String group, Ingredient ingredient, ItemStack result) SmeltingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) SmithingTransformRecipe(Ingredient template, Ingredient base, Ingredient addition, ItemStack result) SmithingTrimRecipe(Ingredient template, Ingredient base, Ingredient addition) SmokingRecipe(String group, CookingBookCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) StonecutterRecipe(String group, Ingredient ingredient, ItemStack result) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type IngredientModifierConstructorDescriptionCreates an instance of aDatarecord class.ShapedRecipePattern(int width, int height, NonNullList<Ingredient> ingredients, Optional<ShapedRecipePattern.Data> data) ShapelessRecipe(String group, CraftingBookCategory category, ItemStack result, NonNullList<Ingredient> ingredients) -
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 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 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 TypeMethodDescriptionDifferenceIngredient.base()Returns the value of thebaserecord component.SizedIngredient.ingredient()static IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic <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, 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 IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean strict, DataComponentPredicate predicate, 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> 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 IngredientCompoundIngredient.of(Ingredient... children) Creates a compound ingredient from the given list of ingredientsstatic IngredientDifferenceIngredient.of(Ingredient base, Ingredient subtracted) Gets the difference from the two ingredientsstatic IngredientIntersectionIngredient.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 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.specialReplacementsMethods in net.neoforged.neoforge.common.data.internal that return IngredientModifier and TypeMethodDescriptionprivate @Nullable IngredientNeoForgeRecipeProvider.enhance(ResourceLocation name, Ingredient vanilla) Methods in net.neoforged.neoforge.common.data.internal with parameters of type IngredientModifier and TypeMethodDescriptionprivate @Nullable IngredientNeoForgeRecipeProvider.enhance(ResourceLocation name, Ingredient vanilla)