Interface PersistentInventory
- All Superinterfaces:
Inventory
,ValueContainer
- All Known Subinterfaces:
BlockEntityInventory<T>
An inventory with some kind of backing storage, for example Block Entities.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.inventory.Inventory
Inventory.Builder
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Mark 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
-
Method Details
-
markDirty
void markDirty()Mark this inventory as dirty to serve as a flag to the serialisation mechanism.
-