DataType
This is a list of all the data types that used in the ActionFlow.
Position
The position of a block or entity.
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
x | number | true | - | The x coordinate of the position. |
y | number | true | - | The y coordinate of the position. |
z | number | true | - | The z coordinate of the position. |
BlockProps
The properties of a block.
Each block has a name and a set of properties.
Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | true | - | The name of the block. |
properties | object | false | - | The properties of the block. |
Item ID
The ID of an item.
- Item ID
The ID of an item. can be number or string.
Yaw
The yaw of an entity.
South: 0
West: 90
North: 180
East: -90
Pitch
The pitch of an entity.
Down: 90
Up: -90
Straight: 0
Bound
A range of two positions.
- Bound
An array of two positions.
ResultReference
The ResultReference serves as a unique identifier for the result of an action.
- ResultReference
Reference id, string.