public interface IStorageGrid extends IGridCache, IStorageMonitorable
Modifier and Type | Method and Description |
---|---|
void |
postAlterationOfStoredItems(StorageChannel chan,
java.lang.Iterable<? extends IAEStack> input,
BaseActionSource src)
Used to inform the network of alterations to the storage system that fall outside of the standard Network
operations, Examples, ME Chest inputs from the world, or a Storage Bus detecting modifications made to the chest
by an outside force.
|
void |
registerCellProvider(ICellProvider cc)
Used to add a cell provider to the storage system
|
void |
unregisterCellProvider(ICellProvider cc)
remove a provider added with addCellContainer
|
addNode, onJoin, onSplit, onUpdateTick, populateGridStorage, removeNode
getFluidInventory, getItemInventory
void postAlterationOfStoredItems(StorageChannel chan, java.lang.Iterable<? extends IAEStack> input, BaseActionSource src)
Expects the input to have either a negative or a positive stack size to correspond to the injection, or extraction operation.
input
- injected itemsvoid registerCellProvider(ICellProvider cc)
THIS IT NOT FOR USE IGridHost
THAT PROVIDE ICellContainer
- those are automatically handled by
the storage system.
cc
- to be added cell providervoid unregisterCellProvider(ICellProvider cc)