# Filter toggle line for UI pages

execute if score @s bc_ui_filter matches 0 run tellraw @s {"text":"","extra":[{"text":"Mode: ","color":"gray"},{"text":"All","color":"green","bold":true},{"text":"  ","color":"gray"},{"text":"[Missing]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9101"}},{"text":"  ","color":"gray"},{"text":"[Obtained]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9102"}}]}
execute if score @s bc_ui_filter matches 1 run tellraw @s {"text":"","extra":[{"text":"Mode: ","color":"gray"},{"text":"Missing only","color":"green","bold":true},{"text":"  ","color":"gray"},{"text":"[All]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9100"}},{"text":"  ","color":"gray"},{"text":"[Obtained]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9102"}}]}
execute if score @s bc_ui_filter matches 2 run tellraw @s {"text":"","extra":[{"text":"Mode: ","color":"gray"},{"text":"Obtained only","color":"green","bold":true},{"text":"  ","color":"gray"},{"text":"[All]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9100"}},{"text":"  ","color":"gray"},{"text":"[Missing]","color":"yellow","click_event":{"action":"run_command","command":"/trigger bc_ui set 9101"}}]}
