Component/applied energistics: Difference between revisions
imported>OCDoc Import Imported from legacy OpenComputers documentation at ocdoc.cil.li |
Clean up Markdown artifacts from DokuWiki migration |
||
| Line 13: | Line 13: | ||
== ME Controller == | == ME Controller == | ||
AE2 [https://ae-mod.info/ME-Controller/ ME Controller] -> | AE2 [https://ae-mod.info/ME-Controller/ ME Controller] -> <code>me_controller</code> | ||
The | The <code>me_controller</code> provides the [[#Common Network API|#Common Network API]] and the following: | ||
{{:Component/ae2common#Environment API}} | {{:Component/ae2common#Environment API}} | ||
| Line 21: | Line 21: | ||
=== Craftable === | === Craftable === | ||
<code>userdata</code> objects returned from any ae2 network component <code>getCraftables</code> | |||
{{:Component/ae2common#Craftable API}} | {{:Component/ae2common#Craftable API}} | ||
| Line 27: | Line 27: | ||
=== Crafting Status === | === Crafting Status === | ||
<code>userdata</code> objects returned from calling <code>request</code> on [[#Craftable|#Craftable]] | |||
{{:Component/ae2common#CraftingStatus API}} | {{:Component/ae2common#CraftingStatus API}} | ||
| Line 33: | Line 33: | ||
== ME Interface == | == ME Interface == | ||
AE2 [https://ae-mod.info/ME-Interface/ ME Interface] -> | AE2 [https://ae-mod.info/ME-Interface/ ME Interface] -> <code>me_interface</code> | ||
The | The <code>me_interface</code> provides the [[#Common Network API|#Common Network API]] and the following: | ||
{{:Component/ae2common#Interface API}} | {{:Component/ae2common#Interface API}} | ||
| Line 41: | Line 41: | ||
== ME Import Bus == | == ME Import Bus == | ||
AE2 [https://ae-mod.info/ME-Import-Bus/ ME Import Bus] -> | AE2 [https://ae-mod.info/ME-Import-Bus/ ME Import Bus] -> <code>me_importbus</code> | ||
The | The <code>me_importbus</code> provides the [[#Common Network API|#Common Network API]] and the following: | ||
{{:Component/ae2common#ImportBus API}} | {{:Component/ae2common#ImportBus API}} | ||
| Line 49: | Line 49: | ||
== ME Export Bus == | == ME Export Bus == | ||
AE2 [https://ae-mod.info/ME-Export-Bus/ ME Export Bus] -> | AE2 [https://ae-mod.info/ME-Export-Bus/ ME Export Bus] -> <code>me_exportbus</code> | ||
The | The <code>me_exportbus</code> provides the [[#Common Network API|#Common Network API]] and the following: | ||
{{:Component/ae2common#ExportBus API}} | {{:Component/ae2common#ExportBus API}} | ||
| Line 58: | Line 58: | ||
{{:Component/contents}} | {{:Component/contents}} | ||
Latest revision as of 20:27, 24 August 2026
Components: Applied Energistics
This page covers AE2 components made available with the adapter.
Mod integration is a moving target. This document refers to AE2 rv6 and OC 1.7.3 (or 1.7.2 dev builds) for minecraft 1.12.
Common Network API
All AE2 components provide a common network api
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
ME Controller
AE2 ME Controller -> me_controller
The me_controller provides the #Common Network API and the following:
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
Craftable
userdata objects returned from any ae2 network component getCraftables
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
Crafting Status
userdata objects returned from calling request on #Craftable
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
ME Interface
AE2 ME Interface -> me_interface
The me_interface provides the #Common Network API and the following:
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
ME Import Bus
AE2 ME Import Bus -> me_importbus
The me_importbus provides the #Common Network API and the following:
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
ME Export Bus
AE2 ME Export Bus -> me_exportbus
The me_exportbus provides the #Common Network API and the following:
NetworkController Trait API
getCpus():table
Get a list of tables representing the available CPUs in the network.
getCraftables([filter:table]):table
Get a list of known item recipes. These can be used to issue crafting requests.
getItemsInNetwork([filter:table]):table
Get a list of the stored items in the network.
store([filter:table,] [dbAddress:string,] [startSlot:number,] [count:number]): bool
Store items in the network matching the specified filter in the database with the specified address.
getFluidsInNetwork():table
Get a list of the stored fluids in the network.
getAvgPowerInjection():number
Get the average power injection into the network.
getAvgPowerUsage():number
Get the average power usage of the network.
getIdlePowerUsage():number
Get the idle power usage of the network.
getMaxStoredPower():number
Get the maximum stored power in the network.
getStoredPower():number
Get the stored power in the network.
Craftable API
getItemStack():table
Returns the item stack representation of the crafting result.
request([amount:int[, prioritizePower:boolean[, cpuName:string]]]):userdata
Requests the item to be crafted, returning an object that allows tracking the crafting status.
CraftingStatus API
isCanceled():boolean
Get whether the crafting request has been canceled.
isDone():boolean
Get whether the crafting request is done.
Environment API
getEnergyStored():number
Returns the amount of stored energy on the connected side.
getMaxEnergyStored():number
Returns the maximum amount of stored energy on the connected side.
canExtract():number
Returns whether this component can have energy extracted from the connected side.
canReceive():number
Returns whether this component can receive energy on the connected side.
Interface API
getInterfaceConfiguration([slot:number]):table
Get the configuration of the interface.
setInterfaceConfiguration([slot:number][, database:address, entry:number[, size:number]]):boolean
Configure the interface.
ImportBus API
getImportConfiguration(side:number[, slot:number]):boolean
Get the configuration of the import bus pointing in the specified direction.
setImportConfiguration(side:number[, slot:number][, database:address, entry:number]):boolean
Configure the import bus pointing in the specified direction to import item stacks matching the specified descriptor.
ExportBus API
getExportConfiguration(side:number, [ slot:number]):boolean
Get the configuration of the export bus pointing in the specified direction.
setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean
Configure the export bus pointing in the specified direction to export item stacks matching the specified descriptor.
exportIntoSlot(side:number, slot:number):boolean
Make the export bus facing the specified direction perform a single export operation into the specified slot.
| Components | |
|---|---|
| Core Components | Access Point - Computer - Drone - Drive - EEPROM - Filesystem - GPU - Microcontroller - Modem - Redstone - Robot - Transposer |
| Others | Component Access - Signals |
| Cross-Mod Integration | Applied Energistics |