init_rule.mcfunction 429 B

1234567
  1. scoreboard players remove $init_rule_num rgb_sys 1
  2. execute store result score $rule_type rgb_sys run data get storage ltw:mini rgb.init_array[0]
  3. data remove storage ltw:mini rgb.init_array[0]
  4. execute if score $state mem matches 5 positioned 1038 15 8031 run function mini:rgb/game/summon_new_rule
  5. execute if score $state mem matches 5 if score $init_rule_num rgb_sys matches 1.. run schedule function mini:rgb/game/init_rule 3s