2
0

read_data_.mcfunction 359 B

123456
  1. # as rule marker
  2. # with rgb_op
  3. execute store result score #temp_id rgb_sys run data get storage ltw:mini rgb.temp_data[0].id
  4. execute unless score #temp_id rgb_sys = @a[tag=rgb_op,limit=1] player_id run data remove storage ltw:mini rgb.temp_data[0]
  5. execute unless score #temp_id rgb_sys = @a[tag=rgb_op,limit=1] player_id run function mini:rgb/game/read_data_