Interface ItemStackLike

All Superinterfaces:
ComponentLike, CopyableDataHolder, DataHolder, DataSerializable, HoverEventSource<HoverEvent.ShowItem>, SerializableDataHolder, ValueContainer
All Known Subinterfaces:
ItemStack, ItemStackSnapshot

Represents a stack of a specific ItemType. Supports serialization.

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