1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-06-07 05:06:45 +01:00
2021-04-17 12:07:53 +02:00

9 lines
347 B
MCFunction

#
# Description: Display shrine particles and give book
# Called by: armor_statues:tick
# Entity @s: Shrine marker area effect cloud
#
# Give book to nearby players if they do not have it already
#
execute as @a[distance=..1.5,nbt=!{Inventory:[{id:"minecraft:written_book",tag:{datapack:"ArmorStatuesV2"}}]}] at @s run function armor_statues:give