Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- isEnergyProvider:
- function():number -- Returns whether this component can provide energy.
- 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
- expandStack:
- function(stack:{id:string,dmg:number?,qty:number?,...}):table -- Get full stack information from id and/or damage
- listMethods:
- function(filterSource:string?):string -- List all the methods available
- listSources:
- function():table -- List all method sources
- getOfferedEnergy:
- function
- getInventoryName:
- function():string -- Get the name of this inventory
- isEnergyReceiver:
- function():number -- Returns whether this component can receive energy.
- getEnergy:
- function
- getMaxEnergyStored:
- function():number; Returns the maximum amount of stored energy.
- doc:
- function(method:string):string -- Brief description of method
- getStackInSlot:
- function(slotNumber:number,proxy:boolean?):object -- Get details of an item in a particular slot
- getGasNeeded:
- function
- 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
- getEUSinkTier:
- function():number -- Determine the tier of this energy sink (1 = LV, 2 = MV, 3 = HV, 4 = EV)
- getEUStored:
- function():number -- Get how much EU is stored in this block
- destroyStack:
- function(slotNumber:number) -- Destroy a stack
- getEUOutputPerTick:
- function():number -- Get the EU output per tick
- getOutput:
- function
- getEnergyStored:
- function():number; Returns the total amount of stored energy.
- getStored:
- function
- 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
- type:
- gas_burning_generator
- getEUSourceTier:
- function():number -- Determine the tier of this energy source (1 = LV, 2 = MV, 3 = HV, 4 = EV)
- 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
- getDemandedEnergy:
- function():number -- Get the maximum safe EU input
- getMaxEnergy:
- function
- getGas:
- function
- getEUCapacity:
- function():number -- Get the EU capacity of this block
- condenseItems:
- function() -- Condense and tidy the stacks in an inventory
- getInventorySize:
- function():number -- Get the size of this inventory
- slot:
- -1
- 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
- getCapacity:
- function
- getEnergyNeeded:
- function
- getSinkTier:
- function
- address:
- 9b4712c5-561d-492a-81e0-87ce44b9cc33
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement