Uses of Class
net.minecraft.recipe.Ingredient
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of Ingredient in net.minecraft.client.gui.screen.recipebook
Modifier and TypeFieldDescriptionprivate @Nullable Ingredient
AbstractFurnaceRecipeBookScreen.fuels
private final Ingredient
RecipeBookGhostSlots.GhostInputSlot.ingredient
Modifier and TypeMethodDescriptionvoid
RecipeBookGhostSlots.addSlot
(Ingredient ingredient, int x, int y) Modifier 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) -
Uses of Ingredient in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate final Ingredient
SmithingTransformRecipeJsonBuilder.addition
private final Ingredient
SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.addition
The field for theaddition
record component.private final Ingredient
SmithingTrimRecipeJsonBuilder.addition
private final Ingredient
SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.addition
The field for theaddition
record component.private final Ingredient
SmithingTransformRecipeJsonBuilder.base
private final Ingredient
SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.base
The field for thebase
record component.private final Ingredient
SmithingTrimRecipeJsonBuilder.base
private final Ingredient
SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.base
The field for thebase
record component.private final Ingredient
CookingRecipeJsonBuilder.CookingRecipeJsonProvider.input
private final Ingredient
CookingRecipeJsonBuilder.input
private final Ingredient
SingleItemRecipeJsonBuilder.input
private final Ingredient
SingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider.input
private final Ingredient
SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.template
The field for thetemplate
record component.private final Ingredient
SmithingTransformRecipeJsonBuilder.template
private final Ingredient
SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.template
The field for thetemplate
record component.private final Ingredient
SmithingTrimRecipeJsonBuilder.template
Modifier and TypeFieldDescriptionprivate final Map<Character,
Ingredient> ShapedRecipeJsonBuilder.inputs
private final Map<Character,
Ingredient> ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider.inputs
private final List<Ingredient>
ShapelessRecipeJsonBuilder.inputs
private final List<Ingredient>
ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider.inputs
Modifier and TypeMethodDescriptionSmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.addition()
Returns the value of theaddition
record component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.addition()
Returns the value of theaddition
record component.SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.base()
Returns the value of thebase
record component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.base()
Returns the value of thebase
record component.SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.template()
Returns the value of thetemplate
record component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.template()
Returns the value of thetemplate
record component.Modifier and TypeMethodDescriptionstatic CookingRecipeJsonBuilder
CookingRecipeJsonBuilder.create
(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime, RecipeSerializer<? extends AbstractCookingRecipe> serializer) 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) ModifierConstructorDescriptionprivate
CookingRecipeJsonBuilder
(RecipeCategory category, CookingRecipeCategory cookingCategory, ItemConvertible output, Ingredient input, float experience, int cookingTime, RecipeSerializer<? extends AbstractCookingRecipe> serializer) CookingRecipeJsonProvider
(Identifier recipeId, String group, CookingRecipeCategory category, Ingredient input, Item result, float experience, int cookingTime, Advancement.Builder advancementBuilder, Identifier advancementId, RecipeSerializer<? extends AbstractCookingRecipe> serializer) SingleItemRecipeJsonBuilder
(RecipeCategory category, RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int count) SingleItemRecipeJsonProvider
(Identifier recipeId, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, Advancement.Builder advancementBuilder, Identifier advancementId) SmithingTransformRecipeJsonBuilder
(RecipeSerializer<?> serializer, Ingredient template, Ingredient base, Ingredient addition, RecipeCategory category, Item result) SmithingTransformRecipeJsonProvider
(Identifier identifier, RecipeSerializer<?> recipeSerializer, Ingredient ingredient, Ingredient ingredient2, Ingredient ingredient3, Item item, Advancement.Builder builder, Identifier identifier2) SmithingTrimRecipeJsonBuilder
(RecipeSerializer<?> serializer, RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition) SmithingTrimRecipeJsonProvider
(Identifier identifier, RecipeSerializer<?> recipeSerializer, Ingredient ingredient, Ingredient ingredient2, Ingredient ingredient3, Advancement.Builder builder, Identifier identifier2) ModifierConstructorDescriptionShapedRecipeJsonProvider
(Identifier recipeId, Item output, int resultCount, String group, CraftingRecipeCategory craftingCategory, List<String> pattern, Map<Character, Ingredient> inputs, Advancement.Builder advancementBuilder, Identifier advancementId, boolean showNotification) ShapelessRecipeJsonProvider
(Identifier recipeId, Item output, int outputCount, String group, CraftingRecipeCategory craftingCategory, List<Ingredient> inputs, Advancement.Builder advancementBuilder, Identifier advancementId) -
Uses of Ingredient in net.minecraft.entity.ai.brain.sensor
-
Uses of Ingredient in net.minecraft.entity.ai.goal
ModifierConstructorDescriptionTemptGoal
(PathAwareEntity entity, double speed, Ingredient food, boolean canBeScared) -
Uses of Ingredient in net.minecraft.entity.passive
Modifier 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
Modifier and TypeMethodDescriptionstatic Ingredient
AxolotlBrain.getTemptItems()
static Ingredient
CamelBrain.getTemptItems()
static Ingredient
FrogBrain.getTemptItems()
static Ingredient
GoatBrain.getTemptItems()
static Ingredient
SnifferBrain.getTemptItems()
ModifierConstructorDescriptionOcelotTemptGoal
(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
Modifier and TypeFieldDescriptionprivate static final Ingredient
FurnaceMinecartEntity.ACCEPTABLE_FUEL
-
Uses of Ingredient in net.minecraft.item
Modifier and TypeFieldDescriptionprivate final Lazy<Ingredient>
ToolMaterials.repairIngredient
private final Lazy<Ingredient>
ArmorMaterials.repairIngredientSupplier
Modifier and TypeMethodDescriptionArmorMaterial.getRepairIngredient()
ArmorMaterials.getRepairIngredient()
ToolMaterial.getRepairIngredient()
ToolMaterials.getRepairIngredient()
ModifierConstructorDescriptionprivate
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
Modifier 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
(package private) final Ingredient
BrewingRecipeRegistry.Recipe.ingredient
protected final Ingredient
AbstractCookingRecipe.input
protected final Ingredient
CuttingRecipe.input
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
Modifier and TypeFieldDescriptionprivate final List<Ingredient>
RecipeMatcher.Matcher.ingredients
(package private) final DefaultedList<Ingredient>
ShapedRecipe.input
(package private) final DefaultedList<Ingredient>
ShapelessRecipe.input
private static final List<Ingredient>
BrewingRecipeRegistry.POTION_TYPES
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.empty()
static Ingredient
Ingredient.fromJson
(@Nullable JsonElement json) static Ingredient
Ingredient.fromJson
(@Nullable JsonElement json, boolean allowAir) 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
Modifier and TypeMethodDescription(package private) static DefaultedList<Ingredient>
ShapedRecipe.createPatternMatrix
(String[] pattern, Map<String, Ingredient> symbols, int width, int height) Compiles a pattern and series of symbols into a list of ingredients (the matrix) suitable for matching against a crafting grid.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.private static DefaultedList<Ingredient>
ShapelessRecipe.Serializer.getIngredients
(JsonArray json) (package private) static Map<String,
Ingredient> ShapedRecipe.readSymbols
(JsonObject json) Reads the pattern symbols.Modifier and TypeMethodDescriptionCookingRecipeSerializer.RecipeFactory.create
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) CuttingRecipe.Serializer.RecipeFactory.create
(Identifier id, String group, Ingredient input, ItemStack output) Modifier and TypeMethodDescription(package private) static DefaultedList<Ingredient>
ShapedRecipe.createPatternMatrix
(String[] pattern, Map<String, Ingredient> symbols, int width, int height) Compiles a pattern and series of symbols into a list of ingredients (the matrix) suitable for matching against a crafting grid.ModifierConstructorDescriptionAbstractCookingRecipe
(RecipeType<?> type, Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) BlastingRecipe
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) CampfireCookingRecipe
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) CuttingRecipe
(RecipeType<?> type, RecipeSerializer<?> serializer, Identifier id, String group, Ingredient input, ItemStack output) Recipe
(T input, Ingredient ingredient, T output) SmeltingRecipe
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) SmithingTransformRecipe
(Identifier id, Ingredient template, Ingredient base, Ingredient addition, ItemStack result) SmithingTrimRecipe
(Identifier id, Ingredient template, Ingredient base, Ingredient addition) SmokingRecipe
(Identifier id, String group, CookingRecipeCategory category, Ingredient input, ItemStack output, float experience, int cookTime) StonecuttingRecipe
(Identifier id, String group, Ingredient input, ItemStack output) ModifierConstructorDescriptionShapedRecipe
(Identifier id, String group, CraftingRecipeCategory category, int width, int height, DefaultedList<Ingredient> input, ItemStack output) ShapedRecipe
(Identifier id, String group, CraftingRecipeCategory category, int width, int height, DefaultedList<Ingredient> input, ItemStack output, boolean showNotification) ShapelessRecipe
(Identifier id, String group, CraftingRecipeCategory category, ItemStack output, DefaultedList<Ingredient> input)