With the following command I want to disturb the 1st value of the rotation in an armor stand, why doesn't that work?
/ execute store result entity @e [tag = zombie_armorstand, limit = 1] rotation [0] int 1 run data get entity @e [tag = zombie, limit = 1] rotation [0]
I'm sure you can help me out here!
PS: This is what the chat outputs:
With float instead of int and a 1 at the end of the command 1 it works:
/ execute store result entity @e [tag = zombie_armorstand, limit = 1] rotation [0] float 1 run data get entity @e [tag = zombie, limit = 1] rotation [0] 1
However, to give the motion from the zombie to the armorstand you need double instead of float or int:
/ execute store result entity @e [tag = zombie_armorstand, limit = 1] Motion [0] double 0.0002 run data get entity @e [tag = zombie, limit = 1] Motion [0] 10000