NativeContainerInterface
Implements
Index
Constructors
constructor
Parameters
container: NativeTileEntity
Returns NativeContainerInterface
Properties
readonlycontainer
readonlyisNativeContainer
Methods
addItem
Parameters
item: ItemInstance
side: number
optionalmaxCount: number
Returns number
addItemToSlot
Parameters
index: number
item: ItemInstance
optionalmaxCount: number
Returns number
clearContainer
Returns void
getContainerSlots
Returns any[]
getInputSlots
Parameters
side: number
Returns number[]
getOutputSlots
Returns number[]
getReceivingItemCount
Parameters
item: ItemInstance
side: number
Returns number
getSlot
Parameters
index: number
Returns ItemInstance
setSlot
Parameters
index: number
id: number
count: number
data: number
optionalextra: ItemExtraData
Returns void
This Web Storage API interface provides access to a particular domain's session or local storage. It allows, for example, the addition, modification, or deletion of stored data items.
MDN Reference