Forráskód Böngészése

取消传送音效,因为tm放不出来

LTCatt 6 éve
szülő
commit
f1b5716cd2

+ 2 - 2
data/mini/functions/hotpm/tick2.mcfunction

@@ -1,8 +1,8 @@
 # 土豆倒计时
 title @a[tag=pm_hoding] actionbar [{"text":"土豆爆炸: ","color":"red","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
 execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=..8] actionbar [{"text":"土豆爆炸: ","color":"gold","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
-execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=8..14] actionbar [{"text":"土豆爆炸: ","color":"yellow","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
-execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=14..] actionbar [{"text":"土豆爆炸: ","color":"green","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=8..17] actionbar [{"text":"土豆爆炸: ","color":"yellow","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
+execute as @a[tag=pm_hoding] at @s run title @a[tag=!pm_hoding,distance=17..] actionbar [{"text":"土豆爆炸: ","color":"green","bold": true},{"score": { "name": "$countdown_fast","objective": "mem"}}]
 
 # 爆炸
 execute if score $countdown_fast mem matches 0 as @a[tag=pm_hoding] at @s run function mini:hotpm/player_lose_heart

+ 0 - 1
data/mini/functions/hotpm/tick5.mcfunction

@@ -1,6 +1,5 @@
 # 传送
 execute as @a[gamemode=!spectator] at @s if block ~ ~-1 ~ minecraft:barrier run tp ~ ~17.5 ~
-execute as @a[gamemode=!spectator] at @s if block ~ ~-1 ~ minecraft:barrier run function lib:sounds/teleport
 
 # 给持有者播放音效
 execute as @a[tag=pm_hoding] at @s run function lib:sounds/creeper