Uses of Class
net.minecraft.recipe.Ingredient
Packages that use Ingredient
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of Ingredient in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as IngredientModifier and TypeFieldDescriptionprivate @Nullable Ingredient
AbstractFurnaceRecipeBookScreen.fuels
private final Ingredient
RecipeBookGhostSlots.GhostInputSlot.ingredient
Methods in net.minecraft.client.gui.screen.recipebook with parameters of type IngredientModifier and TypeMethodDescriptionvoid
RecipeBookGhostSlots.addSlot
(Ingredient ingredient, int x, int y) Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type IngredientModifier and TypeMethodDescriptionvoid
RecipeAlternativesWidget.AlternativeButtonWidget.acceptAlignedInput
(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) void
RecipeBookWidget.acceptAlignedInput
(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) Constructors in net.minecraft.client.gui.screen.recipebook with parameters of type Ingredient -
Uses of Ingredient in net.minecraft.data.server.recipe
Fields in net.minecraft.data.server.recipe declared as IngredientModifier and TypeFieldDescriptionprivate final Ingredient
SmithingTransformRecipeJsonBuilder.addition
private final Ingredient
SmithingTrimRecipeJsonBuilder.addition
private final Ingredient
SmithingTransformRecipeJsonBuilder.base
private final Ingredient
SmithingTrimRecipeJsonBuilder.base
private final Ingredient
CookingRecipeJsonBuilder.input
private final Ingredient
SingleItemRecipeJsonBuilder.input
private final Ingredient
SmithingTransformRecipeJsonBuilder.template
private final Ingredient
SmithingTrimRecipeJsonBuilder.template
Fields in net.minecraft.data.server.recipe with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Map<Character,
Ingredient> ShapedRecipeJsonBuilder.inputs
private final DefaultedList<Ingredient>
ShapelessRecipeJsonBuilder.inputs
Methods in net.minecraft.data.server.recipe with parameters of type IngredientModifier and TypeMethodDescriptionstatic <T extends AbstractCookingRecipe>
CookingRecipeJsonBuilderCookingRecipeJsonBuilder.create
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<T> serializer, AbstractCookingRecipe.RecipeFactory<T> recipeFactory) SmithingTransformRecipeJsonBuilder.create
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTrimRecipeJsonBuilder.create
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createBlasting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createCampfireCooking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected static ShapedRecipeJsonBuilder
RecipeProvider.createChiseledBlockRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createCondensingRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static ShapedRecipeJsonBuilder
RecipeProvider.createCutCopperRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilder
RecipeProvider.createDoorRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createFenceGateRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createFenceRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createPressurePlateRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createSignRecipe
(ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilder
RecipeProvider.createSlabRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmelting
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.createSmoking
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected static CraftingRecipeJsonBuilder
RecipeProvider.createStairsRecipe
(ItemConvertible output, Ingredient input) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output) static SingleItemRecipeJsonBuilder
SingleItemRecipeJsonBuilder.createStonecutting
(Ingredient input, RecipeCategory category, ItemConvertible output, int count) private static CraftingRecipeJsonBuilder
RecipeProvider.createTransmutationRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilder
RecipeProvider.getWallRecipe
(RecipeCategory category, ItemConvertible output, Ingredient input) ShapedRecipeJsonBuilder.input
(Character c, Ingredient ingredient) ShapelessRecipeJsonBuilder.input
(Ingredient ingredient) ShapelessRecipeJsonBuilder.input
(Ingredient ingredient, int size) Constructors in net.minecraft.data.server.recipe with parameters of type IngredientModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, AbstractCookingRecipe.RecipeFactory<?> recipeFactory) SingleItemRecipeJsonBuilder
(RecipeCategory category, CuttingRecipe.RecipeFactory<?> recipeFactory, Ingredient input, ItemConvertible output, int count) SmithingTransformRecipeJsonBuilder
(Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTrimRecipeJsonBuilder
(RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition) -
Uses of Ingredient in net.minecraft.entity.ai.brain.sensor
Fields in net.minecraft.entity.ai.brain.sensor declared as IngredientConstructors in net.minecraft.entity.ai.brain.sensor with parameters of type Ingredient -
Uses of Ingredient in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as IngredientConstructors in net.minecraft.entity.ai.goal with parameters of type IngredientModifierConstructorDescriptionTemptGoal
(PathAwareEntity entity, double speed, Ingredient food, boolean canBeScared) -
Uses of Ingredient in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
StriderEntity.ATTRACTING_INGREDIENT
private static final Ingredient
AbstractHorseEntity.BREEDING_INGREDIENT
static final Ingredient
CamelEntity.BREEDING_INGREDIENT
private static final Ingredient
ChickenEntity.BREEDING_INGREDIENT
private static final Ingredient
PigEntity.BREEDING_INGREDIENT
private static final Ingredient
StriderEntity.BREEDING_INGREDIENT
static final Ingredient
TurtleEntity.BREEDING_ITEM
private static final Ingredient
AllayEntity.DUPLICATION_INGREDIENT
static final Ingredient
FrogEntity.SLIME_BALL
private static final Ingredient
CatEntity.TAMING_INGREDIENT
private static final Ingredient
LlamaEntity.TAMING_INGREDIENT
private static final Ingredient
OcelotEntity.TAMING_INGREDIENT
Methods in net.minecraft.entity.passive that return IngredientModifier and TypeMethodDescriptionstatic Ingredient
AxolotlBrain.getTemptItems()
static Ingredient
CamelBrain.getTemptItems()
static Ingredient
FrogBrain.getTemptItems()
static Ingredient
GoatBrain.getTemptItems()
static Ingredient
SnifferBrain.getTemptItems()
Constructors in net.minecraft.entity.passive with parameters of type IngredientModifierConstructorDescriptionOcelotTemptGoal
(OcelotEntity ocelot, double speed, Ingredient food, boolean canBeScared) TemptGoal
(CatEntity cat, double speed, Ingredient food, boolean canBeScared) -
Uses of Ingredient in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle declared as IngredientModifier and TypeFieldDescriptionprivate static final Ingredient
FurnaceMinecartEntity.ACCEPTABLE_FUEL
-
Uses of Ingredient in net.minecraft.item
Fields in net.minecraft.item with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Lazy<Ingredient>
ToolMaterials.repairIngredient
private final Lazy<Ingredient>
ArmorMaterials.repairIngredientSupplier
Methods in net.minecraft.item that return IngredientModifier and TypeMethodDescriptionArmorMaterial.getRepairIngredient()
Returns theIngredient
used to repair items using thisArmorMaterial
.ArmorMaterials.getRepairIngredient()
Returns theIngredient
used to repair items using thisArmorMaterial
.ToolMaterial.getRepairIngredient()
Returns theIngredient
used to repair items using thisToolMaterial
.ToolMaterials.getRepairIngredient()
Returns theIngredient
used to repair items using thisToolMaterial
.Constructor parameters in net.minecraft.item with type arguments of type IngredientModifierConstructorDescriptionprivate
ArmorMaterials
(String name, int durabilityMultiplier, EnumMap<ArmorItem.Type, Integer> protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier) private
ToolMaterials
(int miningLevel, int itemDurability, float miningSpeed, float attackDamage, int enchantability, Supplier<Ingredient> repairIngredient) -
Uses of Ingredient in net.minecraft.recipe
Fields in net.minecraft.recipe 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
private static final Ingredient
FireworkRocketRecipe.DURATION_MODIFIER
static final Ingredient
Ingredient.EMPTY
private static final Ingredient
FireworkRocketRecipe.FIREWORK_STAR
private static final Ingredient
FireworkStarRecipe.FLICKER_MODIFIER
private static final Ingredient
FireworkStarRecipe.GUNPOWDER
protected final Ingredient
AbstractCookingRecipe.ingredient
(package private) final Ingredient
BrewingRecipeRegistry.Recipe.ingredient
protected final Ingredient
CuttingRecipe.ingredient
private static final Ingredient
FireworkStarFadeRecipe.INPUT_STAR
private static final Ingredient
FireworkRocketRecipe.PAPER
(package private) final Ingredient
SmithingTransformRecipe.template
(package private) final Ingredient
SmithingTrimRecipe.template
private static final Ingredient
FireworkStarRecipe.TRAIL_MODIFIER
private static final Ingredient
FireworkStarRecipe.TYPE_MODIFIER
Fields in net.minecraft.recipe with type parameters of type IngredientModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Ingredient>
Ingredient.ALLOW_EMPTY_CODEC
static final com.mojang.serialization.Codec<Ingredient>
Ingredient.DISALLOW_EMPTY_CODEC
private final DefaultedList<Ingredient>
RawShapedRecipe.ingredients
The field for theingredients
record component.private final List<Ingredient>
RecipeMatcher.Matcher.ingredients
(package private) final DefaultedList<Ingredient>
ShapelessRecipe.ingredients
private final Map<Character,
Ingredient> RawShapedRecipe.Data.key
The field for thekey
record component.private static final List<Ingredient>
BrewingRecipeRegistry.POTION_TYPES
Methods in net.minecraft.recipe that return IngredientModifier and TypeMethodDescriptionstatic Ingredient
Ingredient.empty()
static Ingredient
Ingredient.fromPacket
(PacketByteBuf buf) static Ingredient
private static Ingredient
Ingredient.ofEntries
(Stream<? extends Ingredient.Entry> entries) static Ingredient
Ingredient.ofItems
(ItemConvertible[] items) static Ingredient
static Ingredient
Methods in net.minecraft.recipe that return types with arguments of type IngredientModifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec<Ingredient>
Ingredient.createCodec
(boolean allowEmpty) AbstractCookingRecipe.getIngredients()
Returns the ingredients accepted as inputs for this recipe.CuttingRecipe.getIngredients()
Returns the ingredients accepted as inputs for this recipe.default DefaultedList<Ingredient>
Recipe.getIngredients()
Returns the ingredients accepted as inputs for this recipe.ShapedRecipe.getIngredients()
Returns the ingredients accepted as inputs for this recipe.ShapelessRecipe.getIngredients()
Returns the ingredients accepted as inputs for this recipe.RawShapedRecipe.ingredients()
Returns the value of theingredients
record component.RawShapedRecipe.Data.key()
Returns the value of thekey
record component.Methods in net.minecraft.recipe with parameters of type IngredientModifier and TypeMethodDescriptionAbstractCookingRecipe.RecipeFactory.create
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CookingRecipeSerializer.create
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CuttingRecipe.RecipeFactory.create
(String group, Ingredient ingredient, ItemStack result) Method parameters in net.minecraft.recipe with type arguments of type IngredientModifier and TypeMethodDescriptionstatic RawShapedRecipe
RawShapedRecipe.create
(Map<Character, Ingredient> key, String[] pattern) static RawShapedRecipe
Constructors in net.minecraft.recipe with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> type, String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) BlastingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CampfireCookingRecipe
(String group, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) CuttingRecipe
(RecipeType<?> type, RecipeSerializer<?> serializer, String group, Ingredient ingredient, ItemStack result) Recipe
(T input, Ingredient ingredient, T output) SmeltingRecipe
(String group, CookingRecipeCategory 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, CookingRecipeCategory category, Ingredient ingredient, ItemStack result, float experience, int cookingTime) StonecuttingRecipe
(String group, Ingredient ingredient, ItemStack result) Constructor parameters in net.minecraft.recipe with type arguments of type IngredientModifierConstructorDescriptionRawShapedRecipe
(int int2, int int3, DefaultedList<Ingredient> defaultedList, Optional<RawShapedRecipe.Data> optional) ShapelessRecipe
(String group, CraftingRecipeCategory category, ItemStack result, DefaultedList<Ingredient> ingredients)