Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. >> Метод: slot
  2. Документация: -1
  3. >> Метод: getInventoryName
  4. Документация: function():string -- Get the name of this inventory
  5. >> Метод: doc
  6. Документация: function(method:string):string -- Brief description of method
  7. >> Метод: pushItemIntoSlot
  8. Документация: 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
  9. >> Метод: listMethods
  10. Документация: function(filterSource:string?):string -- List all the methods available
  11. >> Метод: pullItem
  12. Документация: 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
  13. >> Метод: listSources
  14. Документация: function():table -- List all method sources
  15. >> Метод: getInventorySize
  16. Документация: function():number -- Get the size of this inventory
  17. >> Метод: destroyStack
  18. Документация: function(slotNumber:number) -- Destroy a stack
  19. >> Метод: condenseItems
  20. Документация: function() -- Condense and tidy the stacks in an inventory
  21. >> Метод: swapStacks
  22. Документация: 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
  23. >> Метод: pushItem
  24. Документация: 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
  25. >> Метод: type
  26. Документация: container_dire
  27. >> Метод: getAdvancedMethodsData
  28. Документация: function(method:string?):table -- Get a complete table of information about all available methods
  29. >> Метод: expandStack
  30. Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
  31. >> Метод: getStackInSlot
  32. Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
  33. >> Метод: getAllStacks
  34. Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest
  35. >> Метод: pullItemIntoSlot
  36. Документация: 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
  37. >> Метод: address
  38. Документация: ca898023-631e-4c5c-9c22-645ad48b3d63
  39.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement