책으로 난이도 바꾸기(마인크래프트)
Вставка
- Опубліковано 24 вер 2024
- 첫번째 커맨드
첫번째줄
execute as @a[nbt={Inventory:[{id:"minecraft:book",Count:1b,tag:{display:{Name:'{"text":"평화로움","color":"aqua","bold":"true"}'}},Slot:-106b}]}] run difficulty peaceful
tellraw @a [{"text":"[난이도]:","color":"yellow","bold":"true"},{"text":" 평화로움","color":"white","bold":"false"}]
execute as @p at @s run playsound minecraft:block.stone_button.click_on block @a ~ ~ ~
clear @p minecraft:book{display:{Name:'{"text":"평화로움","color":"aqua","bold":"true"}'}}
give @p book{display:{Name:'{"text":"쉬움","color":"green","bold":"true"}'}}
두번째줄
execute as @a[nbt={Inventory:[{id:"minecraft:book",Count:1b,tag:{display:{Name:'{"text":"쉬움","color":"green","bold":"true"}'}},Slot:-106b}]}] run difficulty easy
tellraw @a [{"text":"[난이도]:","color":"yellow","bold":"true"},{"text":" 쉬움","color":"white","bold":"false"}]
execute as @p at @s run playsound minecraft:block.stone_button.click_on block @a ~ ~ ~
clear @p minecraft:book{display:{Name:'{"text":"쉬움","color":"green","bold":"true"}'}}
give @p book{display:{Name:'{"text":"보통","color":"gold","bold":"true"}'}}
세번째줄
execute as @a[nbt={Inventory:[{id:"minecraft:book",Count:1b,tag:{display:{Name:'{"text":"보통","color":"gold","bold":"true"}'}},Slot:-106b}]}] run difficulty normal
tellraw @a [{"text":"[난이도]:","color":"yellow","bold":"true"},{"text":" 보통","color":"white","bold":"false"}]
execute as @p at @s run playsound minecraft:block.stone_button.click_on block @a ~ ~ ~
clear @p minecraft:book{display:{Name:'{"text":"보통","color":"gold","bold":"true"}'}}
give @p book{display:{Name:'{"text":"어려움","color":"dark_red","bold":"true"}'}}
네번째줄
execute as @a[nbt={Inventory:[{id:"minecraft:book",Count:1b,tag:{display:{Name:'{"text":"어려움","color":"dark_red","bold":"true"}'}},Slot:-106b}]}] run difficulty hard
tellraw @a [{"text":"[난이도]:","color":"yellow","bold":"true"},{"text":" 어려움","color":"white","bold":"false"}]
execute as @p at @s run playsound minecraft:block.stone_button.click_on block @a ~ ~ ~
clear @p minecraft:book{display:{Name:'{"text":"어려움","color":"dark_red","bold":"true"}'}}
give @p book{display:{Name:'{"text":"평화로움","color":"aqua","bold":"true"}'}}
두번째 커맨드
execute as @a[nbt={Inventory:[{id:"minecraft:enchanted_book",Count:1b,tag:{display:{Name:'{"text":"난이도 바꾸기","color":"light_purple","bold":"true"}'}},Slot:-106b}]}] run clear @p minecraft:enchanted_book{display:{Name:'{"text":"난이도 바꾸기","color":"light_purple","bold":"true"}'}}
tellraw @a [{"text":"[ 평화로움 ]","color":"white","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty peaceful"}},[{"text":" [ 쉬움 ]","color":"white","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty easy"}},[{"text":" [ 보통 ]","color":"white","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty normal"}},[{"text":" [ 어려움 ]","color":"white","bold":"true","clickEvent":{"action":"run_command","value":"/difficulty hard"}}]]]]
give @p minecraft:enchanted_book{display:{Name:'{"text":"난이도 바꾸기","color":"light_purple","bold":"true"}'}}
#마인크래프트 #커맨드
0:56 평화로음 평화로움