Variable Store¶
Only available in version 1.16
The Variable Store is a block from Integrated Dynamics that can store variables for future use.
Requirement
Requires the Integrated Dynamics mod to be installed
Peripheral Name | Interfaces with | Has events | Introduced in |
---|---|---|---|
variableStore | Variable Store block | No | 0.7r |
Functions¶
list¶
list() -> table
Properties¶
variable | Description |
---|---|
id: string |
The variable's id |
label: string |
The label name for the variable |
type: string |
The type of the variable |
dynamic: boolean |
If the variable is dynamic |
read¶
read(slot: number) -> table | nil, string
slot
. Or nil and an error message.
Properties¶
variable | Description |
---|---|
id: string |
The variable's id |
label: string |
The label name for the variable |
type: string |
The type of the variable |
value: string |
The NBT representation of the stored value |
dynamic: boolean |
If the variable is dynamic |
Changelog/Trivia¶
0.7r
Added integration for Integrated Dynamics