1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-10-21 15:22:14 +01:00

Optimized random pose

This commit is contained in:
MukiTanuki
2023-09-24 16:35:06 -07:00
parent 2563f7fe76
commit 8fd8ab69be
12 changed files with 203 additions and 48 deletions

View File

@@ -3,6 +3,11 @@
# 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 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