Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- me_controller e435ee3b-311a-4a84-8e21-f9696673253c
- compareStacks function(slotA:number, slotB:number):boolean -- Compare the two item stacks in the specified slots for equality.
- condenseItems function() -- Condense and tidy the stacks in an inventory
- destroyStack function(slotNumber:number) -- Destroy a stack
- doc function(method:string):string -- Brief description of method
- expandStack function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
- getAdvancedMethodsData function(method:string?):table -- Get a complete table of information about all available methods
- getAllStacks function():table -- Get a list of descriptions for all item stacks in this inventory.
- getAvailableItems function(details:string{NONE,PROXY,ALL}?):table -- Get a list of the stored and craftable items in the network.
- getAvgPowerInjection function():number -- Get the average power injection into the network.
- getAvgPowerUsage function():number -- Get the average power usage of the network.
- getCpus function():table -- Get a list of tables representing the available CPUs in the network.
- getCraftables function([filter:table]):table -- Get a list of known item recipes. These can be used to issue crafting requests.
- getCraftingCPUs function():table -- Get a list of tables representing the available CPUs in the network.
- getEnergyStored function([direction:number=6]):number -- Returns the amount of stored energy for the given side.
- getFluidsInNetwork function():table -- Get a list of the stored fluids in the network.
- getGasesInNetwork function():table -- Get a list of the stored gases in the network.
- getIdlePowerUsage function():number -- Get the idle power usage of the network.
- getInventoryName function():string -- Get the name of this inventory.
- getInventorySize function():number -- Get the number of slots in this inventory.
- getItemDetail function(item:{id:string,dmg:number?,nbt_hash:string?},proxy:boolean?):object -- Retrieves details about the specified item from the ME Network.
- getItemsInNetwork function([filter:table]):table -- Get a list of the stored items in the network.
- getMaxEnergyStored function([direction:number=6]):number -- Returns the maximum amount of stored energy for the given side.
- getMaxStoredPower function():number -- Get the maximum stored power in the network.
- getSlotMaxStackSize function(slot:number):number -- Get the maximum stack size of the item stack in the specified slot.
- getSlotStackSize function(slot:number):number -- Get the stack size of the item stack in the specified slot.
- getStackInSlot function(slot:number):table -- Get a description of the item stack in the specified slot.
- getStoredPower function():number -- Get the stored power in the network.
- isEnergyProvider function():number -- Returns whether this component can provide energy.
- isEnergyReceiver function():number -- Returns whether this component can receive energy.
- listMethods function(filterSource:string?):string -- List all the methods available
- listSources function():table -- List all method sources
- 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
- 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
- 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 pipe or slot on the other inventory. Returns the amount of items moved
- 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 pipe or slot on the other inventory. Returns the amount of items moved
- store function(filter:table, dbAddress:string[, startSlot:number[, count:number]]): Boolean -- Store items in the network matching the specified filter in the database with the specified address.
- 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
- transferStack function(slotA:number, slotB:number[, count:number=math.huge]):boolean -- Move up to the specified number of items from the first specified slot to the second.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement