[封面纯原版]视察菜单(仿鼠标操作)演示

#初始化
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=!设置,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=!设置,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=!设置,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=!设置,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=!设置,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=!设置,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=!设置,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=!设置,tag=菜单,rxm=3,rx=16,rym=170,ry=-176] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 金币数:233
execute as @a[tag=!设置,tag=菜单,rxm=3,rx=16,rym=-175,ry=-160] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run say 设置,启动!
execute as @a[tag=!设置,tag=菜单,rxm=3,rx=16,rym=-159,ry=-145] unless entity @s[hasitem={location=slot.weapon.mainhand,item=clock}] run kill @s
#结束
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 设置
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=!设置,tag=菜单] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 工会 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-24,rx=-11,rym=170,ry=-176] title {"rawtext":[{"text":"§f §a主城§f 商店 试炼\n\n 签到 工会 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-24,rx=-11,rym=-175,ry=-160] title {"rawtext":[{"text":"§f 主城 §a商店§f 试炼\n\n 签到 工会 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-24,rx=-11,rym=-159,ry=-145] title {"rawtext":[{"text":"§f 主城 商店 §a试炼§f\n\n 签到 工会 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-10,rx=2,rym=170,ry=-176] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n §a签到§f 工会 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-10,rx=2,rym=-175,ry=-160] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 §a工会§f 喊话\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=-10,rx=2,rym=-159,ry=-145] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 工会 §a喊话§f\n\n 个人 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=3,rx=16,rym=170,ry=-176] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 工会 喊话\n\n §a个人§f 设置 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=3,rx=16,rym=-175,ry=-160] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 工会 喊话\n\n 个人 §a设置§f 退出"}]}
titleraw @a[tag=!设置,tag=菜单,rxm=3,rx=16,rym=-159,ry=-145] title {"rawtext":[{"text":"§f 主城 商店 试炼\n\n 签到 工会 喊话\n\n 个人 设置 §a退出§f"}]}
#by 萌鲨无敌