public class IngredientNBT extends Ingredient
Modifier and Type | Class and Description |
---|---|
static class |
IngredientNBT.Serializer |
Ingredient.IItemList, Ingredient.SingleItemList, Ingredient.TagList
EMPTY
Modifier | Constructor and Description |
---|---|
protected |
IngredientNBT(ItemStack stack) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSimple() |
boolean |
test(ItemStack input) |
deserializeItemList, fromBuffer, fromItemListStream, fromItems, fromJson, fromStacks, fromTag, getMatchingStacks, getSerializer, getValidItemStacksPacked, hasNoMatchingItems, invalidate, invalidateAll, isVanilla, merge, toJson, writeToBuffer
protected IngredientNBT(ItemStack stack)
public boolean test(@Nullable ItemStack input)
test
in interface java.util.function.Predicate<ItemStack>
test
in class Ingredient
public boolean isSimple()
isSimple
in class Ingredient