zed_com

Методы Разных компонентов

Mar 27th, 2018
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.67 KB | None | 0 0
  1. ==========================================rcirontankvalvetile[Резервуар Railcraft]==========================================
  2. >> Метод: address
  3. Документация: 9c9d2c29-8123-4f34-aedb-2f693c3a0fbd
  4. >> Метод: doc
  5. Документация: function(method:string):string -- Brief description of method
  6. >> Метод: getTankInfo
  7. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?):table -- A table of tanks will be returned, each with a table of information
  8. >> Метод: listMethods
  9. Документация: function(filterSource:string?):string -- List all the methods available
  10. >> Метод: getAdvancedMethodsData
  11. Документация: function(method:string?):table -- Get a complete table of information about all available methods
  12. >> Метод: type
  13. Документация: rcirontankvalvetile
  14. >> Метод: listSources
  15. Документация: function():table -- List all method sources
  16. >> Метод: slot
  17. Документация: -1
  18. ==========================================rcirontankvalvetile[Резервуар Railcraft]==========================================
  19.  
  20. ==========================================reactor_chamber[Реактор IC2]==========================================
  21. >> Метод: producesEnergy
  22. Документация: function():boolean -- Get whether the reactor is active and supposed to produce energy.
  23. >> Метод: doc
  24. Документация: function(method:string):string -- Brief description of method
  25. >> Метод: type
  26. Документация: reactor_chamber
  27. >> Метод: isActive
  28. Документация: function():boolean -- Returns true if the reactor is active
  29. >> Метод: getAllStacks
  30. Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest
  31. >> Метод: getTankInfo
  32. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?):table -- A table of tanks will be returned, each with a table of information
  33. >> Метод: isValid
  34. Документация: function():boolean -- Check if reactor is in valid state
  35. >> Метод: listSources
  36. Документация: function():table -- List all method sources
  37. >> Метод: swapStacks
  38. Документация: function(from:number,to:number,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?) -- Swap two slots in the inventory
  39. >> Метод: pushItemIntoSlot
  40. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  41. >> Метод: destroyStack
  42. Документация: function(slotNumber:number) -- Destroy a stack
  43. >> Метод: pushItem
  44. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  45. >> Метод: pullItem
  46. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  47. >> Метод: getInventoryName
  48. Документация: function():string -- Get the name of this inventory
  49. >> Метод: slot
  50. Документация: -1
  51. >> Метод: getHeat
  52. Документация: function():number -- Get the reactor's heat.
  53. >> Метод: pullItemIntoSlot
  54. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  55. >> Метод: getMaxHeat
  56. Документация: function():number -- Get the reactor's maximum heat before exploding.
  57. >> Метод: listMethods
  58. Документация: function(filterSource:string?):string -- List all the methods available
  59. >> Метод: address
  60. Документация: 159a24fa-6750-497f-9b32-cd6f97d38f66
  61. >> Метод: getEUOutput
  62. Документация: function():number -- Get the EU output of this reactor
  63. >> Метод: getReactorEUOutput
  64. Документация: function():number -- Get the reactor's base EU/t value.
  65. >> Метод: getStackInSlot
  66. Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
  67. >> Метод: condenseItems
  68. Документация: function() -- Condense and tidy the stacks in an inventory
  69. >> Метод: getAdvancedMethodsData
  70. Документация: function(method:string?):table -- Get a complete table of information about all available methods
  71. >> Метод: getReactorEnergyOutput
  72. Документация: function():number -- Get the reactor's energy output. Not multiplied with the base EU/t value.
  73. >> Метод: getInventorySize
  74. Документация: function():number -- Get the size of this inventory
  75. >> Метод: expandStack
  76. Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
  77. ==========================================reactor_chamber[Реактор IC2]==========================================
  78.  
  79. ==========================================chest[Сундук Minecraft]==========================================
  80. >> Метод: doc
  81. Документация: function(method:string):string -- Brief description of method
  82. >> Метод: type
  83. Документация: chest
  84. >> Метод: listSources
  85. Документация: function():table -- List all method sources
  86. >> Метод: swapStacks
  87. Документация: function(from:number,to:number,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?,fromDirection:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}?) -- Swap two slots in the inventory
  88. >> Метод: destroyStack
  89. Документация: function(slotNumber:number) -- Destroy a stack
  90. >> Метод: getInventoryName
  91. Документация: function():string -- Get the name of this inventory
  92. >> Метод: slot
  93. Документация: -1
  94. >> Метод: getStackInSlot
  95. Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
  96. >> Метод: pullItemIntoSlot
  97. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  98. >> Метод: getAllStacks
  99. Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest
  100. >> Метод: listMethods
  101. Документация: function(filterSource:string?):string -- List all the methods available
  102. >> Метод: pushItem
  103. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  104. >> Метод: pullItem
  105. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
  106. >> Метод: address
  107. Документация: 5ec9c646-79e3-4316-a631-68db771f729f
  108. >> Метод: getInventorySize
  109. Документация: function():number -- Get the size of this inventory
  110. >> Метод: condenseItems
  111. Документация: function() -- Condense and tidy the stacks in an inventory
  112. >> Метод: getAdvancedMethodsData
  113. Документация: function(method:string?):table -- Get a complete table of information about all available methods
  114. >> Метод: pushItemIntoSlot
  115. Документация: function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},slot:number,maxAmount:number?,intoSlot:number?):number -- Push an item from the current inventory into pipe or slot on the other inventory. Returns the amount of items moved
  116. >> Метод: expandStack
  117. Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
  118. ==========================================chest[Сундук Minecraft]==========================================
  119.  
  120. ==========================================transposer[Трансфер OpenComputers]==========================================
  121. >> Метод: compareStackToDatabase
  122. Документация: function(side:number, slot:number, dbAddress:string, dbSlot:number[, checkNBT:boolean=false]):boolean -- Compare an item in the specified slot in the inventory on the specified side with one in the database with the specified address.
  123. >> Метод: getTankLevel
  124. Документация: function(side:number):number -- Get the amount of fluid in the tank on the specified side.
  125. >> Метод: areStacksEquivalent
  126. Документация: function(side:number, slotA:number, slotB:number):boolean -- Get whether the items in the two specified slots of the inventory on the specified side of the device are equivalent (have shared OreDictionary IDs).
  127. >> Метод: slot
  128. Документация: -1
  129. >> Метод: store
  130. Документация: function(side:number, slot:number, dbAddress:string, dbSlot:number):boolean -- Store an item stack description in the specified slot of the database with the specified address.
  131. >> Метод: address
  132. Документация: 8086bcdc-05c8-4ef3-82c8-f9ff0d7bc7c7
  133. >> Метод: getInventorySize
  134. Документация: function(side:number):number -- Get the number of slots in the inventory on the specified side of the device.
  135. >> Метод: compareStacks
  136. Документация: function(side:number, slotA:number, slotB:number[, checkNBT:boolean=false]):boolean -- Get whether the items in the two specified slots of the inventory on the specified side of the device are of the same type.
  137. >> Метод: transferFluid
  138. Документация: function(sourceSide:number, sinkSide:number[, count:number]):number -- Transfer some items between two inventories.
  139. >> Метод: transferItem
  140. Документация: function(sourceSide:number, sinkSide:number[, count:number[, sourceSlot:number[, sinkSlot:number]]]):number -- Transfer some items between two inventories.
  141. >> Метод: getFluidInTank
  142. Документация: function(side:number):table -- Get a description of the fluid in the the tank on the specified side.
  143. >> Метод: getSlotMaxStackSize
  144. Документация: function(side:number, slot:number):number -- Get the maximum number of items in the specified slot of the inventory on the specified side of the device.
  145. >> Метод: getTankCapacity
  146. Документация: function(side:number):number -- Get the capacity of the tank on the specified side.
  147. >> Метод: type
  148. Документация: transposer
  149. >> Метод: getSlotStackSize
  150. Документация: function(side:number, slot:number):number -- Get number of items in the specified slot of the inventory on the specified side of the device.
  151. >> Метод: getStackInSlot
  152. Документация: function(side:number, slot:number):table -- Get a description of the stack in the inventory on the specified side of the device.
  153. ==========================================transposer[Трансфер OpenComputers]==========================================
Add Comment
Please, Sign In to add comment