LTCatt 6 лет назад
Родитель
Сommit
568293caa6

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

@@ -3,4 +3,4 @@ execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_red] run setblock ~ ~ ~
 execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_blue] run setblock ~ ~ ~ blue_concrete
 
 # 播放音效
-execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 0.8 0.6
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a ~ ~ ~ 0.5 0.6

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

@@ -3,4 +3,4 @@ execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_blue] run setblock ~ ~
 execute at @e[type=armor_stand,tag=lobby_tempo,tag=tempo_red] run setblock ~ ~ ~ red_concrete
 
 # 播放音效
-execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 0.8 1.1
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a ~ ~ ~ 0.5 1.1

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

@@ -1,2 +1,3 @@
 # 播放音效
-playsound block.note_block.snare block @a 10 25 24 1 2
+
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.snare block @a ~ ~ ~ 0.6 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 ~ ~ ~ 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] ~ ~ ~ 1 0.6
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 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 ~ ~ ~ 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] ~ ~ ~ 1 1.1
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 0.5 1.1

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

@@ -1,3 +1,2 @@
 # 音效
-playsound block.note_block.snare block @a[tag=parkour_portal] 1007 15 1051 1 2
-playsound block.note_block.snare block @a[tag=parkour_portal] 1010 10 1033 1 2
+execute at @e[type=armor_stand,tag=parkour_tempo] run playsound block.note_block.snare block @a[tag=parkour_portal] ~ ~ ~ 0.6 2

+ 9 - 8
data/mini/functions/parkour/game_init.mcfunction

@@ -35,15 +35,16 @@ summon minecraft:falling_block 1014 23 1057 {Time:1,NoGravity:1b,BlockState:{Nam
 summon minecraft:falling_block 1014 23 1056 {Time:1,NoGravity:1b,BlockState:{Name:"nether_portal",Properties:{axis:z}},Tags:["parkour_block"]}
 
 # 生成宝藏实体
-summon armor_stand 1009.50 14.50 1007.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1021.50 15.50 1016.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1008.50 30.50 1020.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1011.50 19.50 1058.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1026.50 18.50 1047.00 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1004.50 18.50 1043.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1013.00 08.50 1041.00 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
-summon armor_stand 1007.50 13.50 1025.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b}
+summon armor_stand 1009.50 14.50 1007.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1021.50 15.50 1016.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1008.50 30.50 1020.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1011.50 19.50 1058.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1026.50 18.50 1047.00 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1004.50 18.50 1043.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1013.00 08.50 1041.00 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
+summon armor_stand 1007.50 13.50 1025.50 {Tags:["treasure_item"],DisabledSlots:7967,ArmorItems:[{},{},{},{id:"chest",Count:1}],Invisible:1b,Small:1b,NoGravity:1b,Marker:1b}
 team join gold @e[tag=treasure_item]
+effect give @e[tag=treasure_item] glowing 1000000 0 true
 
 # 伤害管理
 scoreboard players set $remove_resistance mem 0