Преглед изворни кода

删除跑酷中所有换方块的destroy

HerobrineXia пре 6 година
родитељ
комит
02c48d6fb9

+ 1 - 1
data/mini/functions/parkour/game/open_the_door.mcfunction

@@ -1,7 +1,7 @@
 # 开门
 # 由踩下灯的玩家执行
 
-fill 1013 23 1057 1013 21 1056 air destroy
+fill 1013 23 1057 1013 21 1056 air
 tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"selector": "@s","color":"green"}," 打开了大门!"]
 scoreboard players set $parkour_door mem 1
 execute as @a at @s run function lib:sounds/hit

+ 11 - 11
data/mini/functions/parkour/game/tempo_block.mcfunction

@@ -3,23 +3,23 @@ scoreboard players add $parkour_block mem 1
 execute if score $parkour_block mem matches 2.. run scoreboard players set $parkour_block mem 0
 
 # 蓝色
-execute if score $parkour_block mem matches 0 run setblock 1012 8 1035 air destroy
-execute if score $parkour_block mem matches 0 run setblock 1009 10 1036 air destroy
-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 0 run setblock 1009 16 1051 air destroy
-execute if score $parkour_block mem matches 0 run setblock 1004 17 1050 air destroy
+execute if score $parkour_block mem matches 0 run setblock 1012 8 1035 air
+execute if score $parkour_block mem matches 0 run setblock 1009 10 1036 air
+execute if score $parkour_block mem matches 0 run setblock 1010 10 1033 air
+execute if score $parkour_block mem matches 0 run setblock 1013 10 1032 air
+execute if score $parkour_block mem matches 0 run setblock 1010 12 1030 air
+execute if score $parkour_block mem matches 0 run setblock 1009 16 1051 air
+execute if score $parkour_block mem matches 0 run setblock 1004 17 1050 air
 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
 execute if score $parkour_block mem matches 0 run setblock 1010 13 1030 minecraft:warped_hyphae
 
 # 红色
-execute if score $parkour_block mem matches 1 run setblock 1009 9 1036 air destroy
-execute if score $parkour_block mem matches 1 run setblock 1013 9 1032 air destroy
-execute if score $parkour_block mem matches 1 run setblock 1010 11 1033 air destroy
-execute if score $parkour_block mem matches 1 run setblock 1010 13 1030 air destroy
+execute if score $parkour_block mem matches 1 run setblock 1009 9 1036 air
+execute if score $parkour_block mem matches 1 run setblock 1013 9 1032 air
+execute if score $parkour_block mem matches 1 run setblock 1010 11 1033 air
+execute if score $parkour_block mem matches 1 run setblock 1010 13 1030 air
 execute if score $parkour_block mem matches 1 run setblock 1013 10 1032 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1012 8 1035 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1009 10 1036 minecraft:crimson_hyphae