1
0
mirror of https://github.com/LZStealth/armor-statues.git synced 2025-08-13 09:25:52 +01:00

Invisible armor stands will now become visible after a few seconds if they have no items, visible name, or aren't locked. Tool rack armor stands will now become visible after a few seconds if tripwire hook is broken.

This commit is contained in:
MukiTanuki
2021-06-03 03:52:47 -06:00
parent 04b957dbcf
commit 00df793299
9 changed files with 43 additions and 3 deletions

View File

@@ -49,6 +49,11 @@ execute if entity @s[tag=as_rack] run execute store result score @s as_lock_uuid
execute if entity @s[tag=as_rack] run execute store result score @s as_lock_uuid4 run data get entity @p[tag=as_selected] UUID[3]
execute if entity @s[tag=as_rack] run tag @s add as_uuid_locked
#
# add tool rack tag
#
execute if entity @s[tag=as_rack] run tag @s add as_tool_rack
execute if entity @s[tag=as_rack] run tag @s add as_invisible
#
# Finally, remove the as_rack tag
#
execute if entity @s[tag=as_rack] run tag @s remove as_rack