Interface IEnergyNetwork
- All Superinterfaces:
IIngredientComponentStorageObservable<Long,Boolean>, IPositionedAddonsNetwork, IPositionedAddonsNetworkIngredients<Long, Boolean>
- All Known Implementing Classes:
EnergyNetwork
A network capability that holds energy.
-
Nested Class Summary
Nested classes/interfaces inherited from interface IIngredientComponentStorageObservable
IIngredientComponentStorageObservable.Change, IIngredientComponentStorageObservable.IIndexChangeObserver<T,M>, IIngredientComponentStorageObservable.StorageChangeEvent<T, M> -
Field Summary
Fields inherited from interface IPositionedAddonsNetwork
DEFAULT_CHANNEL, WILDCARD_CHANNEL -
Method Summary
Methods inherited from interface IIngredientComponentStorageObservable
addObserver, getChannelIndex, isObservationForcedPending, removeObserver, runObserverSync, scheduleObservation, scheduleObservationForced, shouldObserveMethods inherited from interface IPositionedAddonsNetwork
addPosition, disablePosition, enablePosition, getChannels, getPartPosIteratorHandler, getPositionChannel, getPositions, getPositions, getPrioritizedPositions, getPrioritizedPositions, hasPositions, isPositionDisabled, removePosition, setPartPosIteratorHandlerMethods inherited from interface IPositionedAddonsNetworkIngredients
getChannel, getChannelExternal, getChannelSlotted, getComponent, getInsertPreConsumers, getLastSecondDurationIndex, getPositionedStorage, getPositionedStorageFilter, getPositionedStorageUnsafe, getRateLimit, getRawInstances, registerInsertPreConsumer, resetLastSecondDurationsIndex, setPositionedStorageFilter, unregisterInsertPreConsumer
-
Method Details
-
getConsumptionRate
int getConsumptionRate()- Returns:
- The current network consumption rate.
-