Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## EnergySource :: union

Loaded as one of the BaseEnergySource extensions, based on the value of the `type` key.

#### Union members

ElectricEnergySource | Loaded when the `type` is `"electric"`.
BurnerEnergySource | Loaded when the `type` is `"burner"`.
HeatEnergySource | Loaded when the `type` is `"heat"`.
FluidEnergySource | Loaded when the `type` is `"fluid"`.
VoidEnergySource | Loaded when the `type` is `"void"`.

Type used in

- AgriculturalTowerPrototype::energy_source
- BoilerPrototype::energy_source
- CraftingMachinePrototype::energy_source
- InserterPrototype::energy_source
- LabPrototype::energy_source
- MiningDrillPrototype::energy_source
- OffshorePumpPrototype::energy_source
- PumpPrototype::energy_source
- RadarPrototype::energy_source
- ReactorPrototype::energy_source