DefaultEnergyHolder
The default EnergyHolder implementation.
Parameters
the Compound for data storage and retrieval
the Provider for the current energy amount
the maximum amount of energy this EnergyHolder can store
determines whether energy can be inserted, extracted, or both
the default (BlockFace, NetworkConnectionType) to be used if no configuration is stored
Constructors
Properties
A set of BlockFaces where connections are allowed.
The BlockFaces that can never have a connection.
Stores which NetworkConnectionType is used for each BlockFace.
The current amount of energy in this EnergyHolder.
The amount of energy that was extracted during the last energy network tick.
A Provider that shows the amount of energy that was extracted during the last energy network tick.
The amount of energy that was inserted during the last energy network tick.
A Provider that shows the amount of energy that was inserted during the last energy network tick.
A Provider for the current energy amount.
The maximum amount of energy this EnergyHolder can store.