Explorar o código

让节奏方块不是那么烦人

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
56d22b1681

+ 0 - 1
data/ltw/functions/advancement/eastereggs/grant_root.mcfunction

@@ -1 +0,0 @@
-advancement grant @s only ltw:eastereggs/root

+ 1 - 1
data/ltw/functions/state/0/parkour/tempo_block/tempo_blue.mcfunction

@@ -5,4 +5,4 @@ execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_red_r] run setblock ~ ~
 execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_blue_r] run setblock ~ ~0.4 ~ redstone_block
 
 # 播放音效
-execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a ~ ~0.4 ~ 0.5 0.6
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[distance=..7] ~ ~0.4 ~ 0.5 0.6

+ 1 - 1
data/ltw/functions/state/0/parkour/tempo_block/tempo_red.mcfunction

@@ -5,4 +5,4 @@ execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_blue_r] run setblock ~
 execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_red_r] run setblock ~ ~0.4 ~ redstone_block
 
 # 播放音效
-execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a ~ ~0.4 ~ 0.5 1.1
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[distance=..7] ~ ~0.4 ~ 0.5 1.1

+ 1 - 1
data/ltw/functions/state/0/parkour/tempo_block/tempo_sound.mcfunction

@@ -1,3 +1,3 @@
 # 播放音效
 
-execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.snare block @a ~ ~0.4 ~ 0.4 2
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.snare block @a[distance=..7] ~ ~0.4 ~ 0.4 2

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

@@ -3,4 +3,4 @@ execute at @e[type=armor_stand,tag=parkour_tempo,tag=tempo_red] run setblock ~ ~
 execute at @e[type=armor_stand,tag=parkour_tempo,tag=tempo_blue] run setblock ~ ~0.4 ~ warped_hyphae
 
 # 播放音效 (1007 15 1051)(1010 10 1033)
-execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~0.4 ~ 0.5 0.6
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal,distance=..7] ~ ~0.4 ~ 0.5 0.6

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

@@ -2,4 +2,4 @@ execute at @e[type=armor_stand,tag=parkour_tempo,tag=tempo_blue] run setblock ~
 execute at @e[type=armor_stand,tag=parkour_tempo,tag=tempo_red] run setblock ~ ~0.4 ~ crimson_hyphae
 
 # 播放音效 (1007 15 1051)(1010 10 1033)
-execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~0.4 ~ 0.5 1.1
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal,distance=..7] ~ ~0.4 ~ 0.5 1.1

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

@@ -1,2 +1,2 @@
 # 音效
-execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.snare block @a[tag=parkour_portal] ~ ~0.4 ~ 0.4 2
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.snare block @a[tag=parkour_portal,distance=..7] ~ ~0.4 ~ 0.4 2