Skip to content

Mechanics: setRotation

muhahahahe edited this page Jan 14, 2018 · 4 revisions

Use this mechanic to rotate the targeted non player entity.

Attributes

Attribute Aliases Description Default
duration dur time in ticks the rotation will take
wont work well if the target have AI
1
yawoffset yaw | yo | y degrees to rotate 5
pitchoffset pitch | po | p vertical view angle 0

Example

- setrotation{d=100;yo=90} @EIR{r=10}
This will rotate the entities in range of 10 blocks 90 degrees clockwise.
Clone this wiki locally