EnergyTypeRegistry
Index
Type Aliases
Variables
Functions
Type Aliases
WireData
Type declaration
class: typeof EnergyGrid
type: EnergyType
value: number
Variables
energyTypes
Type declaration
wireData
Type declaration
Functions
assureEnergyType
Parameters
name: string
value: number
Returns EnergyType
createEnergyType
Parameters
name: string
value: number
Returns EnergyType
getEnergyType
Parameters
name: string
Returns EnergyType
getValueRatio
Parameters
name1: string
name2: string
Returns number
getWireData
Parameters
blockID: number
Returns WireData
isWire
Parameters
blockID: number
optionaltype: string
Returns boolean
registerWire
Parameters
blockID: number
type: EnergyType
maxValue: number
optionalenergyGridClass: typeof EnergyGrid
Returns void
name - name of this energy type, value - value of one unit in [Eu] (IC2 Energy)