Advertisement
casillero

Untitled

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