execute unless score disable_mob_drops jjc_main matches 1 run scoreboard players set @p jjc_main 0
execute if score disable_mob_drops jjc_main matches 1 run scoreboard players set @p jjc_main 1
execute at @p[scores={jjc_main=0}] run scoreboard players set disable_mob_drops jjc_main 1
execute at @p[scores={jjc_main=1}] run scoreboard players set disable_mob_drops jjc_main 0
execute unless score disable_mob_drops jjc_main matches 1 run tellraw @p [{"text": "禁用怪物掉落","color": "yellow"},{"text": " OFF","color": "red"}]
execute if score disable_mob_drops jjc_main matches 1 run tellraw @p [{"text": "禁用怪物掉落","color": "yellow"},{"text": " ON","color": "green"}]
scoreboard players reset @p jjc_main