Browse Source

修复随机获取地板

HerobrineXia 6 years ago
parent
commit
b71e2076d0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      data/mini/functions/colormatch/get_random_floor.mcfunction

+ 1 - 0
data/mini/functions/colormatch/get_random_floor.mcfunction

@@ -4,6 +4,7 @@ function lib:random
 
 # TODO 更换地板方块-增强对比+辨识度
 # 随机选择不消失的方块
+execute positioned 1000 10 4000 run fill ~ ~1 ~ ~25 ~1 ~25 air replace
 execute positioned 1000 10 4000 if score $random mem matches 1 run clone ~ ~ ~ ~25 ~ ~25 ~ ~1 ~ filtered iron_block
 execute positioned 1000 10 4000 if score $random mem matches 2 run clone ~ ~ ~ ~25 ~ ~25 ~ ~1 ~ filtered white_concrete
 execute positioned 1000 10 4000 if score $random mem matches 3 run clone ~ ~ ~ ~25 ~ ~25 ~ ~1 ~ filtered quartz_block