Class CreativeEnergyStorage
java.lang.Object
com.refinedmods.refinedstorage.common.support.energy.CreativeEnergyStorage
- All Implemented Interfaces:
EnergyStorage
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
getStored
public long getStored()- Specified by:
getStoredin interfaceEnergyStorage- Returns:
- the amount stored
-
getCapacity
public long getCapacity()- Specified by:
getCapacityin interfaceEnergyStorage- Returns:
- the capacity
-
receive
Description copied from interface:EnergyStorageAdds energy to the energy storage.- Specified by:
receivein interfaceEnergyStorage- Parameters:
amount- the amount of energy to be receivedaction- the action- Returns:
- the amount received
-
extract
Description copied from interface:EnergyStorageExtracts energy from the energy storage.- Specified by:
extractin interfaceEnergyStorage- Parameters:
amount- the amount of energy to be extractedaction- the action- Returns:
- the amount extracted
-