[封面純原版]視察菜單(仿鼠標(biāo)操作)演示

#初始化
execute as @a[tag=!菜單,hasitem={location=slot.weapon.mainhand,item=clock}] at @s anchored eyes run camera @s set example:example_free pos ^^^0.4 rot ~~
execute as @a[tag=!菜單,hasitem={location=slot.weapon.mainhand,item=clock}] at @s run tp ~~~ 0 0
inputpermission set @a[tag=!菜單,hasitem={location=slot.weapon.mainhand,item=clock}] movement disabled
title @a[tag=!菜單,hasitem={location=slot.weapon.mainhand,item=clock}] times 0 5 3
#功能
execute as @a[tag=菜單,hasitem={location=slot.weapon.mainhand,item=clock}] at @s run camera @s set example:example_free ease 0.8 linear pos ~0.8~1~2.2 rot 0 180
#第一排
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=170,ry=-176] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run tp -175 -60 -300
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=170,ry=-176] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 回城成功
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=-175,ry=-160] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 購買雞蛋x1
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=-159,ry=-145] at @s unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run summon zombie ~~5~
#第二排
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=170,ry=-176] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 簽到成功
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=-175,ry=-160] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 等級不夠
execute as @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=-159,ry=-145] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 桀桀桀
#第三排
execute as @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=170,ry=-176] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 金幣數(shù):233
execute as @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=-175,ry=-160] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 設(shè)置,啟動(dòng)!
execute as @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=-159,ry=-145] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run kill @s
#結(jié)束
execute as @a[tag=菜單] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run camera @s clear
execute as @a[tag=菜單] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run inputpermission set @s movement enabled
execute as @a[tag=菜單] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run tag @s remove 菜單
execute as @a[tag=菜單] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run tag @s remove 設(shè)置
tag @a[tag=!菜單,hasitem={location=slot.weapon.mainhand,item=clock}] add 菜單
#菜單顯示
execute as @a[tag=菜單,rym=90,ry=-90] at @s positioned ~0.8~1~2.2 rotated ~ ~ run particle minecraft:balloon_gas_particle ^^^3
titleraw @a[tag=!設(shè)置,tag=菜單] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=170,ry=-176] title {"rawtext":[{"text":"§f?????§a主城§f?商店?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=-175,ry=-160] title {"rawtext":[{"text":"§f?????主城?§a商店§f?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-24,rx=-11,rym=-159,ry=-145] title {"rawtext":[{"text":"§f?????主城?商店?§a試煉§f\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=170,ry=-176] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????§a簽到§f?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=-175,ry=-160] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?§a工會(huì)§f?喊話\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=-10,rx=2,rym=-159,ry=-145] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?工會(huì)?§a喊話§f\n\n?????個(gè)人?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=170,ry=-176] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????§a個(gè)人§f?設(shè)置?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=-175,ry=-160] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?§a設(shè)置§f?退出"}]}
titleraw @a[tag=!設(shè)置,tag=菜單,rxm=3,rx=16,rym=-159,ry=-145] title {"rawtext":[{"text":"§f?????主城?商店?試煉\n\n?????簽到?工會(huì)?喊話\n\n?????個(gè)人?設(shè)置?§a退出§f"}]}
#by 萌鯊無敵