public static class IItemStackQuery.IngredientQuery extends java.lang.Object implements IItemStackQuery.IItemStackQueryRecipe
IItemStackQuery.IItemStackNBTQuery, IItemStackQuery.IItemStackQueryRecipe, IItemStackQuery.IngredientQuery, IItemStackQuery.ItemQuery, IItemStackQuery.ItemStackQuery| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.item.crafting.Ingredient |
ingredient |
ANYTHING, NOTHING| Constructor and Description |
|---|
IngredientQuery(net.minecraft.item.crafting.Ingredient ingredient) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.crafting.Ingredient |
getIngredient() |
net.minecraft.item.ItemStack[] |
getMatchingStacks() |
boolean |
matches(net.minecraft.item.ItemStack itemStack) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitof, of, of, test, toSlotFilter, toSlotFilter, toSlotFilter, toSlotFilterpublic IngredientQuery(net.minecraft.item.crafting.Ingredient ingredient)
public net.minecraft.item.ItemStack[] getMatchingStacks()
getMatchingStacks in interface IItemStackQuery.IItemStackQueryRecipepublic net.minecraft.item.crafting.Ingredient getIngredient()
public boolean matches(net.minecraft.item.ItemStack itemStack)
matches in interface IItemStackQuery