- All Known Subinterfaces:
public interface PersistentInventory extends Inventory
An inventory with some kind of backing storage, for example Block Entities.
Nested Class Summary
Method SummaryModifier and TypeMethodDescription
voidMark this inventory as dirty to serve as a flag to the serialisation mechanism.
Methods inherited from interface org.spongepowered.api.item.inventory.Inventory
asViewable, canFit, capacity, children, clear, contains, contains, containsAny, containsChild, containsInventory, freeCapacity, get, get, hasChildren, intersect, offer, offer, parent, peek, peekAt, poll, poll, pollFrom, pollFrom, query, query, query, query, query, query, root, set, slot, slots, totalQuantity, union
markDirtyvoid markDirty()Mark this inventory as dirty to serve as a flag to the serialisation mechanism.