execute if score low_performance jjc_main matches 0 run scoreboard players set @p jjc_main 0
execute if score low_performance jjc_main matches 1 run scoreboard players set @p jjc_main 1
execute at @p[scores={jjc_main=0}] run scoreboard players set low_performance jjc_main 1
execute at @p[scores={jjc_main=1}] run scoreboard players set low_performance jjc_main 0
execute if score low_performance jjc_main matches 0 run tellraw @p [{"text": "优化模式","color": "yellow"},{"text": " 关闭","color": "red"}]
execute if score low_performance jjc_main matches 1 run tellraw @p [{"text": "优化模式","color": "yellow"},{"text": " 开启","color": "green"}]
scoreboard players reset @p jjc_main