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, merge
protected CompoundIngredient(java.util.Collection<Ingredient> children)
public ItemStack[] getMatchingStacks()
getMatchingStacks
in class Ingredient
public IntList getValidItemStacksPacked()
getValidItemStacksPacked
in class Ingredient
public boolean apply(ItemStack target)
apply
in class Ingredient
protected void invalidate()
invalidate
in class Ingredient
public boolean isSimple()
isSimple
in class Ingredient
public java.util.Collection<Ingredient> getChildren()