minecraft-datapacks/datapacks/armour_statues-2-6-0/data/as/functions/locking/lock.mcfunction

10 lines
439 B
Mcfunction
Raw Normal View History

2020-03-19 15:59:23 +01:00
#
# Description: Locks armor stand
# Called by: as:trigger/lock
# Entity @s: armor stand
#
execute as @p[tag=as_selected,tag=!as_chat] run title @s actionbar {"text":"Armor stand locked","color":"dark_green"}
execute as @p[tag=as_selected,tag=as_chat] run tellraw @s {"text":"<Stick_God> Armor stand locked","color":"dark_green"}
effect give @s minecraft:glowing 1
data merge entity @s {DisabledSlots:4144959}
tag @s add as_locked