新版一級(jí)雪球菜單


顯創(chuàng)建一個(gè)計(jì)分板
/scoreboard players add cd dummy (可以在聊天框輸入,也可以在命令方塊輸入)
還要弄一個(gè)常加載區(qū)域
/tickingarea add circle ~~~ 4 (盡量在命令方塊輸入,循環(huán) 無(wú)條件 保持開啟)
一.
execute as @a[scores={cd=1..},rxm=88] at @s positioned ~~~ run scoreboard players set @s cd 0
低頭清楚自身cd分?jǐn)?shù)(循環(huán) 無(wú)條件 保持開啟)
2.execute as @a[scores={cd=1..},rxm=88] at @s positioned ~~~ run titleraw @s actionbar {"rawtext":[{"text":"§l§b菜單已關(guān)閉"}]}
提示(連鎖 無(wú)條件 保持開啟)
二.
/replaceitem entity @a slot.hotbar 7 destroy egg 2 0 {"minecraft:item_look":{"mode":"lock_in_slot"}}
給每個(gè)人雞蛋 (循環(huán) 無(wú)條件 保持開啟)
execute as @e[type=egg] at @s positioned ~~~ run scoreboard players add @p[r=1] cd 1
給丟一次雞蛋的人給自己的cd加一分 (連鎖 無(wú)條件 保持開啟)
kill @e[type=egg]
清楚丟出去的雞蛋實(shí)體 (連鎖 無(wú)條件 保持開啟)
三.
1.execute as @a[scores={cd=1}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭請(qǐng)自制菜單
? §l§c改 創(chuàng) 造
? ?§l§e改生存
? ?§l§e改冒險(xiǎn)
? ?§l§e回主城
? ?§l§e去商店
? ?§l§e內(nèi)容1
? ?§l§e內(nèi)容2
? ?§l§e內(nèi)容3
這個(gè)內(nèi)容可以自己加 (循環(huán) 無(wú)條件 保持開啟)
你也可以繼續(xù)往后加
2.execute as @a[scores={cd=1},tag=創(chuàng)造,rx=-88] at @s positioned ~~~ run gamemode 1
(連鎖 無(wú)條件 保持開啟)
3.execute as @a[scores={cd=1},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戲模式更改成功?。。?/p>
(連鎖 無(wú)條件 保持開啟)
4.execute as @a[scores={cd=1},tag=!創(chuàng)造,rx=-88] at @s positioned ~~~ run title @s actionbar §l§c您沒(méi)用此權(quán)限?。?!
(連鎖 無(wú)條件 保持開啟)
5.execute as @a[scores={cd=1},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(連鎖 無(wú)條件 保持開啟)
四.execute as @a[scores={cd=2}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭請(qǐng)自制菜單
? ?§l§e改創(chuàng)造
? §l§c改 生 存
? ?§l§e改冒險(xiǎn)
? ?§l§e回主城
? ?§l§e去商店
? ?§l§e內(nèi)容1
? ?§l§e內(nèi)容2
? ?§l§e內(nèi)容3
(循環(huán) 無(wú)條件 保持開啟)
2.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run gamemode 0
(連鎖 無(wú)條件 保持開啟)
3.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戲模式更改成功?。?!
(連鎖 無(wú)條件 保持開啟)
4.execute as @a[scores={cd=2},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(連鎖 無(wú)條件 保持開啟)
五.
1.execute as @a[scores={cd=3}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭請(qǐng)自制菜單
? ?§l§e改創(chuàng)造
? ?§l§e改生存
? §l§c改 冒 險(xiǎn)
? ?§l§e回主城
? ?§l§e去商店
? ?§l§e內(nèi)容1
? ?§l§e內(nèi)容2
? ?§l§e內(nèi)容3
(循環(huán) 無(wú)條件 保持開啟)
2.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run gamemode 2
(連鎖 無(wú)條件 保持開啟)
3.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b您的游戲模式更改成功!?。?/p>
(連鎖 無(wú)條件 保持開啟)
4.execute as @a[scores={cd=3},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(連鎖 無(wú)條件 保持開啟)
六.
1.execute as @a[scores={cd=4}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭請(qǐng)自制菜單
? ?§l§e改創(chuàng)造
? ?§l§e改生存
? ?§l§e改冒險(xiǎn)
? §l§c回 主 城
? ?§l§e去商店
? ?§l§e內(nèi)容1
? ?§l§e內(nèi)容2
? ?§l§e內(nèi)容3
(循環(huán) 無(wú)條件 保持開啟)
2.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run tp 坐標(biāo)
(連鎖 無(wú)條件 保持開啟)
3.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b傳送成功?。?!
(連鎖 無(wú)條件 保持開啟)
4.execute as @a[scores={cd=4},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(連鎖 無(wú)條件 保持開啟)
七.
1.execute as @a[scores={cd=5}] at @s positioned ~ ~ ~ run title @s actionbar
§l§a恭請(qǐng)自制菜單
? ?§l§e改創(chuàng)造
? ?§l§e改生存
? ?§l§e改冒險(xiǎn)
? ?§l§e回主城
? §l§c去 商 店
? ?§l§e內(nèi)容1
? ?§l§e內(nèi)容2
? ?§l§e內(nèi)容3
(循環(huán) 無(wú)條件 保持開啟)
2.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run tp 坐標(biāo)
(連鎖 無(wú)條件 保持開啟)
3.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run title @s actionbar §l§b傳送成功!??!
(連鎖 無(wú)條件 保持開啟)
4.execute as @a[scores={cd=5},rx=-88] at @s positioned ~~~ run scoreboard players set @s cd 0
(連鎖 無(wú)條件 保持開啟)
指令如果有問(wèn)題加一下Q群:264505422
作者QQ號(hào):3062363528
自創(chuàng)
游戲名:恭請(qǐng)111
副游戲賬號(hào)名:共青111