energy_storage
Methods for interacting with blocks using Forge's energy storage system.
This works with energy storage blocks, as well as generators and machines which consume energy.
Note: Due to limitations with Forge's energy API, it is not possible to measure throughput (i.e. RF used/generated per tick).
getEnergy() | Get the energy of this block. |
---|---|
getEnergyCapacity() | Get the maximum amount of energy this block can store. |