|
@@ -1,18 +1,8 @@
|
|
|
-# 似乎不需要播放音效,方块破坏的时候自带音效了
|
|
|
|
|
-# 顺带一提,下次放音效记得 execute as @a at @s,给服务器放 rap 没什么卵用
|
|
|
|
|
-# function lib:sounds/error
|
|
|
|
|
-
|
|
|
|
|
|
|
+# 切换节奏方块状态
|
|
|
scoreboard players add $parkour_block mem 1
|
|
scoreboard players add $parkour_block mem 1
|
|
|
-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 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
|
|
|
|
|
-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 2.. run scoreboard players set $parkour_block mem 0
|
|
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 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 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 1010 10 1033 air destroy
|
|
@@ -21,4 +11,15 @@ execute if score $parkour_block mem matches 0 run setblock 1010 12 1030 air dest
|
|
|
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 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 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 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 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 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
|
|
|
|
|
+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
|