瀏覽代碼

更改跑酷替换方块的检测

HerobrineXia 6 年之前
父節點
當前提交
79b663b972

+ 4 - 0
data/mini/functions/parkour/game/tempo_block.mcfunction

@@ -8,6 +8,8 @@ execute if score $parkour_block mem matches 0 run setblock 1009 10 1036 air dest
 execute if score $parkour_block mem matches 0 run setblock 1010 10 1033 air destroy
 execute if score $parkour_block mem matches 0 run setblock 1013 10 1032 air destroy
 execute if score $parkour_block mem matches 0 run setblock 1010 12 1030 air destroy
+execute if score $parkour_block mem matches 1 run setblock 1009 16 1051 air destroy
+execute if score $parkour_block mem matches 1 run setblock 1004 17 1050 air destroy
 execute if score $parkour_block mem matches 0 run setblock 1009 9 1036 minecraft:warped_hyphae
 execute if score $parkour_block mem matches 0 run setblock 1013 9 1032 minecraft:warped_hyphae
 execute if score $parkour_block mem matches 0 run setblock 1010 11 1033 minecraft:warped_hyphae
@@ -23,3 +25,5 @@ execute if score $parkour_block mem matches 1 run setblock 1012 8 1035 minecraft
 execute if score $parkour_block mem matches 1 run setblock 1009 10 1036 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1010 10 1033 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1010 12 1030 minecraft:crimson_hyphae
+execute if score $parkour_block mem matches 1 run setblock 1009 16 1051 minecraft:crimson_hyphae
+execute if score $parkour_block mem matches 1 run setblock 1004 17 1050 minecraft:crimson_hyphae

+ 1 - 1
data/mini/functions/parkour/tick2.mcfunction

@@ -1,2 +1,2 @@
 execute if score $countdown_fast mem matches 0 run function mini:parkour/game/tempo_block
-execute if score $countdown_fast mem matches 0 run scoreboard players set $countdown_fast mem 15
+execute unless score $countdown_fast mem matches 1.. run scoreboard players set $countdown_fast mem 15