LTCatt 6 лет назад
Родитель
Сommit
04dc723f88

+ 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] ~ ~ ~ 1 0.6
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 0.8 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] ~ ~ ~ 1 1.1
+execute at @e[type=armor_stand,tag=lobby_tempo] run playsound block.note_block.pling block @a[tag=parkour_portal] ~ ~ ~ 0.8 1.1

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

@@ -1,2 +1,2 @@
 # 播放音效
-playsound block.note_block.snare block @a 10 31 24 1 2
+playsound block.note_block.snare block @a 10 25 24 1 2

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

@@ -17,6 +17,7 @@ setblock 1000 4 1032 air
 kill @e[type=arrow]
 kill @e[type=item]
 kill @e[type=falling_block,tag=parkour_block]
+kill @e[tag=treasure_item]
 kill @e[type=trident]
 
 # 生成节奏方块实体
@@ -34,14 +35,14 @@ 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 item 1009.50 14.50 1007.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"营地屋顶"'}
-summon item 1021.50 15.50 1016.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"沙漠骨骸"'}
-summon item 1008.50 30.50 1020.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"神庙立柱"'}
-summon item 1011.50 19.50 1058.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"下界之门"'}
-summon item 1026.50 18.50 1047.00 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"落日森林"'}
-summon item 1004.50 18.50 1043.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"地狱之顶"'}
-summon item 1013.00 08.50 1041.00 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"节奏舞厅"'}
-summon item 1007.50 13.50 1025.50 {Tags:["treasure_item"],Age:-32768,PickupDelay:32768,NoGravity:1,Invulnerable:1,CustomNameVisible:1,Glowing:1,Motion:[0,0,0],Item:{id:"chest",Count:1},CustomName:'"末路营火"'}
+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}
 team join gold @e[tag=treasure_item]
 
 # 伤害管理