Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listMethods()
- returnTypes
- 1
- String
- description
- List all the methods available
- args
- none
- destroyStack() -- .destroyStack(1)
- returnTypes
- 1
- VOID
- description
- Destroy a stack
- args
- 1
- name
- slotNumber
- optional
- false
- type
- NUMBER
- description
- The slot number, from 1 to the max amount of slots
- nullable
- false
- vararg
- false
- pullItemIntoSlot() -- .pullItemIntoSlot("north",1,64,1)
- 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
- name
- direction
- optional
- false
- type
- String
- desctiption
- The direction of the other invetory. (north, east, south, west, up, down)
- nullable
- false
- vararg
- false
- 2
- name
- slot
- optional
- false
- type
- NUMBER
- desctiption
- The slot in the OTHER invetory you are pulling from.
- nullable
- false
- vararg
- false
- 3
- name
- maxamount
- optional
- true
- type
- Number
- desctiption
- The Maximum amount of items you want to pull
- nullable
- true
- vararg
- false
- 4
- name
- intoSlot
- optional
- true
- type
- NUMBER
- desctiption
- The slot in the current inventory that you want to pull into
- nullable
- true
- vararg
- false
- getOwnerName() -- .getOwnerName()
- returnTypes
- 1
- STRING
- description
- Gets the owner of the machine.
- arg
- none
- condenseItems() -- .condenseItems()
- returnTypes
- 1
- Void
- description
- Condense and tidy stacks in the inventory
- args
- none
- setAccess() -- .setAccess("PUBLIC")
- returnTypes
- 1
- BOOLEAN
- description
- Sets the AccessMode of this Machine.
- args
- 1
- name
- accessMode
- optional
- false
- type
- STRING
- description
- The access mode you with to set (can be PUBLIC, RESTRICTED, or PRIVATE)
- nullable
- false
- vararg
- false
- canPlayerAccess() -- .canPlayerAccess("DemonicArcher")
- returTypes
- 1
- BOOLEAN
- description
- Is this username allowed to access the machine
- args
- 1
- name
- username
- optional
- false
- type
- STRING
- description
- The username to check for
- nullable
- false
- vararg
- false
- getInventorySize() -- .getInventorySize()
- returntype
- 1
- NUMBER
- description
- Get the size of this inventory
- args
- none
- getAllStacks() -- .getAllStacks()
- returnType
- 1
- TABLE
- description
- Get a table with all the items of the chest
- getInventoryName() -- .getInventoryName()
- returnType
- 1
- STRING
- description
- Get the name of this inventory
- args
- none
- pushItemIntoSlot() -- .pushItemIntoSlot("north",1,64,1)
- returnType
- 1
- NUMBER
- description
- Push an item from the current inventory into slot on the other one. Returns the amount
- of items moved
- args
- 1
- name
- direction
- optional
- false
- type
- STRING
- description
- The direction of the other inventory. (north, south, east, west, up, down)
- nullable
- false
- vararg
- false
- 2
- name
- slot
- optional
- false
- type
- NUMBER
- description
- The slot in the current inventory that you're pushing from
- nullable
- false
- vararg
- false
- 3
- name
- maxAmount
- optional
- true
- type
- NUMBER
- description
- The maximum amount of items you want to push
- nullable
- true
- vararg
- false
- 4
- name
- intoSlot
- optional
- true
- type
- NUMBER
- description
- The slot in the OTHER inventory that you want to push into
- nullable
- true
- vararg
- false
- getAdvancedMethodsData() -- .getAdvancedMethodsData()
- returnType
- Table
- description
- Get a complete table of information about all available methods
- args
- none
- swapStacks()
- returnType
- none
- description
- Swap two slots in the inventory
- args
- 1
- name
- from
- optional
- false
- type
- Number
- description
- The first slot
- nullable
- false
- vararg
- false
- 2
- name
- to
- optional
- false
- type
- NUMBER
- description
- The other slot
- nullable
- false
- vararg
- false
- 3
- name
- fromDirection
- optional
- true
- type
- STRING
- description
- nullable
- true
- vararg
- false
- 4
- name
- fromDirection
- optional
- true
- type
- STRING
- description
- nullable
- true
- vararg
- false
- getAccess()
- returnType
- STRING
- desription
- Gets the AccessMode of this machine
- args
- none
- pullItem()
- returnType
- 1
- NUMBER
- description
- Pull an item froma slot in another inventory int a slot in this one. Returns the amount
- of items moved
- args
- 1
- name
- direction
- optional
- false
- type
- STRING
- description
- The directions of the other inventory
- nullable
- false
- vararg
- false
- 2
- name
- slot
- optional
- false
- type
- NUMBER
- description
- The slot int the OTHER invetory that you're pulling from
- nullable
- false
- vararg
- false
- 3
- name
- maxAmount
- optional
- true
- type
- NUMBER
- description
- The maximum amount of items you want to pull
- nullable
- true
- vararg
- galse
- 4
- name
- intoSlot
- optional
- true
- type
- NUMBER
- description
- The slot in the current inventory that you want to pull into
- nullable
- true
- vararg
- false
Advertisement
Add Comment
Please, Sign In to add comment