public class CompoundIngredient extends Ingredient
EMPTY| Modifier | Constructor and Description |
|---|---|
protected |
CompoundIngredient(java.util.Collection<Ingredient> children) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ItemStack target) |
java.util.Collection<Ingredient> |
getChildren() |
ItemStack[] |
getMatchingStacks() |
IntList |
getValidItemStacksPacked() |
protected void |
invalidate() |
boolean |
isSimple() |
fromItem, fromItems, fromStacks, invalidateAll, mergeprotected CompoundIngredient(java.util.Collection<Ingredient> children)
public ItemStack[] getMatchingStacks()
getMatchingStacks in class Ingredientpublic IntList getValidItemStacksPacked()
getValidItemStacksPacked in class Ingredientpublic boolean apply(ItemStack target)
apply in class Ingredientprotected void invalidate()
invalidate in class Ingredientpublic boolean isSimple()
isSimple in class Ingredientpublic java.util.Collection<Ingredient> getChildren()