Vector (Data Type)
An Object that specifies the X, Y and Z coordinates of a certain point in space.
An Object that specifies the X, Y and Z coordinates of a certain point in space.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
x | Float | 0.0 | The X coordinate of the point. |
y | Float | 0.0 | The Y coordinate of the point. |
z | Float | 0.0 | The Z coordinate of the point. |
Examples
"entity_action": {
"type": "apoli:spawn_particles",
"particle": {
"type": "minecraft:block",
"params": "minecraft:redstone_block"
},
"count": 16,
"speed": 0.0,
"force": true,
"spread": {
"x": 3.0,
"y": 0.0,
"z": 3.0
}
} A Spawn Particles (Entity Action Type) that spawns a cuboid of about 5x0x5 in size, which has a volume of 25 blocks.