tick20.mcfunction 469 B

1234567
  1. # 切换计分板显示
  2. scoreboard players add $scb_switch rgb_sys 1
  3. execute if score $scb_switch rgb_sys matches 6.. run scoreboard players set $scb_switch rgb_sy 0
  4. execute if score $scb_switch rgb_sys matches 0..1 run scoreboard objectives setdisplay sidebar rgb_R
  5. execute if score $scb_switch rgb_sys matches 2..3 run scoreboard objectives setdisplay sidebar rgb_R
  6. execute if score $scb_switch rgb_sys matches 4..5 run scoreboard objectives setdisplay sidebar rgb_R