How to give relative rotation to armor stand?

How to give relative rotation to armor stand? - Happy bearded African American man with red box touching shoulder of cheerful black son with hand behind head during Christmas holiday while looking at each other

I'm trying to make a armor stand spin around in 1 degree intervals in a Repeat command block on 15w47c. The problem is, '~' doesn't seem to work for relative rotation when using with the Rotation tag in /entitydata.

Here's what I've tried;

/entitydata @e[type=ArmorStand,r=10] {Rotation:[~1f,0f]} 

and

/entitydata @e[type=ArmorStand,r=10] {Pose:{Head:[0f,~1f,0f]}}

Both just move to 1f, instead of increasing every iteration. I just need the head to turn, but the whole armor stand is fine too. Any suggestions?






Pictures about "How to give relative rotation to armor stand?"

How to give relative rotation to armor stand? - Crop cheerful black boy receiving present
How to give relative rotation to armor stand? - Cheerful African American son receiving present box from happy beaded black father while celebrating Christmas holiday and looking at each other
How to give relative rotation to armor stand? - Cheerful black father hugging son



How do you summon a armor stand with rotation?

1 Answer
  • Summon an Armor Stand with a specific tag, Invulnerable, and NoGravity. ...
  • Every tick, teleport the Armor Stand to the relative position of the player. ...
  • Every tick, teleport your own Armor Stand to face the new one. ...
  • Once you're done, kill the Armor Stand.




  • How to Rotate Armor Stands in Minecraft 1.8! Creating a Shop!




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Any Lane, Any Lane, Any Lane, Any Lane