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 = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@17f008a8",
- name = "method",
- },
- },
- description = "Get a complete table of information about all available methods",
- source = "<meta>",
- },
- pullItem = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@465f7e76",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "slot",
- description = "The slot in the OTHER inventory that you're pulling from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to pull",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the current inventory that you want to pull into",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- 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 = {
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- 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 = {
- {
- type = "openperipheral.integration.vanilla.ModuleVanilla$1@14f934f8",
- name = "fingerprint",
- description = "Details of the item you want to craft. Can be found with .getStackInSlot on inventory and .getAvailableItems on AE network",
- },
- {
- optional = true,
- description = "The quantity of items you want to craft",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "qty",
- },
- {
- optional = true,
- description = "The name of the CPU you want to use",
- type = "openperipheral.adapter.types.SingleArgType@17f008a8",
- name = "cpu",
- },
- },
- description = "Requests the specified item to get crafted.",
- source = "me_interface",
- },
- listMethods = {
- returnTypes = "string",
- args = {
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.SingleArgType@17f008a8",
- name = "filterSource",
- },
- },
- description = "List all the methods available",
- source = "<meta>",
- },
- exportItem = {
- returnTypes = "table",
- args = {
- {
- type = "openperipheral.integration.vanilla.ModuleVanilla$1@14f934f8",
- name = "fingerprint",
- description = "Details of the item you want to export (can be result of .getStackInSlot() or .getAvailableItems())",
- },
- {
- type = "openperipheral.adapter.types.BoundedType@26c85a6d",
- name = "direction",
- description = "Location of target inventory",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to export",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the other inventory that you want to export into",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- 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 = {
- {
- type = "openperipheral.integration.vanilla.ModuleVanilla$1@14f934f8",
- name = "item",
- description = "Details of the item you are looking for",
- },
- {
- optional = true,
- description = "If false, method will compute whole table, instead of returning proxy",
- type = "openperipheral.adapter.types.SingleArgType@275a341",
- name = "proxy",
- },
- },
- description = "Retrieves details about the specified item from the ME Network.",
- source = "me_network",
- },
- pullItemIntoSlot = {
- returnTypes = "number",
- args = {
- {
- type = "openperipheral.adapter.types.BoundedType@465f7e76",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "slot",
- description = "The slot in the OTHER inventory that you're pulling from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to pull",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "maxAmount",
- },
- {
- optional = true,
- description = "The slot in the current inventory that you want to pull into",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- 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 = {
- {
- type = "openperipheral.adapter.types.BoundedType@5bd0c31",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "slot",
- description = "The slot in the current inventory that you're pushing from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to push",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "maxAmount",
- },
- {
- 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@713d6f9f",
- 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 = {
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "slotNumber",
- description = "Slot number",
- },
- {
- optional = true,
- description = "If true, method will return proxy instead of computing whole table",
- type = "openperipheral.adapter.types.SingleArgType@275a341",
- name = "proxy",
- },
- },
- description = "Get details of an item in a particular slot",
- source = "inventory",
- },
- getAllStacks = {
- returnTypes = "table",
- args = {
- {
- optional = true,
- description = "If false, method will compute whole table, instead of returning proxy",
- type = "openperipheral.adapter.types.SingleArgType@275a341",
- name = "proxy",
- },
- },
- description = "Get a table with all the items of the chest",
- source = "inventory",
- },
- swapStacks = {
- returnTypes = "()",
- args = {
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "from",
- description = "The first slot",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "to",
- description = "The other slot",
- },
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.BoundedType@3b266715",
- name = "fromDirection",
- },
- {
- optional = true,
- description = "",
- type = "openperipheral.adapter.types.BoundedType@5fd9492e",
- 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 = {
- {
- type = "openperipheral.adapter.types.SingleArgType@17f008a8",
- name = "method",
- description = "",
- },
- },
- description = "Brief description of method",
- source = "<meta>",
- },
- getAvailableItems = {
- returnTypes = "table",
- args = {
- {
- optional = true,
- description = "Format of stored items details (defalt: none)",
- type = "openperipheral.adapter.types.BoundedType@1fe6da8e",
- 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 = {
- {
- type = "openperipheral.adapter.types.BoundedType@6f44fbba",
- 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 = {
- {
- type = "openperipheral.adapter.types.BoundedType@5bd0c31",
- name = "direction",
- description = "The direction of the other inventory",
- },
- {
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "slot",
- description = "The slot in the current inventory that you're pushing from",
- },
- {
- optional = true,
- description = "The maximum amount of items you want to push",
- type = "openperipheral.adapter.types.SingleArgType@713d6f9f",
- name = "maxAmount",
- },
- {
- 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@713d6f9f",
- 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 = {
- {
- type = "openperipheral.adapter.types.NamedTupleType@493e348e",
- name = "stack",
- description = "",
- },
- },
- description = "Get full stack information from id and/or damage",
- source = "inventory",
- },
- }
Add Comment
Please, Sign In to add comment