Рет қаралды 13,283
#마인크래프트 #커맨드강좌 #보스바타이머
Commands:
타이머 작동 전 한 번 실행해야하는 커맨드
[반응형] [무조건적] [레드스톤 필요]
scoreboard players set timer timer 500
[연쇄형] [무조건적] [항상 활성화]
bossbar set minecraft:timer value 500
[연쇄형] [무조건적] [항상 활성화]
bossbar set minecraft:timer max 500
[연쇄형] [무조건적] [항상 활성화]
bossbar set minecraft:timer players
[연쇄형] [무조건적] [항상 활성화]
bossbar set minecraft:timer visible true
타이머 커맨드
[반복형] [무조건적] [레드스톤 필요/항상 활성화]
execute if score timer timer matches 1.. run scoreboard players remove timer timer 1
[연쇄형] [무조건적] [항상 활성화]
bossbar set minecraft:timer players @a
[연쇄형] [무조건적] [항상 활성화]
execute store result bossbar minecraft:timer value run scoreboard players get timer timer
[연쇄형] [무조건적] [항상 활성화]
execute if score timer timer matches 0 run title @a actionbar "시간 종료!"
[연쇄형] [무조건적] [항상 활성화]
execute if score timer timer matches 0 run bossbar set minecraft:timer visible false