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, invalidateAll
protected 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 Ingredient
public boolean apply(@Nullable ItemStack target)
apply
in class Ingredient
protected void invalidate()
invalidate
in class Ingredient