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: back
- Type: extrautils_filing_cabinet
- extrautils_filing_cabinet method list:
- condenseItems
- destroyStack
- getAdvancedMethodsData
- getAllStacks
- getInventoryName
- getInventorySize
- getStackInSlot
- listMethods
- pullItem
- pullItemIntoSlot
- pushItem
- pushItemIntoSlot
- swapStacks
- Open Peripherals Advanced Method Data
- 1. getAllStacks
- Return Type: TABLE
- Description: Get a table with all the items of the chest
- Arguments: getAllStacks()
- No Arguments
- 2. getStackInSlot
- Return Type: TABLE
- Description: Get details of an item in a particular slot
- Arguments: getStackInSlot(slotNumber)
- 1. slotNumber
- Description: The slot number, from 1 to the max amount of slots
- Type: NUMBER
- 3. getInventorySize
- Return Type: NUMBER
- Description: Get the size of this inventory
- Arguments: getInventorySize()
- No Arguments
- 4. pullItemIntoSlot
- Return Type: NUMBER
- 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. (north, south, east, west, up or down)
- Type: STRING
- 2. slot
- Description: The slot in the OTHER inventory that you're pulling from
- Type: NUMBER
- 3. maxAmount
- Description: The maximum amount of items you want to pull
- Type: NUMBER
- 4. intoSlot
- Description: The slot in the current inventory that you want to pull into
- Type: NUMBER
- 5. swapStacks
- Return Type:
- Description: Swap two slots in the inventory
- Arguments: swapStacks(from, to, fromDirection, fromDirection)
- 1. from
- Description: The first slot
- Type: NUMBER
- 2. to
- Description: The other slot
- Type: NUMBER
- 3. fromDirection
- Description:
- Type: STRING
- 4. fromDirection
- Description:
- Type: STRING
- 6. getAdvancedMethodsData
- Return Type: TABLE
- Description: Get a complete table of information about all available methods
- Arguments: getAdvancedMethodsData()
- No Arguments
- 7. condenseItems
- Return Type: VOID
- Description: Condense and tidy the stacks in an inventory
- Arguments: condenseItems()
- No Arguments
- 8. listMethods
- Return Type: STRING
- Description: List all the methods available
- Arguments: listMethods()
- No Arguments
- 9. getInventoryName
- Return Type: STRING
- Description: Get the name of this inventory
- Arguments: getInventoryName()
- No Arguments
- 10. destroyStack
- Return Type: VOID
- Description: Destroy a stack
- Arguments: destroyStack(slotNumber)
- 1. slotNumber
- Description: The slot number, from 1 to the max amount of slots
- Type: NUMBER
- 11. pullItem
- Return Type: NUMBER
- 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. (north, south, east, west, up or down)
- Type: STRING
- 2. slot
- Description: The slot in the OTHER inventory that you're pulling from
- Type: NUMBER
- 3. maxAmount
- Description: The maximum amount of items you want to pull
- Type: NUMBER
- 4. intoSlot
- Description: The slot in the current inventory that you want to pull into
- Type: NUMBER
- 12. pushItem
- Return Type: NUMBER
- Description: Push an item from the current inventory into slot on the other one. Returns the amount of items moved
- Arguments: pushItem(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory. (north, south, east, west, up or down)
- Type: STRING
- 2. slot
- Description: The slot in the current inventory that you're pushing from
- Type: NUMBER
- 3. maxAmount
- Description: The maximum amount of items you want to push
- Type: NUMBER
- 4. intoSlot
- Description: The slot in the other inventory that you want to push into
- Type: NUMBER
- 13. pushItemIntoSlot
- Return Type: NUMBER
- Description: Push an item from the current inventory into slot on the other one. Returns the amount of items moved
- Arguments: pushItemIntoSlot(direction, slot, maxAmount, intoSlot)
- 1. direction
- Description: The direction of the other inventory. (north, south, east, west, up or down)
- Type: STRING
- 2. slot
- Description: The slot in the current inventory that you're pushing from
- Type: NUMBER
- 3. maxAmount
- Description: The maximum amount of items you want to push
- Type: NUMBER
- 4. intoSlot
- Description: The slot in the other inventory that you want to push into
- Type: NUMBER
- --------------------
- 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