init.mcfunction 1.5 KB

123456789101112131415161718192021222324252627
  1. # 重置计分板
  2. scoreboard objectives remove rgb_sys
  3. scoreboard objectives add rgb_sys dummy "RGB小游戏系统变量"
  4. scoreboard objectives remove rgb_rule_id
  5. scoreboard objectives add rgb_rule_id dummy "RGB小游戏规则ID"
  6. scoreboard objectives remove rgb_R
  7. scoreboard objectives add rgb_R dummy {"text": "R","color": "red","bold": true}
  8. scoreboard objectives remove rgb_G
  9. scoreboard objectives add rgb_G dummy {"text": "G","color": "green","bold": true}
  10. scoreboard objectives remove rgb_B
  11. scoreboard objectives add rgb_B dummy {"text": "B","color": "blue","bold": true}
  12. scoreboard objectives remove rgb_obtain_rule
  13. scoreboard objectives add rgb_obtain_rule minecraft.mined:minecraft.pumpkin "RGB小游戏获得规则计分板"
  14. scoreboard objectives remove rgb_place_rule
  15. scoreboard objectives add rgb_place_rule minecraft.used:armor_stand "RGB小游戏放置规则计分板"
  16. scoreboard objectives remove rgb_destroy_rule
  17. scoreboard objectives add rgb_destroy_rule minecraft.killed:armor_stand "RGB小游戏销毁规则计分板"
  18. scoreboard objectives remove rgb_shift
  19. scoreboard objectives add rgb_shift custom:sneak_time "RGB小游戏潜行时间"
  20. scoreboard objectives remove rgb_dig_ice
  21. scoreboard objectives add rgb_dig_ice minecraft.mined:minecraft.ice "RGB小游戏挖掘冰块"
  22. scoreboard objectives remove rgb_take_damage
  23. scoreboard objectives add rgb_take_damage dummy "RGB小游戏受到伤害,为负表示回血"
  24. scoreboard objectives remove rgb_health
  25. scoreboard objectives add rgb_health health "RGB小游戏生命值"