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/3_second.mcfunction
Normal file
12
data/armor_statues/functions/3_second.mcfunction
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Description: Check for players with trigger score set
|
||||
# Called by: #minecraft:load
|
||||
# Entity @s: none
|
||||
#
|
||||
schedule function armor_statues:3_second 3s
|
||||
#
|
||||
# Tags item frames with a book in them
|
||||
#
|
||||
execute if score #animate_trigger as_angle matches 1.. as @e[type=item_frame,tag=!as_animatable,predicate=armor_statues:item_frame_with_book] run tag @s add as_animatable
|
||||
# Untags
|
||||
execute if score #animate_trigger as_angle matches 1.. as @e[type=item_frame,tag=as_animatable,predicate=!armor_statues:item_frame_with_book] run tag @s remove as_animatable
|
Reference in New Issue
Block a user