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) |
ItemStack[] |
getMatchingStacks() |
it.unimi.dsi.fastutil.ints.IntList |
getValidItemStacksPacked() |
protected void |
invalidate() |
fromItem, fromItems, fromStacks, invalidateAllprotected CompoundIngredient(java.util.Collection<Ingredient> children)
@Nonnull public ItemStack[] getMatchingStacks()
getMatchingStacks in class Ingredient@Nonnull public it.unimi.dsi.fastutil.ints.IntList getValidItemStacksPacked()
getValidItemStacksPacked in class Ingredientpublic boolean apply(@Nullable
ItemStack target)
apply in class Ingredientprotected void invalidate()
invalidate in class Ingredient