LTCatt 6 年之前
父節點
當前提交
e700a5868e
共有 2 個文件被更改,包括 2 次插入 和 2 次删除
  1. 1 1
      data/mini/functions/parkour/tick20.mcfunction
  2. 1 1
      data/mini/functions/parkour/tick5.mcfunction

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

@@ -1,3 +1,3 @@
 # 地狱门音效
-execute if score $countdown mem matches 0 if score $parkour_door mem matches 1 run playsound block.portal.ambient ambient @a 1014.5 22 1057.5 0.7
+execute if score $countdown mem matches 0 if score $parkour_door mem matches 1 run playsound block.portal.ambient ambient @a 1014.5 22 1057.5
 execute unless score $countdown mem matches 1.. run scoreboard players set $countdown mem 3

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

@@ -9,4 +9,4 @@ execute if score $parkour_door mem matches 1 run particle minecraft:portal 1014.
 
 # 标记是否通过传送门
 tag @a[x=1015.0,y=20.0,z=1055.0,dx=2,dy=4,dz=4,gamemode=!spectator] remove parkour_portal
-tag @a[x=1012.0,y=20.0,z=1055.0,dx=2,dy=4,dz=4,gamemode=!spectator] add parkour_portal
+tag @a[x=1011.0,y=20.0,z=1055.0,dx=2,dy=4,dz=4,gamemode=!spectator] add parkour_portal