Interface ItemStackSnapshot

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

public interface ItemStackSnapshot extends ItemStackLike, SerializableDataHolder.Immutable<ItemStackSnapshot>
Represents a snapshot of an ItemStack as an DataHolder.Immutable to represent all of the data associated with the ItemStack of which the snapshot was created from. Being that it is a snapshot, a snapshot cannot be modified, but modifications will result in a new instance of the ItemStackSnapshot.