1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-08-09 20:35:51 +01:00

Initial commit for armor statues

This commit is contained in:
MSpaceDev
2021-04-17 12:07:53 +02:00
parent 490890cd34
commit dafdb83c30
116 changed files with 3229 additions and 2 deletions

View File

@@ -0,0 +1,16 @@
#
# Description: Paste armor stand settings and pose from book
# Called by: as_statue:trigger
# Entity @s: armor stand
#
execute as @p[tag=as_selected] run function armor_statues:storage_in
#
data modify entity @s {} merge from storage customizable_armor_stands:book_storage SavedItem.tag.SavedPose
data modify entity @s Pose set from storage customizable_armor_stands:book_storage SavedItem.tag.SavedPose.Pose
#
title @a[tag=as_selected,tag=!as_chat] actionbar {"text":"Settings and pose pasted from the book","color":"dark_green"}
tellraw @a[tag=as_selected,tag=as_chat] {"text":"<Stick_God> Settings and pose pasted from the book","color":"dark_green"}
#
# Tag the armor stand as modified
#
tag @s add as_modified