Uses of Class
net.minecraft.recipe.Ingredient
Package
Description
-
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
Modifier and TypeMethodDescriptionstatic ShapedRecipeJsonFactory
RecipesProvider.createChiseledBlockRecipe
(ItemConvertible output, Ingredient input) static CraftingRecipeJsonFactory
RecipesProvider.createCondensingRecipe
(ItemConvertible output, Ingredient input) static ShapedRecipeJsonFactory
RecipesProvider.createCutCopperRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createDoorRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createFenceGateRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createFenceRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createPressurePlateRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createSignRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createSlabRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createStairsRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createTransmutationRecipe
(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonFactory
RecipesProvider.createTrapdoorRecipe
(ItemConvertible output, Ingredient input) static CraftingRecipeJsonFactory
RecipesProvider.getWallRecipe
(ItemConvertible output, Ingredient input) -
Uses of Ingredient in net.minecraft.data.server.recipe
Modifier and TypeFieldDescriptionprivate final Ingredient
SmithingRecipeJsonFactory.addition
private final Ingredient
SmithingRecipeJsonFactory.SmithingRecipeJsonProvider.addition
private final Ingredient
SmithingRecipeJsonFactory.base
private final Ingredient
SmithingRecipeJsonFactory.SmithingRecipeJsonProvider.base
private final Ingredient
CookingRecipeJsonFactory.CookingRecipeJsonProvider.input
private final Ingredient
CookingRecipeJsonFactory.input
private final Ingredient
SingleItemRecipeJsonFactory.input
private final Ingredient
SingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider.input
Modifier and TypeFieldDescriptionprivate final Map<Character,
Ingredient> ShapedRecipeJsonFactory.inputs
private final Map<Character,
Ingredient> ShapedRecipeJsonFactory.ShapedRecipeJsonProvider.inputs
private final List<Ingredient>
ShapelessRecipeJsonFactory.inputs
private final List<Ingredient>
ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider.inputs
Modifier and TypeMethodDescriptionstatic CookingRecipeJsonFactory
CookingRecipeJsonFactory.create
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) static CookingRecipeJsonFactory
CookingRecipeJsonFactory.create
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) static SmithingRecipeJsonFactory
SmithingRecipeJsonFactory.create
(Ingredient base, Ingredient addition, Item result) static CookingRecipeJsonFactory
CookingRecipeJsonFactory.createBlasting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonFactory
CookingRecipeJsonFactory.createSmelting
(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime) static CookingRecipeJsonFactory
CookingRecipeJsonFactory.createSmoking
(Ingredient result, ItemConvertible ingredient, float experience, int cookingTime) static SingleItemRecipeJsonFactory
SingleItemRecipeJsonFactory.createStonecutting
(Ingredient input, ItemConvertible output) static SingleItemRecipeJsonFactory
SingleItemRecipeJsonFactory.createStonecutting
(Ingredient input, ItemConvertible output, int outputCount) ShapedRecipeJsonFactory.input
(Character c, Ingredient ingredient) ShapelessRecipeJsonFactory.input
(Ingredient ingredient) ShapelessRecipeJsonFactory.input
(Ingredient ingredient, int size) ModifierConstructorDescriptionprivate
CookingRecipeJsonFactory
(ItemConvertible output, Ingredient input, float experience, int cookingTime, CookingRecipeSerializer<?> serializer) CookingRecipeJsonProvider
(Identifier recipeId, String group, Ingredient input, Item result, float experience, int cookingTime, Advancement.Task builder, Identifier advancementId, RecipeSerializer<? extends AbstractCookingRecipe> serializer) SingleItemRecipeJsonFactory
(RecipeSerializer<?> serializer, Ingredient input, ItemConvertible output, int outputCount) SingleItemRecipeJsonProvider
(Identifier recipeId, RecipeSerializer<?> serializer, String group, Ingredient input, Item output, int outputCount, Advancement.Task builder, Identifier advancementId) SmithingRecipeJsonFactory
(RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result) SmithingRecipeJsonProvider
(Identifier recipeId, RecipeSerializer<?> serializer, Ingredient base, Ingredient addition, Item result, Advancement.Task builder, Identifier advancementId) ModifierConstructorDescriptionShapedRecipeJsonProvider
(Identifier recipeId, Item output, int resultCount, String group, List<String> pattern, Map<Character, Ingredient> inputs, Advancement.Task builder, Identifier advancementId) ShapelessRecipeJsonProvider
(Identifier recipeId, Item output, int outputCount, String group, List<Ingredient> inputs, Advancement.Task builder, 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
ChickenEntity.BREEDING_INGREDIENT
private static final Ingredient
HorseBaseEntity.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
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
GoatBrain.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, int[] 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
SmithingRecipe.addition
(package private) final Ingredient
SmithingRecipe.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
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.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()
The ingredients accepted as inputs for this recipe.CuttingRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.default DefaultedList<Ingredient>
Recipe.getIngredients()
The ingredients accepted as inputs for this recipe.ShapedRecipe.getIngredients()
The ingredients accepted as inputs for this recipe.ShapelessRecipe.getIngredients()
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, 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, Ingredient input, ItemStack output, float experience, int cookTime) BlastingRecipe
(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime) CampfireCookingRecipe
(Identifier id, String group, 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, Ingredient input, ItemStack output, float experience, int cookTime) SmithingRecipe
(Identifier id, Ingredient base, Ingredient addition, ItemStack result) SmokingRecipe
(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime) StonecuttingRecipe
(Identifier id, String group, Ingredient input, ItemStack output) ModifierConstructorDescriptionShapedRecipe
(Identifier id, String group, int width, int height, DefaultedList<Ingredient> input, ItemStack output) ShapelessRecipe
(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input)