public class OreIngredient extends Ingredient
EMPTY
Constructor and Description |
---|
OreIngredient(java.lang.String ore) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ItemStack input) |
ItemStack[] |
getMatchingStacks() |
it.unimi.dsi.fastutil.ints.IntList |
getValidItemStacksPacked() |
protected void |
invalidate() |
fromItem, fromItems, fromStacks, invalidateAll
@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 input)
apply
in class Ingredient
protected void invalidate()
invalidate
in class Ingredient