1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-08-12 21:15:52 +01:00

Added support for Glow Item Frames

This commit is contained in:
MukiTanuki
2021-06-01 20:32:01 -06:00
parent 2a8de521b3
commit 54ac24c104
8 changed files with 28 additions and 15 deletions

View File

@@ -7,6 +7,6 @@ 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
execute if score #animate_trigger as_angle matches 1.. as @e[type=#armor_statues:item_frames,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
execute if score #animate_trigger as_angle matches 1.. as @e[type=#armor_statues:item_frames,tag=as_animatable,predicate=!armor_statues:item_frame_with_book] run tag @s remove as_animatable