Class IItemStackQuery.IngredientQuery

java.lang.Object
com.hrznstudio.titanium.api.IItemStackQuery.IngredientQuery
All Implemented Interfaces:
IItemStackQuery, IItemStackQuery.IItemStackQueryRecipe, Predicate<net.minecraft.world.item.ItemStack>
Enclosing interface:
IItemStackQuery

public static class IItemStackQuery.IngredientQuery extends Object implements IItemStackQuery.IItemStackQueryRecipe
  • Field Details

    • ingredient

      protected net.minecraft.world.item.crafting.Ingredient ingredient
  • Constructor Details

    • IngredientQuery

      public IngredientQuery(net.minecraft.world.item.crafting.Ingredient ingredient)
  • Method Details

    • getMatchingStacks

      public net.minecraft.world.item.ItemStack[] getMatchingStacks()
      Specified by:
      getMatchingStacks in interface IItemStackQuery.IItemStackQueryRecipe
    • getIngredient

      public net.minecraft.world.item.crafting.Ingredient getIngredient()
    • matches

      public boolean matches(net.minecraft.world.item.ItemStack itemStack)
      Specified by:
      matches in interface IItemStackQuery