SHOW:
|
|
- or go back to the newest paste.
1 | - | >> Метод: condenseItems |
1 | + | >> Метод: condenseItems |
2 | - | Документация: function() -- Condense and tidy the stacks in an inventory |
2 | + | Документация: function() -- Condense and tidy the stacks in an inventory |
3 | - | >> Метод: slot |
3 | + | >> Метод: slot |
4 | - | Документация: -1 |
4 | + | Документация: -1 |
5 | - | >> Метод: listMethods |
5 | + | >> Метод: listMethods |
6 | - | Документация: function(filterSource:string?):string -- List all the methods available |
6 | + | Документация: function(filterSource:string?):string -- List all the methods available |
7 | - | >> Метод: pushItemIntoSlot |
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 |
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 | - | >> Метод: doc |
9 | + | >> Метод: doc |
10 | - | Документация: function(method:string):string -- Brief description of method |
10 | + | Документация: function(method:string):string -- Brief description of method |
11 | - | >> Метод: address |
11 | + | >> Метод: address |
12 | - | Документация: 76fb7d73-1d48-4eea-80fe-307400fe5300 |
12 | + | Документация: 76fb7d73-1d48-4eea-80fe-307400fe5300 |
13 | - | >> Метод: swapStacks |
13 | + | >> Метод: swapStacks |
14 | - | Документация: 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 |
14 | + | Документация: 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 |
15 | - | >> Метод: listSources |
15 | + | >> Метод: listSources |
16 | - | Документация: function():table -- List all method sources |
16 | + | Документация: function():table -- List all method sources |
17 | - | >> Метод: getInventoryName |
17 | + | >> Метод: getInventoryName |
18 | - | Документация: function():string -- Get the name of this inventory |
18 | + | Документация: function():string -- Get the name of this inventory |
19 | - | >> Метод: getInventorySize |
19 | + | >> Метод: getInventorySize |
20 | - | Документация: function():number -- Get the size of this inventory |
20 | + | Документация: function():number -- Get the size of this inventory |
21 | - | >> Метод: pushItem |
21 | + | >> Метод: pushItem |
22 | - | Документация: 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 |
22 | + | Документация: 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 |
23 | - | >> Метод: getAdvancedMethodsData |
23 | + | >> Метод: getAdvancedMethodsData |
24 | - | Документация: function(method:string?):table -- Get a complete table of information about all available methods |
24 | + | Документация: function(method:string?):table -- Get a complete table of information about all available methods |
25 | - | >> Метод: getStackInSlot |
25 | + | >> Метод: getStackInSlot |
26 | - | Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot |
26 | + | Документация: function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot |
27 | - | >> Метод: pullItem |
27 | + | >> Метод: pullItem |
28 | - | Документация: 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 |
28 | + | Документация: 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 |
29 | - | >> Метод: pullItemIntoSlot |
29 | + | >> Метод: pullItemIntoSlot |
30 | - | Документация: 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 |
30 | + | Документация: 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 |
31 | - | >> Метод: destroyStack |
31 | + | >> Метод: destroyStack |
32 | - | Документация: function(slotNumber:number) -- Destroy a stack |
32 | + | Документация: function(slotNumber:number) -- Destroy a stack |
33 | - | >> Метод: getAllStacks |
33 | + | >> Метод: getAllStacks |
34 | - | Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest |
34 | + | Документация: function(proxy:boolean?):table -- Get a table with all the items of the chest |
35 | - | >> Метод: type |
35 | + | >> Метод: type |
36 | - | Документация: tileentitytradeshop |
36 | + | Документация: tileentitytradeshop |
37 | - | >> Метод: expandStack |
37 | + | >> Метод: expandStack |
38 | Документация: function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage |