Name | Rotate |
Syntax | rotate (cancel) (<entity>|...) (yaw:<#.#>) (pitch:<#.#>) (infinite/duration:<duration>) (frequency:<duration>) |
Short Description | Rotates a list of entities. |
Full Description | Induces incremental rotation on a list of entities over a period of time.
The yaw and pitch arguments specify how much the entity will rotate each step. Default to 10 and 0 respectively. The frequency argument specifies how long it takes between each rotation step. Defaults to 1t. The duration argument specifies how long the whole rotation process will last. Defaults to 1s. Alternatively, use "infinite" if you want the entity to spin forever. You can use "cancel" to prematurely stop the ongoing rotation (useful when set to infinite) The rotate command is ~waitable. Refer to ~waitable. |
Related Tags | <EntityTag.location> Returns the location of the entity. (...)
|
Usage Example |
|
Usage Example |
|
Usage Example |
|
Synonyms (Search Aid) | spin |
Group | entity |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/entity/RotateCommand.java#L30 |