Interface ItemStack

All Superinterfaces:
ComponentLike, CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, HoverEventSource<HoverEvent.ShowItem>, SerializableDataHolder, SerializableDataHolder.Mutable, ValueContainer

Represents a stack of a specific ItemType. Supports serialization and can be compared using the comparators listed in ItemStackComparators.

ItemStacks have a variety of properties and data. It is advised to use ValueContainer.get(Key) in order to retrieve information regarding this item stack.