Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- condenseItems
- function() -- Condense and tidy the stacks in an inventory
- expandStack
- function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
- getStoredPower
- function():number -- Get the stored power in the network.
- exportItem
- function(fingerprint:{id:string,dmg:number?,nbt_hash:string?},direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN},maxAmount:number?,intoSlot:number?):table -- Exports the specified item into the target inventory.
- swapStacks
- 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
- destroyStack
- function(slotNumber:number) -- Destroy a stack
- getAvailableItems
- function(details:string{NONE,PROXY,ALL}?):table -- Get a list of the stored and craftable items in the network.
- pushItemIntoSlot
- 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 slot on the other one. Returns the amount of items moved
- getAdvancedMethodsData
- function(method:string?):table -- Get a complete table of information about all available methods
- getAllStacks
- function(proxy:boolean?):table -- Get a table with all the items of the chest
- pushItem
- 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 slot on the other one. Returns the amount of items moved
- getAvgPowerInjection
- function():number -- Get the average power injection into the network
- getAvgPowerUsage
- function():number -- Get the average power usage of the network.
- canExport
- function(direction:string{DOWN,UP,NORTH,SOUTH,WEST,EAST,UNKNOWN}):boolean -- Returns true when the interface can export to side.
- getInventoryName
- function():string -- Get the name of this inventory
- pullItem
- 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
- getStackInSlot
- function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
- listSources
- function():table -- List all method sources
- getCraftingCPUs
- function():table -- Get a list of tables representing the available CPUs in the network.
- getIdlePowerUsage
- function():number -- Get the idle power usage of the network.
- getMaxStoredPower
- function():number -- Get the maximum stored power in the network.
- getInventorySize
- function():number -- Get the size of this inventory
- requestCrafting
- function(fingerprint:{id:string,dmg:number?,nbt_hash:string?},qty:number?,cpu:string?) -- Requests the specified item to get crafted.
- getItemDetail
- function(item:{id:string,dmg:number?,nbt_hash:string?},proxy:boolean?):object -- Retrieves details about the specified item from the ME Network.
- pullItemIntoSlot
- 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
- listMethods
- function(filterSource:string?):string -- List all the methods available
- doc
- function(method:string):string -- Brief description of method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement