Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- METHODMAN: Practical display for in game documentation of computercraft + addons
- Peripheral found
- Side: bottom
- Type: tileinterface
- tileinterface method list:
- condenseItems
- expandStack
- getStoredPower
- exportItem
- swapStacks
- destroyStack
- pushItemIntoSlot
- getAvailableItems
- getAdvancedMethodsData
- getAllStacks
- pushItem
- getAvgPowerInjection
- getAvgPowerUsage
- canExport
- getInventoryName
- pullItem
- getStackInSlot
- listSources
- getCraftingCPUs
- getIdlePowerUsage
- getMaxStoredPower
- getInventorySize
- requestCrafting
- getItemDetail
- pullItemIntoSlot
- listMethods
- doc
- Open Peripherals Advanced Method Data
- 1. getStoredPower
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the stored power in the network.
- Arguments: getStoredPower()
- No Arguments
- 2. getAdvancedMethodsData
- Return Type: nil, nil, nil, nil, nil
- Description: Get a complete table of information about all available methods
- Arguments: getAdvancedMethodsData(method)
- 1. method
- Description:
- Type: openperipheral.adapter.types.SingleArgType@5f2b2306
- 3. pullItem
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- Arguments: pullItem(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory
- Type: openperipheral.adapter.types.BoundedType@5388f2e7
- 2. slot
- Description: The slot in the OTHER inventory that you're pulling from
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. maxAmount
- Description: The maximum amount of items you want to pull
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. intoSlot
- Description: The slot in the current inventory that you want to pull into
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. destroyStack
- Return Type: nil, nil
- Description: Destroy a stack
- Arguments: destroyStack(slotNumber)
- 1. slotNumber
- Description: The slot number
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 5. getCraftingCPUs
- Return Type: nil, nil, nil, nil, nil
- Description: Get a list of tables representing the available CPUs in the network.
- Arguments: getCraftingCPUs()
- No Arguments
- 6. requestCrafting
- Return Type: nil, nil
- Description: Requests the specified item to get crafted.
- Arguments: requestCrafting(fingerprint, qty, cpu)
- 1. fingerprint
- Description: Details of the item you want to craft. Can be found with .getStackInSlot on inventory and .getAvailableItems on AE network
- Type: openperipheral.integration.vanilla.ModuleVanilla$1@14481b
- 2. qty
- Description: The quantity of items you want to craft
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. cpu
- Description: The name of the CPU you want to use
- Type: openperipheral.adapter.types.SingleArgType@5f2b2306
- 7. listMethods
- Return Type: nil, nil, nil, nil, nil, nil
- Description: List all the methods available
- Arguments: listMethods(filterSource)
- 1. filterSource
- Description:
- Type: openperipheral.adapter.types.SingleArgType@5f2b2306
- 8. exportItem
- Return Type: nil, nil, nil, nil, nil
- Description: Exports the specified item into the target inventory.
- Arguments: exportItem(fingerprint, direction, maxAmount, intoSlot)
- 1. fingerprint
- Description: Details of the item you want to export (can be result of .getStackInSlot() or .getAvailableItems())
- Type: openperipheral.integration.vanilla.ModuleVanilla$1@14481b
- 2. direction
- Description: Location of target inventory
- Type: openperipheral.adapter.types.BoundedType@201b396f
- 3. maxAmount
- Description: The maximum amount of items you want to export
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. intoSlot
- Description: The slot in the other inventory that you want to export into
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 9. getInventorySize
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the size of this inventory
- Arguments: getInventorySize()
- No Arguments
- 10. getItemDetail
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Retrieves details about the specified item from the ME Network.
- Arguments: getItemDetail(item, proxy)
- 1. item
- Description: Details of the item you are looking for
- Type: openperipheral.integration.vanilla.ModuleVanilla$1@14481b
- 2. proxy
- Description: If false, method will compute whole table, instead of returning proxy
- Type: openperipheral.adapter.types.SingleArgType@2b28dd1
- 11. pullItemIntoSlot
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- Arguments: pullItemIntoSlot(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory
- Type: openperipheral.adapter.types.BoundedType@5388f2e7
- 2. slot
- Description: The slot in the OTHER inventory that you're pulling from
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. maxAmount
- Description: The maximum amount of items you want to pull
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. intoSlot
- Description: The slot in the current inventory that you want to pull into
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 12. pushItemIntoSlot
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
- Arguments: pushItemIntoSlot(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory
- Type: openperipheral.adapter.types.BoundedType@42ce0401
- 2. slot
- Description: The slot in the current inventory that you're pushing from
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. maxAmount
- Description: The maximum amount of items you want to push
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. intoSlot
- Description: The slot in the other inventory that you want to push into (ignored when target is pipe
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 13. listSources
- Return Type: nil, nil, nil, nil, nil
- Description: List all method sources
- Arguments: listSources()
- No Arguments
- 14. getStackInSlot
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get details of an item in a particular slot
- Arguments: getStackInSlot(slotNumber, proxy)
- 1. slotNumber
- Description: Slot number
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 2. proxy
- Description: If true, method will return proxy instead of computing whole table
- Type: openperipheral.adapter.types.SingleArgType@2b28dd1
- 15. getAllStacks
- Return Type: nil, nil, nil, nil, nil
- Description: Get a table with all the items of the chest
- Arguments: getAllStacks(proxy)
- 1. proxy
- Description: If false, method will compute whole table, instead of returning proxy
- Type: openperipheral.adapter.types.SingleArgType@2b28dd1
- 16. swapStacks
- Return Type: nil, nil
- Description: Swap two slots in the inventory
- Arguments: swapStacks(from, to, fromDirection, fromDirection)
- 1. from
- Description: The first slot
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 2. to
- Description: The other slot
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. fromDirection
- Description:
- Type: openperipheral.adapter.types.BoundedType@7663ade6
- 4. fromDirection
- Description:
- Type: openperipheral.adapter.types.BoundedType@4a34b3c9
- 17. getAvgPowerInjection
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the average power injection into the network
- Arguments: getAvgPowerInjection()
- No Arguments
- 18. getAvgPowerUsage
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the average power usage of the network.
- Arguments: getAvgPowerUsage()
- No Arguments
- 19. condenseItems
- Return Type: nil, nil
- Description: Condense and tidy the stacks in an inventory
- Arguments: condenseItems()
- No Arguments
- 20. doc
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Brief description of method
- Arguments: doc(method)
- 1. method
- Description:
- Type: openperipheral.adapter.types.SingleArgType@5f2b2306
- 21. getAvailableItems
- Return Type: nil, nil, nil, nil, nil
- Description: Get a list of the stored and craftable items in the network.
- Arguments: getAvailableItems(details)
- 1. details
- Description: Format of stored items details (defalt: none)
- Type: openperipheral.adapter.types.BoundedType@34cca4e4
- 22. getMaxStoredPower
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the maximum stored power in the network.
- Arguments: getMaxStoredPower()
- No Arguments
- 23. canExport
- Return Type: nil, nil, nil, nil, nil, nil, nil
- Description: Returns true when the interface can export to side.
- Arguments: canExport(direction)
- 1. direction
- Description: Location of target inventory
- Type: openperipheral.adapter.types.BoundedType@abd788
- 24. getIdlePowerUsage
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the idle power usage of the network.
- Arguments: getIdlePowerUsage()
- No Arguments
- 25. getInventoryName
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Get the name of this inventory
- Arguments: getInventoryName()
- No Arguments
- 26. pushItem
- Return Type: nil, nil, nil, nil, nil, nil
- Description: Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
- Arguments: pushItem(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory
- Type: openperipheral.adapter.types.BoundedType@42ce0401
- 2. slot
- Description: The slot in the current inventory that you're pushing from
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 3. maxAmount
- Description: The maximum amount of items you want to push
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 4. intoSlot
- Description: The slot in the other inventory that you want to push into (ignored when target is pipe
- Type: openperipheral.adapter.types.SingleArgType@2a145cc2
- 27. expandStack
- Return Type: nil, nil, nil, nil, nil
- Description: Get full stack information from id and/or damage
- Arguments: expandStack(stack)
- 1. stack
- Description:
- Type: openperipheral.adapter.types.NamedTupleType@6ede8692
- --------------------
- All actual documentation is written by the mod developer who made the peripheral, not me. I just displayed it - happy computercrafting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement