energy_storage
Methods for interacting with blocks which store energy.
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. FE used/generated per tick).
Changes
- New in version 1.94.0
getEnergy() | Get the energy of this block. |
---|---|
getEnergyCapacity() | Get the maximum amount of energy this block can store. |