Direction
Provides the unit vec3 of a direction.
Type ID: kaya:direction
Format
| Field | Type | Default | Description |
|---|---|---|---|
direction |
Direction Provider | The direction to get the unit vec3 from. |
Example
This example provides the unit vec3 of the up direction, which will be a vec3 with X, Y, and Z coordinates of 0, 1, and 0 respectively.
History
| Minecraft | Mod | Changelog |
| 1.21.5 | 0.1.0 | Added the type. |