mirror of
https://github.com/LZStealth/armor-statues.git
synced 2025-08-10 08:35:52 +01:00
Initial commit for armor statues
This commit is contained in:
12
data/armor_statues/functions/randomizer/right_leg.mcfunction
Normal file
12
data/armor_statues/functions/randomizer/right_leg.mcfunction
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Description: Randomizes appendage rotation
|
||||
# Called by: armor_statues:trigger/random_pose
|
||||
# Entity @s: temp armor stand
|
||||
#
|
||||
execute store result score #x_angle as_angle run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"right_leg_x" }].Amount 1000
|
||||
execute store result score #y_angle as_angle run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"right_leg_y" }].Amount 1000
|
||||
execute store result score #z_angle as_angle run data get entity @s ArmorItems[3].tag.AttributeModifiers[{ "Name":"right_leg_z" }].Amount 1000
|
||||
function armor_statues:randomizer/right_leg_angle
|
||||
execute store result storage customizable_armor_stands:pose_storage Pose.RightLeg[0] float 0.001 run scoreboard players get #x_angle as_angle
|
||||
execute store result storage customizable_armor_stands:pose_storage Pose.RightLeg[1] float 0.001 run scoreboard players get #y_angle as_angle
|
||||
execute store result storage customizable_armor_stands:pose_storage Pose.RightLeg[2] float 0.001 run scoreboard players get #z_angle as_angle
|
Reference in New Issue
Block a user