public class IngredientNBT extends Ingredient
Modifier and Type | Field and Description |
---|---|
private ItemStack |
stack |
EMPTY
Modifier | Constructor and Description |
---|---|
protected |
IngredientNBT(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ItemStack input) |
boolean |
isSimple() |
fromItem, fromItems, fromStacks, getMatchingStacks, getValidItemStacksPacked, invalidate, invalidateAll, merge
private final ItemStack stack
protected IngredientNBT(ItemStack stack)
public boolean apply(@Nullable ItemStack input)
apply
in class Ingredient
public boolean isSimple()
isSimple
in class Ingredient