You cannot use relative values for changing NBTData unfortunately. Only having the head turn would take 360 command blocks, one for each rotation degree.
Having the whole stand turn is easy though, as /tp
can change rotation of an entire entity, and accepts relative values. Try something like this on a clock:
/tp @e[type=ArmorStand,r=10] ~ ~ ~ ~1 ~
Unfortunately, this cannot be done with a single ArmorStand. All of the limbs pivot around pre-determined points; you can see this more easily with an ArmorStand positioning tool.
You could however position two ArmorStands in a way such that the legs of one are paired with the body/arms of another, like this:
ArmorStand for body:
/summon ArmorStand ~ ~ ~1 {NoBasePlate:1b,ShowArms:1b,Pose:{Body:[278f,0f,0f],Head:[317f,0f,0f],LeftArm:[270f,0f,0f],RightArm:[270f,0f,0f]}}
ArmorStand for legs:
/summon ArmorStand ~ ~ ~2 {NoBasePlate:1b,Pose:{Body:[180f,0f,0f],LeftLeg:[270f,0f,0f],RightLeg:[270f,0f,0f]}}
Dress them up, give Invisible:1b
and NoGravity:1b
to them, and then use /tp
to teleport them into place:
Best Answer
This video goes into explicit detail about how the armor stands work in minecraft, including how to
/summon
, edit with/entitydata
, create custom poses and static artworks.For your specific needs (look like it crawling) you can use commands to set the angle of the head (
Head
), arms (LeftArm
andRightArm
), body (Body
), and legs (LeftLeg
andRightLeg
).Note: the
~f
relates to the 3 degrees of rotation - x, y, and z; from 180 to -180.For example, if I wanted to tilt the head forward by 20 degrees, I would use the command