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.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.spongepowered.api.data.DataHolderDataHolder.Immutable<I extends DataHolder.Immutable<I>>, DataHolder.MutableNested classes/interfaces inherited from interface org.spongepowered.api.data.SerializableDataHolderSerializableDataHolder.Immutable<I extends SerializableDataHolder.Immutable<I>>, SerializableDataHolder.Mutable
- 
Method SummaryStatic MethodsModifier and TypeMethodDescriptionstatic ItemStackSnapshotempty()Gets a emptyItemStackSnapshot.Methods inherited from interface net.kyori.adventure.text.ComponentLikeasComponentMethods inherited from interface org.spongepowered.api.data.DataHolder.ImmutablemergeWith, mergeWith, transform, transform, with, with, with, without, without, withoutMethods inherited from interface org.spongepowered.api.data.persistence.DataSerializablecontentVersion, toContainerMethods inherited from interface net.kyori.adventure.text.event.HoverEventSourceasHoverEvent, asHoverEventMethods inherited from interface org.spongepowered.api.item.inventory.ItemStackLikeasImmutable, asMutable, asMutableCopy, attributeModifiers, attributeModifiers, attributeModifiers, attributeModifiers, copy, isEmpty, maxStackQuantity, quantity, typeMethods inherited from interface org.spongepowered.api.data.SerializableDataHoldervalidateRawDataMethods inherited from interface org.spongepowered.api.data.SerializableDataHolder.Immutablecopy, withRawData
- 
Method Details- 
emptyGets a emptyItemStackSnapshot.- Returns:
- The empty item stack snapshot
 
 
-