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:
8
data/armor_statues/functions/animate.mcfunction
Normal file
8
data/armor_statues/functions/animate.mcfunction
Normal file
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# Description: Animate armor stands based off of item frames
|
||||
# Called by: armor_statues:tick
|
||||
# Entity @s: None
|
||||
#
|
||||
tag @s add as_powered
|
||||
data modify entity @e[type=minecraft:armor_stand,distance=..8,tag=!as_locked,sort=nearest,limit=1,nbt=!{Marker:1b},nbt=!{Invulnerable:1b}] {} merge from entity @s Item.tag.SavedPose
|
||||
data modify entity @e[type=minecraft:armor_stand,distance=..8,tag=!as_locked,sort=nearest,limit=1,nbt=!{Marker:1b},nbt=!{Invulnerable:1b}] Pose set from entity @s Item.tag.SavedPose.Pose
|
Reference in New Issue
Block a user