Advertisement
Guest User

appeng_me_tilecontroller

a guest
Jul 23rd, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.87 KB | None | 0 0
  1. METHODMAN: Practical display for in game documentation of computercraft + addons
  2.  
  3. Peripheral found
  4.     Side: bottom
  5.     Type: appeng_me_tilecontroller
  6.  
  7. appeng_me_tilecontroller method list:
  8.  
  9.     requestCrafting
  10.     isFuzzyPreformatted
  11.     extractItem
  12.     getActivationEnergy
  13.     getPreformattedItems
  14.     getMaxEnergyStored
  15.     getMJStored
  16.     getTotalItemTypes
  17.     isPreformatted
  18.     canHoldNewItem
  19.     getRemainingItemTypes
  20.     getPriority
  21.     getMaxMJStored
  22.     getMaxSafeEUInput
  23.     getMaxMJReceived
  24.     getJobList
  25.     getRemainingItemCount
  26.     getAvailableItems
  27.     getMinMJReceived
  28.     getAdvancedMethodsData
  29.     getStoredItemCount
  30.     getTotalBytes
  31.     getUnusedItemCount
  32.     getFreeBytes
  33.     listMethods
  34.     getStoredItemTypes
  35.     containsItemType
  36.     countOfItemType
  37.     getName
  38.     getUnusedBytes
  39.     getEnergyStored
  40.     isValid
  41.     insertItem
  42.  
  43. Open Peripherals Advanced Method Data
  44.  
  45. 1. getMaxSafeEUInput
  46.  
  47. Return Type: NUMBER
  48. Description: Get the maximum safe EU input
  49.  
  50.     Arguments: getMaxSafeEUInput()
  51.     No Arguments
  52.  
  53. 2. isFuzzyPreformatted
  54.  
  55. Return Type: BOOLEAN
  56. Description: Is fuzzy preformatted
  57.  
  58.     Arguments: isFuzzyPreformatted()
  59.     No Arguments
  60.  
  61. 3. insertItem
  62.  
  63. Return Type: NUMBER
  64. Description: Insert an item back into the system
  65.  
  66.     Arguments: insertItem(slot, amount, direction)
  67.  
  68.         1. slot
  69.         Description: The slot you wish to send
  70.         Type: NUMBER
  71.         2. amount
  72.         Description: The amount you want to send
  73.         Type: NUMBER
  74.         3. direction
  75.         Description: The direction of the chest relative to the wrapped peripheral
  76.         Type: STRING
  77.  
  78. 4. getMaxMJStored
  79.  
  80. Return Type: NUMBER
  81. Description: Get the max MJ stored
  82.  
  83.     Arguments: getMaxMJStored(direction)
  84.  
  85.         1. direction
  86.         Description: The side of the block that you're interested in
  87.         Type: STRING
  88.  
  89. 5. getUnusedItemCount
  90.  
  91. Return Type: NUMBER
  92. Description: Get the unused item count
  93.  
  94.     Arguments: getUnusedItemCount()
  95.     No Arguments
  96.  
  97. 6. canHoldNewItem
  98.  
  99. Return Type: NUMBER
  100. Description: Can this machine hold any new items?
  101.  
  102.     Arguments: canHoldNewItem()
  103.     No Arguments
  104.  
  105. 7. getStoredItemCount
  106.  
  107. Return Type: NUMBER
  108. Description: Get the amount of stored items
  109.  
  110.     Arguments: getStoredItemCount()
  111.     No Arguments
  112.  
  113. 8. isValid
  114.  
  115. Return Type: BOOLEAN
  116. Description: Is block valid
  117.  
  118.     Arguments: isValid()
  119.     No Arguments
  120.  
  121. 9. getEnergyStored
  122.  
  123. Return Type: NUMBER
  124. Description: Get the energy stored in the machine.
  125.  
  126.     Arguments: getEnergyStored(slot)
  127.  
  128.         1. slot
  129.         Description: The direction you are interested in. (north, south, east, west, up or down)
  130.         Type: STRING
  131.  
  132. 10. getMJStored
  133.  
  134. Return Type: NUMBER
  135. Description: Get the MJ stored for this block
  136.  
  137.     Arguments: getMJStored(direction)
  138.  
  139.         1. direction
  140.         Description: The side of the block that you're interested in
  141.         Type: STRING
  142.  
  143. 11. getStoredItemTypes
  144.  
  145. Return Type: NUMBER
  146. Description: Get the amount of stored item types
  147.  
  148.     Arguments: getStoredItemTypes()
  149.     No Arguments
  150.  
  151. 12. getMaxEnergyStored
  152.  
  153. Return Type: NUMBER
  154. Description: Get the max energy stored in the machine.
  155.  
  156.     Arguments: getMaxEnergyStored(slot)
  157.  
  158.         1. slot
  159.         Description: The direction you are interested in. (north, south, east, west, up or down)
  160.         Type: STRING
  161.  
  162. 13. getActivationEnergy
  163.  
  164. Return Type: NUMBER
  165. Description: Get the activation MJ for this block
  166.  
  167.     Arguments: getActivationEnergy(direction)
  168.  
  169.         1. direction
  170.         Description: The side of the block that you're interested in
  171.         Type: STRING
  172.  
  173. 14. getRemainingItemTypes
  174.  
  175. Return Type: NUMBER
  176. Description: Get the remaining item type count
  177.  
  178.     Arguments: getRemainingItemTypes()
  179.     No Arguments
  180.  
  181. 15. getRemainingItemCount
  182.  
  183. Return Type: NUMBER
  184. Description: Get the remaining item count
  185.  
  186.     Arguments: getRemainingItemCount()
  187.     No Arguments
  188.  
  189. 16. getFreeBytes
  190.  
  191. Return Type: NUMBER
  192. Description: Get the amount of free bytes
  193.  
  194.     Arguments: getFreeBytes()
  195.     No Arguments
  196.  
  197. 17. getName
  198.  
  199. Return Type: STRING
  200. Description: Get the name of this cell
  201.  
  202.     Arguments: getName()
  203.     No Arguments
  204.  
  205. 18. getTotalBytes
  206.  
  207. Return Type: NUMBER
  208. Description: Get the total bytes
  209.  
  210.     Arguments: getTotalBytes()
  211.     No Arguments
  212.  
  213. 19. getMinMJReceived
  214.  
  215. Return Type: NUMBER
  216. Description: Get the min MJ received
  217.  
  218.     Arguments: getMinMJReceived(direction)
  219.  
  220.         1. direction
  221.         Description: The side of the block that you're interested in
  222.         Type: STRING
  223.  
  224. 20. listMethods
  225.  
  226. Return Type: STRING
  227. Description: List all the methods available
  228.  
  229.     Arguments: listMethods()
  230.     No Arguments
  231.  
  232. 21. getAdvancedMethodsData
  233.  
  234. Return Type: TABLE
  235. Description: Get a complete table of information about all available methods
  236.  
  237.     Arguments: getAdvancedMethodsData()
  238.     No Arguments
  239.  
  240. 22. getAvailableItems
  241.  
  242. Return Type: TABLE
  243. Description: Get a list of the available items
  244.  
  245.     Arguments: getAvailableItems()
  246.     No Arguments
  247.  
  248. 23. countOfItemType
  249.  
  250. Return Type: NUMBER
  251. Description: Count the amount of a certain item type
  252.  
  253.     Arguments: countOfItemType(itemId, dmgValue)
  254.  
  255.         1. itemId
  256.         Description: The item id
  257.         Type: NUMBER
  258.         2. dmgValue
  259.         Description: The item dmg value
  260.         Type: NUMBER
  261.  
  262. 24. getJobList
  263.  
  264. Return Type: TABLE
  265. Description: Get the current job list
  266.  
  267.     Arguments: getJobList()
  268.     No Arguments
  269.  
  270. 25. containsItemType
  271.  
  272. Return Type: BOOLEAN
  273. Description: Check to see if the network contains an item type
  274.  
  275.     Arguments: containsItemType(itemId, dmgValue)
  276.  
  277.         1. itemId
  278.         Description: The item id
  279.         Type: NUMBER
  280.         2. dmgValue
  281.         Description: The item dmg value
  282.         Type: NUMBER
  283.  
  284. 26. getPriority
  285.  
  286. Return Type: NUMBER
  287. Description: Get the priority of this machine
  288.  
  289.     Arguments: getPriority()
  290.     No Arguments
  291.  
  292. 27. isPreformatted
  293.  
  294. Return Type: BOOLEAN
  295. Description: Is preformatted
  296.  
  297.     Arguments: isPreformatted()
  298.     No Arguments
  299.  
  300. 28. getTotalItemTypes
  301.  
  302. Return Type: NUMBER
  303. Description: Get the total total item types stored
  304.  
  305.     Arguments: getTotalItemTypes()
  306.     No Arguments
  307.  
  308. 29. getPreformattedItems
  309.  
  310. Return Type: TABLE
  311. Description: Get a list of the preformatted items
  312.  
  313.     Arguments: getPreformattedItems()
  314.     No Arguments
  315.  
  316. 30. getMaxMJReceived
  317.  
  318. Return Type: NUMBER
  319. Description: Get the max MJ received
  320.  
  321.     Arguments: getMaxMJReceived(direction)
  322.  
  323.         1. direction
  324.         Description: The side of the block that you're interested in
  325.         Type: STRING
  326.  
  327. 31. requestCrafting
  328.  
  329. Return Type: VOID
  330. Description: Request crafting of a specific item
  331.  
  332.     Arguments: requestCrafting(stack)
  333.  
  334.         1. stack
  335.         Description: A table representing the item stack
  336.         Type: TABLE
  337.  
  338. 32. getUnusedBytes
  339.  
  340. Return Type: NUMBER
  341. Description: Get the unused bytes
  342.  
  343.     Arguments: getUnusedBytes()
  344.     No Arguments
  345.  
  346. 33. extractItem
  347.  
  348. Return Type: NUMBER
  349. Description: Extract an item
  350.  
  351.     Arguments: extractItem(stack, direction)
  352.  
  353.         1. stack
  354.         Description: A table representing the item stack
  355.         Type: TABLE
  356.         2. direction
  357.         Description: The direction of the chest relative to the wrapped peripheral
  358.         Type: STRING
  359.  
  360.  
  361. --------------------
  362.  
  363. 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