Skip to content

Capacitor

Picture

Header Mod: Immersive Engineering

Block: Any capacitor

The Capacitor is a block from Immersive Engineering to storage energy.







Info

The functions which returns a value in percent, will return a number between 1-0. (50% would be 0.5)

Functions

Function Returns Description
getEnergy() int Returns the amount of stored energy.
getEnergyNeeded() int Returns the amount of energy that is needed to fill the capacitor.
getEnergyFilledPercentage() int Returns the amount of the energy in percent.
getMaxEnergy() int Returns the capacity of the capacitor.

Changelog/Trivia

0.6b Added integration for Immersive Engineering

Back to top