Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getActivationEnergy:
- returnTypes:
- 1: NUMBER
- description: Get the activation MJ for this block
- args:
- 1:
- type: STRING
- description: The side of the block that you're interested in
- name: direction
- ==========================================================================================
- listMethods:
- returnTypes:
- 1: STRING
- description: List all the methods available
- args:
- ==========================================================================================
- destroyStack:
- returnTypes:
- 1: VOID
- description: Destroy a stack
- args:
- 1:
- type: NUMBER
- description: The slot number, from 1 to the max amount of slots
- name: slotNumber
- ==========================================================================================
- getMJStored:
- returnTypes:
- 1: NUMBER
- description: Get the MJ stored for this block
- args:
- 1:
- type: STRING
- description: The side of the block that you're interested in
- name: direction
- ==========================================================================================
- getEnergyStored:
- returnTypes:
- 1: NUMBER
- description: Get the energy stored in the machine.
- args:
- 1:
- type: STRING
- description: The direction you are interested in. (north, south, east, west, up or down)
- name: slot
- ==========================================================================================
- pullItemIntoSlot:
- returnTypes:
- 1: NUMBER
- description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- args:
- 1:
- type: STRING
- description: The direction of the other inventory. (north, south, east, west, up or down)
- name: direction
- 2:
- type: NUMBER
- description: The slot in the OTHER inventory that you're pulling from
- name: slot
- 3:
- optional: true
- description: The maximum amount of items you want to pull
- type: NUMBER
- name: maxAmount
- 4:
- optional: true
- description: The slot in the current inventory that you want to pull into
- type: NUMBER
- name: intoSlot
- ==========================================================================================
- getMaxMJStored:
- returnTypes:
- 1: NUMBER
- description: Get the max MJ stored
- args:
- 1:
- type: STRING
- description: The side of the block that you're interested in
- name: direction
- ==========================================================================================
- condenseItems:
- returnTypes:
- 1: VOID
- description: Condense and tidy the stacks in an inventory
- args:
- ==========================================================================================
- getInventorySize:
- returnTypes:
- 1: NUMBER
- description: Get the size of this inventory
- args:
- ==========================================================================================
- getAllStacks:
- returnTypes:
- 1: TABLE
- description: Get a table with all the items of the chest
- args:
- ==========================================================================================
- getInventoryName:
- returnTypes:
- 1: STRING
- description: Get the name of this inventory
- args:
- ==========================================================================================
- pushItemIntoSlot:
- returnTypes:
- 1: NUMBER
- description: Push an item from the current inventory into slot on the other one. Returns the amount of items moved
- args:
- 1:
- type: STRING
- description: The direction of the other inventory. (north, south, east, west, up or down)
- name: direction
- 2:
- type: NUMBER
- description: The slot in the current inventory that you're pushing from
- name: slot
- 3:
- optional: true
- description: The maximum amount of items you want to push
- type: NUMBER
- name: maxAmount
- 4:
- optional: true
- description: The slot in the other inventory that you want to push into
- type: NUMBER
- name: intoSlot
- ==========================================================================================
- pushItem:
- returnTypes:
- 1: NUMBER
- description: Push an item from the current inventory into slot on the other one. Returns the amount of items moved
- args:
- 1:
- type: STRING
- description: The direction of the other inventory. (north, south, east, west, up or down)
- name: direction
- 2:
- type: NUMBER
- description: The slot in the current inventory that you're pushing from
- name: slot
- 3:
- optional: true
- description: The maximum amount of items you want to push
- type: NUMBER
- name: maxAmount
- 4:
- optional: true
- description: The slot in the other inventory that you want to push into
- type: NUMBER
- name: intoSlot
- ==========================================================================================
- getMinMJReceived:
- returnTypes:
- 1: NUMBER
- description: Get the min MJ received
- args:
- 1:
- type: STRING
- description: The side of the block that you're interested in
- name: direction
- ==========================================================================================
- getStackInSlot:
- returnTypes:
- 1: TABLE
- description: Get details of an item in a particular slot
- args:
- 1:
- type: NUMBER
- description: The slot number, from 1 to the max amount of slots
- name: slotNumber
- ==========================================================================================
- getAdvancedMethodsData:
- returnTypes:
- 1: TABLE
- description: Get a complete table of information about all available methods
- args:
- ==========================================================================================
- getMaxEnergyStored:
- returnTypes:
- 1: NUMBER
- description: Get the max energy stored in the machine.
- args:
- 1:
- type: STRING
- description: The direction you are interested in. (north, south, east, west, up or down)
- name: slot
- ==========================================================================================
- swapStacks:
- returnTypes:
- description: Swap two slots in the inventory
- args:
- 1:
- type: NUMBER
- description: The first slot
- name: from
- 2:
- type: NUMBER
- description: The other slot
- name: to
- 3:
- optional: true
- description:
- type: STRING
- name: fromDirection
- 4:
- optional: true
- description:
- type: STRING
- name: fromDirection
- ==========================================================================================
- pullItem:
- returnTypes:
- 1: NUMBER
- description: Pull an item from a slot in another inventory into a slot in this one. Returns the amount of items moved
- args:
- 1:
- type: STRING
- description: The direction of the other inventory. (north, south, east, west, up or down)
- name: direction
- 2:
- type: NUMBER
- description: The slot in the OTHER inventory that you're pulling from
- name: slot
- 3:
- optional: true
- description: The maximum amount of items you want to pull
- type: NUMBER
- name: maxAmount
- 4:
- optional: true
- description: The slot in the current inventory that you want to pull into
- type: NUMBER
- name: intoSlot
- ==========================================================================================
- getMaxMJReceived:
- returnTypes:
- 1: NUMBER
- description: Get the max MJ received
- args:
- 1:
- type: STRING
- description: The side of the block that you're interested in
- name: direction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement