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:
@@ -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
|
||||
|
Reference in New Issue
Block a user