1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-06-07 17:16:44 +01:00
2023-09-24 16:35:06 -07:00

13 lines
1.1 KiB
MCFunction

#
# Description: Randomizes appendage rotation
# Called by: armor_statues:trigger/random_pose
# Entity @s: temp armor stand
#
#execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[0] float 0.001 run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"left_arm_x" }].Amount 1000
#execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[1] float 0.001 run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"left_arm_y" }].Amount 1000
#execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[2] float 0.001 run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"left_arm_z" }].Amount 1000
#
execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[0] float 0.001 run random value -180000..180000
execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[1] float 0.001 run random value -180000..180000
execute store result storage customizable_armor_stands:pose_storage Pose.LeftArm[2] float 0.001 run random value -180000..180000