LTCatt 6 lat temu
rodzic
commit
2a69b511df

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

@@ -8,24 +8,24 @@ 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 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 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 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 1009 18 1051 air
 execute if score $parkour_block mem matches 0 run setblock 1004 15 1050 air
 execute if score $parkour_block mem matches 0 run setblock 1004 15 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 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 11 1030 minecraft:warped_hyphae
 
 
 # 红色
 # 红色
 execute if score $parkour_block mem matches 1 run setblock 1009 9 1036 air
 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 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 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 1010 11 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 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 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 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 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 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 1009 18 1051 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1004 15 1050 minecraft:crimson_hyphae
 execute if score $parkour_block mem matches 1 run setblock 1004 15 1050 minecraft:crimson_hyphae
 
 
 # 音效
 # 音效

+ 3 - 3
data/mini/functions/parkour/tick20.mcfunction

@@ -4,12 +4,12 @@ scoreboard players set $random_min mem 1
 function lib:random
 function lib:random
 execute if score $random mem matches 2 if score $parkour_door mem matches 1 run playsound block.portal.ambient ambient @a 1014.5 22 1057.5
 execute if score $random mem matches 2 if score $parkour_door mem matches 1 run playsound block.portal.ambient ambient @a 1014.5 22 1057.5
 
 
-# 强制开门:只差一个人没到触发
+# 强制开门:全部到达触发
 function mini:main/update_player_count
 function mini:main/update_player_count
-execute store result score #arrived mem if entity @a[x=1015.0,y=20.0,z=1055.0,dx=2,dy=4,dz=4,tag=mini_running,tag=!watcher,scores={mini_score=-10..}]
+execute store result score #arrived mem unless entity @a[x=1015.0,y=20.0,z=1055.0,dx=2,dy=4,dz=4,tag=mini_running,tag=!watcher,scores={mini_score=-10..}]
 scoreboard players operation #not_arrive mem = $player_alive mem
 scoreboard players operation #not_arrive mem = $player_alive mem
 scoreboard players operation #not_arrive mem -= #arrived mem
 scoreboard players operation #not_arrive mem -= #arrived mem
-execute if score #not_arrive mem matches ..1 run scoreboard players set $countdown mem 0
+execute if score #not_arrive mem matches 0 run scoreboard players set $countdown mem 0
 
 
 # 强制开门:倒计时 90s 触发
 # 强制开门:倒计时 90s 触发
 execute if score $countdown mem matches 0 if score $parkour_door mem matches 0 run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"text": "一股神秘的力量推开了大门!","color":"green"}]
 execute if score $countdown mem matches 0 if score $parkour_door mem matches 0 run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"text": "一股神秘的力量推开了大门!","color":"green"}]