Package appeng.api.storage.cells
Interface StorageCell
- All Superinterfaces:
MEStorage
Represents the most general possible cell inventory. Register a
ICellHandler
to provide custom subclasses.-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Return whether the cell should be storable in other kinds of cells.double
Return the idle drain of the cell: how many AE/t it uses passively.Return the current status of the cell.void
persist()
Tells the cell to persist to NBT.Methods inherited from interface appeng.api.storage.MEStorage
extract, getAvailableStacks, getAvailableStacks, getDescription, insert, isPreferredStorageFor
-
Method Details
-
getStatus
CellState getStatus()Return the current status of the cell. -
getIdleDrain
double getIdleDrain()Return the idle drain of the cell: how many AE/t it uses passively. -
canFitInsideCell
default boolean canFitInsideCell()Return whether the cell should be storable in other kinds of cells. -
persist
void persist()Tells the cell to persist to NBT.
-