Interface PersistentInventory
-
- All Superinterfaces:
Inventory
,ValueContainer
- All Known Subinterfaces:
BlockEntityInventory<T>
public interface PersistentInventory extends Inventory
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
markDirty()
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
-
-