Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getStoredPower:
- returnTypes: number
- args:
- description: Get the stored power in the network.
- source: me_network
- getAdvancedMethodsData:
- returnTypes: table
- args:
- 1:
- optional: true
- description:
- type: openperipheral.adapter.types.SingleArgType@5331cbd8
- name: method
- description: Get a complete table of information about all available methods
- source: <meta>
- pullItem:
- returnTypes: number
- args:
- 1:
- type: openperipheral.adapter.types.BoundedType@3cfa87fe
- name: direction
- description: The direction of the other inventory
- 2:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slot
- description: The slot in the OTHER inventory that you're pulling from
- 3:
- optional: true
- description: The maximum amount of items you want to pull
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: maxAmount
- 4:
- optional: true
- description: The slot in the current inventory that you want to pull into
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: intoSlot
- description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- source: inventory-world
- destroyStack:
- returnTypes: ()
- args:
- 1:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slotNumber
- description: The slot number
- description: Destroy a stack
- source: inventory
- getCraftingCPUs:
- returnTypes: table
- args:
- description: Get a list of tables representing the available CPUs in the network.
- source: me_network
- requestCrafting:
- returnTypes: ()
- args:
- 1:
- type: openperipheral.integration.vanilla.ModuleVanilla$1@7699b629
- name: fingerprint
- description: Details of the item you want to craft. Can be found with .getStackInSlot on inventory and .getAvailableItems on AE network
- 2:
- optional: true
- description: The quantity of items you want to craft
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: qty
- 3:
- optional: true
- description: The name of the CPU you want to use
- type: openperipheral.adapter.types.SingleArgType@5331cbd8
- name: cpu
- description: Requests the specified item to get crafted.
- source: me_interface
- listMethods:
- returnTypes: string
- args:
- 1:
- optional: true
- description:
- type: openperipheral.adapter.types.SingleArgType@5331cbd8
- name: filterSource
- description: List all the methods available
- source: <meta>
- exportItem:
- returnTypes: table
- args:
- 1:
- type: openperipheral.integration.vanilla.ModuleVanilla$1@7699b629
- name: fingerprint
- description: Details of the item you want to export (can be result of .getStackInSlot() or .getAvailableItems())
- 2:
- type: openperipheral.adapter.types.BoundedType@63105ef1
- name: direction
- description: Location of target inventory
- 3:
- optional: true
- description: The maximum amount of items you want to export
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: maxAmount
- 4:
- optional: true
- description: The slot in the other inventory that you want to export into
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: intoSlot
- description: Exports the specified item into the target inventory.
- source: me_interface
- getInventorySize:
- returnTypes: number
- args:
- description: Get the size of this inventory
- source: inventory
- getItemDetail:
- returnTypes: object
- args:
- 1:
- type: openperipheral.integration.vanilla.ModuleVanilla$1@7699b629
- name: item
- description: Details of the item you are looking for
- 2:
- optional: true
- description: If false, method will compute whole table, instead of returning proxy
- type: openperipheral.adapter.types.SingleArgType@d872faf
- name: proxy
- description: Retrieves details about the specified item from the ME Network.
- source: me_network
- pullItemIntoSlot:
- returnTypes: number
- args:
- 1:
- type: openperipheral.adapter.types.BoundedType@3cfa87fe
- name: direction
- description: The direction of the other inventory
- 2:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slot
- description: The slot in the OTHER inventory that you're pulling from
- 3:
- optional: true
- description: The maximum amount of items you want to pull
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: maxAmount
- 4:
- optional: true
- description: The slot in the current inventory that you want to pull into
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: intoSlot
- description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- source: inventory-world
- pushItemIntoSlot:
- returnTypes: number
- args:
- 1:
- type: openperipheral.adapter.types.BoundedType@1764c504
- name: direction
- description: The direction of the other inventory
- 2:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slot
- description: The slot in the current inventory that you're pushing from
- 3:
- optional: true
- description: The maximum amount of items you want to push
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: maxAmount
- 4:
- optional: true
- description: The slot in the other inventory that you want to push into (ignored when target is pipe
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: intoSlot
- description: Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
- source: inventory-world
- listSources:
- returnTypes: table
- args:
- description: List all method sources
- source: <meta>
- getStackInSlot:
- returnTypes: object
- args:
- 1:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slotNumber
- description: Slot number
- 2:
- optional: true
- description: If true, method will return proxy instead of computing whole table
- type: openperipheral.adapter.types.SingleArgType@d872faf
- name: proxy
- description: Get details of an item in a particular slot
- source: inventory
- getAllStacks:
- returnTypes: table
- args:
- 1:
- optional: true
- description: If false, method will compute whole table, instead of returning proxy
- type: openperipheral.adapter.types.SingleArgType@d872faf
- name: proxy
- description: Get a table with all the items of the chest
- source: inventory
- swapStacks:
- returnTypes: ()
- args:
- 1:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: from
- description: The first slot
- 2:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: to
- description: The other slot
- 3:
- optional: true
- description:
- type: openperipheral.adapter.types.BoundedType@7b8752d
- name: fromDirection
- 4:
- optional: true
- description:
- type: openperipheral.adapter.types.BoundedType@601108d2
- name: fromDirection
- description: Swap two slots in the inventory
- source: inventory
- getAvgPowerInjection:
- returnTypes: number
- args:
- description: Get the average power injection into the network
- source: me_network
- getAvgPowerUsage:
- returnTypes: number
- args:
- description: Get the average power usage of the network.
- source: me_network
- condenseItems:
- returnTypes: ()
- args:
- description: Condense and tidy the stacks in an inventory
- source: inventory
- doc:
- returnTypes: string
- args:
- 1:
- type: openperipheral.adapter.types.SingleArgType@5331cbd8
- name: method
- description:
- description: Brief description of method
- source: <meta>
- getAvailableItems:
- returnTypes: table
- args:
- 1:
- optional: true
- description: Format of stored items details (defalt: none)
- type: openperipheral.adapter.types.BoundedType@223291a3
- name: details
- description: Get a list of the stored and craftable items in the network.
- source: me_network
- getMaxStoredPower:
- returnTypes: number
- args:
- description: Get the maximum stored power in the network.
- source: me_network
- canExport:
- returnTypes: boolean
- args:
- 1:
- type: openperipheral.adapter.types.BoundedType@1da3f577
- name: direction
- description: Location of target inventory
- description: Returns true when the interface can export to side.
- source: me_interface
- getIdlePowerUsage:
- returnTypes: number
- args:
- description: Get the idle power usage of the network.
- source: me_network
- getInventoryName:
- returnTypes: string
- args:
- description: Get the name of this inventory
- source: inventory
- pushItem:
- returnTypes: number
- args:
- 1:
- type: openperipheral.adapter.types.BoundedType@1764c504
- name: direction
- description: The direction of the other inventory
- 2:
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: slot
- description: The slot in the current inventory that you're pushing from
- 3:
- optional: true
- description: The maximum amount of items you want to push
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: maxAmount
- 4:
- optional: true
- description: The slot in the other inventory that you want to push into (ignored when target is pipe
- type: openperipheral.adapter.types.SingleArgType@6c05cc87
- name: intoSlot
- description: Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
- source: inventory-world
- expandStack:
- returnTypes: table
- args:
- 1:
- type: openperipheral.adapter.types.NamedTupleType@64e76fa7
- name: stack
- description:
- description: Get full stack information from id and/or damage
- source: inventory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement