瀏覽代碼

修复层数显示

HerobrineXia 6 年之前
父節點
當前提交
8237df91ab
共有 1 個文件被更改,包括 3 次插入 和 3 次删除
  1. 3 3
      data/mini/functions/tntrun/tick2.mcfunction

+ 3 - 3
data/mini/functions/tntrun/tick2.mcfunction

@@ -10,6 +10,6 @@ execute as @a[tag=mini_running] at @s if block ~ ~-1 ~ magma_block run function
 
 # 显示层数
 execute as @a[tag=mini_running] at @s if entity @s[y=35,dy=10] run scoreboard players set @s layer 4
-execute as @a[tag=mini_running] at @s if entity @s[y=30,dy=5] run scoreboard players set @s layer 3
-execute as @a[tag=mini_running] at @s if entity @s[y=25,dy=5] run scoreboard players set @s layer 2
-execute as @a[tag=mini_running] at @s if entity @s[y=20,dy=5] run scoreboard players set @s layer 1
+execute as @a[tag=mini_running] at @s if entity @s[y=30,dy=3] run scoreboard players set @s layer 3
+execute as @a[tag=mini_running] at @s if entity @s[y=25,dy=3] run scoreboard players set @s layer 2
+execute as @a[tag=mini_running] at @s if entity @s[y=20,dy=3] run scoreboard players set @s layer 1