mirror of
https://codeberg.org/vlw/mcfstd.git
synced 2026-04-13 14:39:38 +02:00
11 lines
598 B
MCFunction
11 lines
598 B
MCFunction
#> Alternate sidebar display between register and variable scoreboards
|
|
|
|
function z_:construct
|
|
|
|
schedule function z_:debug/display/interval 3s replace
|
|
|
|
execute if score _mcfstd_debug_display _mcfstd_var matches 0 run function z_:debug/display/var
|
|
execute if score _mcfstd_debug_display _mcfstd_var matches 1 run function z_:debug/display/reg
|
|
|
|
execute if score _mcfstd_debug_display _mcfstd_var matches 0 run return run function var:set { k: _mcfstd_debug_display, v: 1 }
|
|
execute if score _mcfstd_debug_display _mcfstd_var matches 1 run return run function var:set { k: _mcfstd_debug_display, v: 0 }
|