#Make Armorstand Head Acctully Rotate Where It Looks

1 messages · Page 1 of 1 (latest)

mellow cave
#

doesn´t work somehow!? can somebody tell me what i am doing wrong here? this is my last hope of getting it to work

remote glenBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

north wave
#

Try removing the [0]s from that command, just set the Pose.Head to the Rotation. It’s trying to set the 0th element of an array which does not exist, so you need to either copy the whole array (to make it exist) or set it to a blank array (0,0,0) and then change the 0th element after

mellow cave
#

ok, it did do something at least but its not exactly how i was intending it to behave yet...

#

why is it not possible to put a number into the Pose.Head[]?

north wave
#

The command is still wrong. Remove all the square brackets: execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head set from entity @s Rotation

#

Or you may want to try this: data modify entity @e[tag=turret, type=minecraft:armor_stand] Pose.Head set value [0f,0f,0f] execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head[0] set from entity @s Rotation[0] execute as @e[tag=turret, type=minecraft:armor_stand] at @s run data modify entity @s Pose.Head[1] set from entity @s Rotation[1]

mellow cave
#

i tested both and both didn´t result in the wanted behavior

mellow cave
remote glenBOT
# remote glen <@&1201956957406109788>

<@&1166082198152159386> <@&1202694677766348840>

🙇 Helpers Arise!

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

ripe tapir
#

or here 0.00001f

lament mauve
#

for some reason armor stands dont like taking data merges for poses unless they already have some data in there, yeah

upbeat geyser
lament mauve
#

or rather sila explained why but i think its stupid :P

ripe tapir
upbeat geyser
ripe tapir
#

and also keep [0] at Pose.Head[0]

mellow cave
lament mauve
mellow cave
#

works!

lament mauve
#

yay!

mellow cave
#

thanks to all of you for the great support!

#

I cant resolve the blog using /resolve

vocal surge
#

I'll go ahead and close it manually

ripe tapir
north wave