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 IngredientAbstractFurnaceRecipeBookScreen.fuelsprivate final IngredientRecipeBookGhostSlots.GhostInputSlot.ingredientMethods in net.minecraft.client.gui.screen.recipebook with parameters of type IngredientModifier and TypeMethodDescriptionvoidRecipeBookGhostSlots.addSlot(Ingredient ingredient, int x, int y) Method parameters in net.minecraft.client.gui.screen.recipebook with type arguments of type IngredientModifier and TypeMethodDescriptionvoidRecipeAlternativesWidget.AlternativeButtonWidget.acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) voidRecipeBookWidget.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 IngredientSmithingTransformRecipeJsonBuilder.additionprivate final IngredientSmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.additionThe field for theadditionrecord component.private final IngredientSmithingTrimRecipeJsonBuilder.additionprivate final IngredientSmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.additionThe field for theadditionrecord component.private final IngredientSmithingTransformRecipeJsonBuilder.baseprivate final IngredientSmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.baseThe field for thebaserecord component.private final IngredientSmithingTrimRecipeJsonBuilder.baseprivate final IngredientSmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.baseThe field for thebaserecord component.private final IngredientCookingRecipeJsonBuilder.CookingRecipeJsonProvider.inputprivate final IngredientCookingRecipeJsonBuilder.inputprivate final IngredientSingleItemRecipeJsonBuilder.inputprivate final IngredientSingleItemRecipeJsonBuilder.SingleItemRecipeJsonProvider.inputprivate final IngredientSmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.templateThe field for thetemplaterecord component.private final IngredientSmithingTransformRecipeJsonBuilder.templateprivate final IngredientSmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.templateThe field for thetemplaterecord component.private final IngredientSmithingTrimRecipeJsonBuilder.templateFields in net.minecraft.data.server.recipe with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final Map<Character,Ingredient> ShapedRecipeJsonBuilder.inputsprivate final Map<Character,Ingredient> ShapedRecipeJsonBuilder.ShapedRecipeJsonProvider.inputsprivate final List<Ingredient>ShapelessRecipeJsonBuilder.inputsprivate final List<Ingredient>ShapelessRecipeJsonBuilder.ShapelessRecipeJsonProvider.inputsMethods in net.minecraft.data.server.recipe that return IngredientModifier and TypeMethodDescriptionSmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.addition()Returns the value of theadditionrecord component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.addition()Returns the value of theadditionrecord component.SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.base()Returns the value of thebaserecord component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.base()Returns the value of thebaserecord component.SmithingTransformRecipeJsonBuilder.SmithingTransformRecipeJsonProvider.template()Returns the value of thetemplaterecord component.SmithingTrimRecipeJsonBuilder.SmithingTrimRecipeJsonProvider.template()Returns the value of thetemplaterecord component.Methods in net.minecraft.data.server.recipe with parameters of type IngredientModifier and TypeMethodDescriptionstatic CookingRecipeJsonBuilderCookingRecipeJsonBuilder.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 CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createBlasting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createCampfireCooking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected static ShapedRecipeJsonBuilderRecipeProvider.createChiseledBlockRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createCondensingRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) private static ShapedRecipeJsonBuilderRecipeProvider.createCutCopperRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilderRecipeProvider.createDoorRecipe(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createFenceGateRecipe(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createFenceRecipe(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createPressurePlateRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createSignRecipe(ItemConvertible output, Ingredient input) protected static CraftingRecipeJsonBuilderRecipeProvider.createSlabRecipe(RecipeCategory category, ItemConvertible output, Ingredient input) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createSmelting(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) static CookingRecipeJsonBuilderCookingRecipeJsonBuilder.createSmoking(Ingredient input, RecipeCategory category, ItemConvertible output, float experience, int cookingTime) protected static CraftingRecipeJsonBuilderRecipeProvider.createStairsRecipe(ItemConvertible output, Ingredient input) static SingleItemRecipeJsonBuilderSingleItemRecipeJsonBuilder.createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output) static SingleItemRecipeJsonBuilderSingleItemRecipeJsonBuilder.createStonecutting(Ingredient input, RecipeCategory category, ItemConvertible output, int count) private static CraftingRecipeJsonBuilderRecipeProvider.createTransmutationRecipe(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.createTrapdoorRecipe(ItemConvertible output, Ingredient input) private static CraftingRecipeJsonBuilderRecipeProvider.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 IngredientModifierConstructorDescriptionprivateCookingRecipeJsonBuilder(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) Constructor parameters in net.minecraft.data.server.recipe with type arguments of type IngredientModifierConstructorDescriptionShapedRecipeJsonProvider(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
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 IngredientStriderEntity.ATTRACTING_INGREDIENTprivate static final IngredientAbstractHorseEntity.BREEDING_INGREDIENTstatic final IngredientCamelEntity.BREEDING_INGREDIENTprivate static final IngredientChickenEntity.BREEDING_INGREDIENTprivate static final IngredientPigEntity.BREEDING_INGREDIENTprivate static final IngredientStriderEntity.BREEDING_INGREDIENTstatic final IngredientTurtleEntity.BREEDING_ITEMprivate static final IngredientAllayEntity.DUPLICATION_INGREDIENTstatic final IngredientFrogEntity.SLIME_BALLprivate static final IngredientCatEntity.TAMING_INGREDIENTprivate static final IngredientLlamaEntity.TAMING_INGREDIENTprivate static final IngredientOcelotEntity.TAMING_INGREDIENTMethods in net.minecraft.entity.passive that return IngredientModifier and TypeMethodDescriptionstatic IngredientAxolotlBrain.getTemptItems()static IngredientCamelBrain.getTemptItems()static IngredientFrogBrain.getTemptItems()static IngredientGoatBrain.getTemptItems()static IngredientSnifferBrain.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 IngredientFurnaceMinecartEntity.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.repairIngredientprivate final Lazy<Ingredient>ArmorMaterials.repairIngredientSupplierMethods in net.minecraft.item that return IngredientModifier and TypeMethodDescriptionArmorMaterial.getRepairIngredient()ArmorMaterials.getRepairIngredient()ToolMaterial.getRepairIngredient()ToolMaterials.getRepairIngredient()Constructor parameters in net.minecraft.item with type arguments of type IngredientModifierConstructorDescriptionprivateArmorMaterials(String name, int durabilityMultiplier, EnumMap<ArmorItem.Type, Integer> protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier) privateToolMaterials(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 IngredientSmithingTransformRecipe.addition(package private) final IngredientSmithingTrimRecipe.addition(package private) final IngredientSmithingTransformRecipe.base(package private) final IngredientSmithingTrimRecipe.baseprivate static final IngredientFireworkRocketRecipe.DURATION_MODIFIERstatic final IngredientIngredient.EMPTYprivate static final IngredientFireworkRocketRecipe.FIREWORK_STARprivate static final IngredientFireworkStarRecipe.FLICKER_MODIFIERprivate static final IngredientFireworkStarRecipe.GUNPOWDER(package private) final IngredientBrewingRecipeRegistry.Recipe.ingredientprotected final IngredientAbstractCookingRecipe.inputprotected final IngredientCuttingRecipe.inputprivate static final IngredientFireworkStarFadeRecipe.INPUT_STARprivate static final IngredientFireworkRocketRecipe.PAPER(package private) final IngredientSmithingTransformRecipe.template(package private) final IngredientSmithingTrimRecipe.templateprivate static final IngredientFireworkStarRecipe.TRAIL_MODIFIERprivate static final IngredientFireworkStarRecipe.TYPE_MODIFIERFields in net.minecraft.recipe with type parameters of type IngredientModifier and TypeFieldDescriptionprivate final List<Ingredient>RecipeMatcher.Matcher.ingredients(package private) final DefaultedList<Ingredient>ShapedRecipe.input(package private) final DefaultedList<Ingredient>ShapelessRecipe.inputprivate static final List<Ingredient>BrewingRecipeRegistry.POTION_TYPESMethods in net.minecraft.recipe that return IngredientModifier and TypeMethodDescriptionstatic IngredientIngredient.empty()static IngredientIngredient.fromJson(@Nullable JsonElement json) static IngredientIngredient.fromPacket(PacketByteBuf buf) static Ingredientprivate static IngredientIngredient.ofEntries(Stream<? extends Ingredient.Entry> entries) static IngredientIngredient.ofItems(ItemConvertible[] items) static Ingredientstatic IngredientMethods in net.minecraft.recipe that return types with arguments of type IngredientModifier 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.Methods in net.minecraft.recipe with parameters of type IngredientModifier 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) Method parameters in net.minecraft.recipe with type arguments of type IngredientModifier 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.Constructors in net.minecraft.recipe with parameters of type IngredientModifierConstructorDescriptionAbstractCookingRecipe(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) Constructor parameters in net.minecraft.recipe with type arguments of type IngredientModifierConstructorDescriptionShapedRecipe(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)