Explorar o código

一大堆修改

LTCatt %!s(int64=6) %!d(string=hai) anos
pai
achega
85a7f1ba9e

+ 4 - 4
data/item/functions/bonus_item/add_score.mcfunction

@@ -33,7 +33,7 @@ execute if score #bonus_add_score mem matches 200 if entity @s[tag=highest] run
 execute if score #bonus_add_score mem matches 200 if entity @s[tag=!highest] run tellraw @a ["",{"text": ">> ","color":"red","bold": true},{"selector": "@p[tag=highest]","color":"red"}," 被偷取了 ",{"text": "1 分","color":"red"},", 当前共有 ",{"score": {"name": "@p[tag=highest]","objective": "total_score"}}, " 分"]
 execute if score #bonus_add_score mem matches 200 if entity @s[tag=!highest] run tellraw @a ["",{"text": ">> ","color":"green","bold": true},{"selector": "@s","color":"green"}," 偷取了 ",{"text": "1 分","color":"green"},", 当前共有 ",{"score": {"name": "@s","objective": "total_score"}}, " 分"]
 
-# 300:金粒 +1
-execute if score #bonus_add_score mem matches 300 run scoreboard players add @s gold 1
-execute if score #bonus_add_score mem matches 300 run scoreboard players add @s gold_total 1
-execute if score #bonus_add_score mem matches 300 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s","color":"aqua"}," 获得了 1 金粒"]
+# 300:金粒 +2
+execute if score #bonus_add_score mem matches 300 run scoreboard players add @s gold 2
+execute if score #bonus_add_score mem matches 300 run scoreboard players add @s gold_total 2
+execute if score #bonus_add_score mem matches 300 run tellraw @a ["",{"text": ">> ","color":"aqua","bold": true},{"selector": "@s","color":"aqua"}," 获得了 2 金粒"]

+ 5 - 1
data/item/loot_tables/gameparty/last/white.json

@@ -38,9 +38,13 @@
     "weight": 2,
     "name": "minecraft:gold_nugget",
     "functions": [
+        {
+            "function": "minecraft:set_count",
+            "count": 2
+        },
         {
             "function": "minecraft:set_nbt",
-            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"金粒 +1\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":300}"
+            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"金粒 +2\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":300}"
         }
     ]
 }

+ 5 - 1
data/item/loot_tables/gameparty/normal/white.json

@@ -38,9 +38,13 @@
     "weight": 8,
     "name": "minecraft:gold_nugget",
     "functions": [
+        {
+            "function": "minecraft:set_count",
+            "count": 2
+        },
         {
             "function": "minecraft:set_nbt",
-            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"金粒 +1\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":300}"
+            "tag": "{\"item_name\":\"{\\\"text\\\":\\\"金粒 +2\\\",\\\"color\\\":\\\"white\\\"}\",\"is_bonus\":1b,\"bonus_new\":1b,\"bonus_add_score\":300}"
         }
     ]
 },

+ 24 - 20
data/ltw/functions/main/game_end.mcfunction

@@ -19,7 +19,7 @@ tag @a[tag=max_uncounted] remove max_uncounted
 
 # 计算金粒奖励
 scoreboard players set #total_gold mem 0
-execute as @a[tag=!watcher] run scoreboard players add #total_gold mem 900
+execute as @a[tag=!watcher] run scoreboard players add #total_gold mem 400
 # 无名次
 execute as @a[tag=!total_rank1,tag=!total_rank2,tag=!total_rank3,tag=!watcher] run scoreboard players remove #total_gold mem 100
 # 计算总权重与单份奖励
@@ -38,32 +38,36 @@ scoreboard players operation #rank2_gold mem /= #const_100 mem
 scoreboard players set #rank3_gold mem 1
 scoreboard players operation #rank3_gold mem *= #total_gold mem
 scoreboard players operation #rank3_gold mem /= #const_100 mem
-# 如果因为掉线强制结束则无奖励
+# 如果因为掉线强制结束则无名次奖励
 execute store result score #count mem if entity @a[tag=!watcher]
 execute if score #count mem matches ..2 run scoreboard players set #rank1_gold mem 0
 execute if score #count mem matches ..2 run scoreboard players set #rank2_gold mem 0
 execute if score #count mem matches ..2 run scoreboard players set #rank3_gold mem 0
 
 # 显示排名
-tellraw @a ["",{"text":"\n\n\n\n----- 游戏结束 -----\n","color":"green","bold":true}]
-tellraw @a ["",{"text": "第一名 - ","color":"green"},{"selector": "@a[tag=total_rank1]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank1]","objective": "total_score"},"color":"gray"},{"text":", +","color":"gray"},{"score":{"name": "#rank1_gold","objective": "mem"},"color":"gray"},{"text":"g)","color":"gray"}]
-execute if entity @a[tag=total_rank2] run tellraw @a ["",{"text": "第二名 - ","color":"green"},{"selector": "@a[tag=total_rank2]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank2]","objective": "total_score"},"color":"gray"},{"text":", +","color":"gray"},{"score":{"name": "#rank2_gold","objective": "mem"},"color":"gray"},{"text":"g)","color":"gray"}]
-execute if entity @a[tag=total_rank3] run tellraw @a ["",{"text": "第三名 - ","color":"green"},{"selector": "@a[tag=total_rank3]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank3]","objective": "total_score"},"color":"gray"},{"text":", +","color":"gray"},{"score":{"name": "#rank3_gold","objective": "mem"},"color":"gray"},{"text":"g)","color":"gray"}]
-tellraw @a ["\n"]
+tellraw @a [" ",{"text":"\n\n\n\n----- 游戏结束 -----\n","color":"green","bold":true}]
+tellraw @a [" ",{"text": "第一名 - ","color":"green"},{"selector": "@a[tag=total_rank1]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank1]","objective": "total_score"},"color":"gray"},{"text":")","color":"gray"}]
+execute if entity @a[tag=total_rank2] run tellraw @a [" ",{"text": "第二名 - ","color":"green"},{"selector": "@a[tag=total_rank2]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank2]","objective": "total_score"},"color":"gray"},{"text":")","color":"gray"}]
+execute if entity @a[tag=total_rank3] run tellraw @a [" ",{"text": "第三名 - ","color":"green"},{"selector": "@a[tag=total_rank3]","color":"white"},{"text":" (","color":"gray"},{"score":{"name": "@p[tag=total_rank3]","objective": "total_score"},"color":"gray"},{"text":")","color":"gray"}]
+tellraw @a "\n"
 
-# 给予金粒奖励
-execute as @a[tag=total_rank1] run scoreboard players operation @s gold += #rank1_gold mem
-execute as @a[tag=total_rank1] run scoreboard players operation @s gold_total += #rank1_gold mem
-tellraw @a[tag=total_rank1] ["",{"text": ">> ","color":"green","bold": true},"由于获得第一名, 你得到了 ",{"score":{"name": "#rank1_gold","objective": "mem"},"color":"green"},{"text": " 金粒","color":"green"}]
-execute as @a[tag=total_rank2] run scoreboard players operation @s gold += #rank2_gold mem
-execute as @a[tag=total_rank2] run scoreboard players operation @s gold_total += #rank2_gold mem
-tellraw @a[tag=total_rank2] ["",{"text": ">> ","color":"green","bold": true},"由于获得第二名, 你得到了 ",{"score":{"name": "#rank2_gold","objective": "mem"},"color":"green"},{"text": " 金粒","color":"green"}]
-execute as @a[tag=total_rank3] run scoreboard players operation @s gold += #rank3_gold mem
-execute as @a[tag=total_rank3] run scoreboard players operation @s gold_total += #rank3_gold mem
-tellraw @a[tag=total_rank3] ["",{"text": ">> ","color":"green","bold": true},"由于获得第三名, 你得到了 ",{"score":{"name": "#rank3_gold","objective": "mem"},"color":"green"},{"text": " 金粒","color":"green"}]
-scoreboard players add @a[tag=!total_rank1,tag=!total_rank2,tag=!total_rank3,tag=!watcher] gold 1
-scoreboard players add @a[tag=!total_rank1,tag=!total_rank2,tag=!total_rank3,tag=!watcher] gold_total 1
-tellraw @a[tag=!total_rank1,tag=!total_rank2,tag=!total_rank3,tag=!watcher] ["",{"text": ">> ","color":"aqua","bold": true},"由于没有获得名次, 你得到了 ",{"text": "1 金粒","color":"aqua"}]
+# 得分金粒奖励
+execute as @a[tag=!watcher] run scoreboard players operation @s gold += @s total_score
+execute as @a[tag=!watcher] run scoreboard players operation @s gold_total += @s total_score
+tellraw @a[tag=!watcher] [" ",{"text": "得分奖励: ","color":"gold"},{"score":{"name": "@s","objective": "total_score"}}," 金粒"]
+
+# 名次金粒奖励
+scoreboard players set @a temp 0
+execute as @a[tag=total_rank1] run scoreboard players operation @s temp = #rank1_gold mem
+execute as @a[tag=total_rank2] run scoreboard players operation @s temp = #rank2_gold mem
+execute as @a[tag=total_rank3] run scoreboard players operation @s temp = #rank3_gold mem
+scoreboard players set @a[tag=!total_rank1,tag=!total_rank2,tag=!total_rank3,tag=!watcher] temp 1
+execute as @a run scoreboard players operation @s gold += @s temp
+execute as @a run scoreboard players operation @s gold_total += @s temp
+tellraw @a[tag=!watcher] [" ",{"text": "名次奖励: ","color":"gold"},{"score":{"name": "@s","objective": "temp"}}," 金粒"]
+
+# 奖励结束
+tellraw @a[tag=!watcher] "\n"
 
 # 返回主大厅
 schedule function ltw:state/0/state_enter 2t replace

+ 1 - 1
data/ltw/functions/main/player_leave.mcfunction

@@ -4,7 +4,7 @@ execute as @a at @s run function lib:sounds/error
 # 由于玩家人数不足,强制结束游戏
 execute store result score #count mem if entity @a[tag=!watcher]
 execute if score $state mem matches 1.. if score $game_type mem matches 1 if score #count mem matches ..2 run function ltw:main/game_end
-execute if score $state mem matches 1.. if score $game_type mem matches 1 if score #count mem matches ..2 run tellraw @a {"text": "由于玩家人数不足, 游戏直接结束且无金粒奖励","color":"red"}
+execute if score $state mem matches 1.. if score $game_type mem matches 1 if score #count mem matches ..2 run tellraw @a ["",{"text":">> ","color":"red","bold":true},{"text": "由于玩家不足, 游戏强制结束, 无名次金粒奖励……","color":"red","bold":false}]
 
 # 如果携带热土豆的玩家掉线,则重新生成土豆
 execute if score $state mem matches 5 run function mini:main/player_leave

+ 3 - 2
data/mini/functions/hotpm/game/damage_dealt2.mcfunction

@@ -4,5 +4,6 @@ function lib:sounds/hit
 
 # 转移土豆
 function mini:hotpm/game/pm_lost
-execute as @p[tag=pm_damage_taken,tag=!pm_damage_dealt] run function mini:hotpm/game/pm_get
-tellraw @a ["",{"text":">> ","color":"gold","bold":true},{"selector":"@s","color":"gold"}," 将土豆拍在了 ",{"selector":"@a[tag=pm_holding]","color":"gold"}," 的脸上!"]
+tellraw @s ["",{"text":">> ","color":"green","bold":true},"你把炸弹扔到了 ",{"selector":"@p[tag=pm_damage_taken,tag=!pm_damage_dealt]","color":"green"}," 的头上!"]
+tellraw @p[tag=pm_damage_taken,tag=!pm_damage_dealt] ["",{"text":">> ","color":"red","bold":true},{"selector":"@s","color":"red"}," 把炸弹扔到了你的头上!"]
+execute as @p[tag=pm_damage_taken,tag=!pm_damage_dealt] run function mini:hotpm/game/pm_get

+ 3 - 4
data/mini/functions/hotpm/game/pm_init.mcfunction

@@ -2,12 +2,11 @@
 function mini:hotpm/game/pm_get
 
 # 告知玩家
-tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 幸运地获得了美味的土豆!"]
+tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 获得了炸弹!"]
 
-# 土豆爆炸时间 = 存活人数 * 1.5 + 5(秒),最大 10 秒
+# 土豆爆炸时间 = 存活人数 * 2 + 5(秒)
 scoreboard players set $countdown_fast mem 50
-execute as @a[tag=mini_running] run scoreboard players add $countdown_fast mem 15
-#scoreboard players operation $countdown_fast mem < #count_100 mem
+execute as @a[tag=mini_running] run scoreboard players add $countdown_fast mem 20
 scoreboard players operation $countdown_max mem = $countdown_fast mem
 
 # 删除效果云

+ 1 - 1
data/mini/functions/hotpm/player_enter.mcfunction

@@ -11,7 +11,7 @@ effect give @s night_vision 1000000 0 true
 effect give @s resistance 1000000 4 true
 
 # 设置玩家生命
-scoreboard players set @s[tag=!watcher,tag=!rejoining] mini_heart 2
+scoreboard players set @s[tag=!watcher,tag=!rejoining] mini_heart 3
 function mini:main/player_max_health
 
 # 清理 Tag

+ 3 - 3
data/mini/functions/hotpm/player_intro.mcfunction

@@ -1,8 +1,8 @@
 # 向单个玩家展示小游戏介绍
 tp @s[tag=!debug] 1022 25 3038 180 20
-tellraw @s ["",{"text":"\n >> 热土豆 >>\n\n","color":"gold","bold":true}, " 有一个人会获得土豆附身, 在土豆爆炸前攻击他人, 将土豆转移到他人身上!\n"]
-tellraw @s ["",{"text": " <生命淘汰制> ","color":"red","bold": true}, {"text":"你有 2 条生命, 生命耗尽后即被淘汰。","color":"gray"}]
-tellraw @s ["",{"text": " <PVP> ","color":"light_purple","bold": true}, {"text":"攻击其他玩家可以转移土豆, 远程伤害同样有效。","color":"gray"}]
+tellraw @s ["",{"text":"\n >> 炸弹狂魔 >>\n\n","color":"gold","bold":true}, " 在炸弹爆炸前攻击他人, 将炸弹扔到其他人身上!\n"]
+tellraw @s ["",{"text": " <生命淘汰制> ","color":"red","bold": true}, {"text":"你有 3 条生命, 生命耗尽后即被淘汰。","color":"gray"}]
+tellraw @s ["",{"text": " <PVP> ","color":"light_purple","bold": true}, {"text":"攻击其他玩家可以转移炸弹, 远程伤害同样有效。","color":"gray"}]
 tellraw @s ["",{"text": " <额外道具> ","color":"aqua","bold": true}, {"text":"小游戏地图中存在 2 个白色道具。","color":"gray"}]
 tellraw @s ["",{"text": " <原型> ","color":"gold","bold": true}, {"text":"此游戏目前仅用于玩法测试, 尚未进行修缮。","color":"gray"}]
 tellraw @s ""

+ 1 - 1
data/mini/functions/hotpm/player_leave.mcfunction

@@ -1,4 +1,4 @@
 # 玩家下线时检测重新生成土豆
 
-execute unless entity @a[tag=pm_holding] run tellraw @a ["",{"text":">> ","color":"red","bold": true},"由于有玩家带着土豆跑路了, 正在为土豆选择更适合它的拥有者!"]
+execute unless entity @a[tag=pm_holding] run tellraw @a ["",{"text":">> ","color":"red","bold": true},"由于有玩家带着炸弹跑路了, 正在为炸弹选择更适合它的拥有者!"]
 execute unless entity @a[tag=pm_holding] run function mini:hotpm/game/pm_init_first

+ 1 - 1
data/mini/functions/hotpm/player_lose_heart.mcfunction

@@ -1,6 +1,6 @@
 # 玩家失败时由玩家自己触发
 
-tellraw @a ["",{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"gold"}," 爆炸了!"]
+tellraw @a ["",{"text":">> ","color":"red","bold": true},{"selector":"@s","color":"red"}," 爆炸了!"]
 # 玩家失去土豆
 function mini:hotpm/game/pm_lost
 # 特效

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

@@ -4,10 +4,10 @@ execute if score $countdown_fast mem matches 0 as @a[tag=pm_holding] at @s run f
 # HUD
 scoreboard players set $bossbar_color mem 0
 scoreboard players set @a[tag=pm_holding] bossbar_color 1
-execute as @p[tag=pm_holding] at @s run scoreboard players set @a[tag=!pm_holding,distance=..15] bossbar_color 2
-execute as @p[tag=pm_holding] at @s run scoreboard players set @a[tag=!pm_holding,distance=15..] bossbar_color 3
+execute as @p[tag=pm_holding] at @s run scoreboard players set @a[tag=!pm_holding,distance=..12] bossbar_color 2
+execute as @p[tag=pm_holding] at @s run scoreboard players set @a[tag=!pm_holding,distance=12..] bossbar_color 3
 scoreboard players set $bossbar_type mem 1
 function lib:bossbar/show
-bossbar set mini:green name "土豆爆炸"
-bossbar set mini:yellow name "土豆爆炸"
-bossbar set mini:red name "土豆爆炸"
+bossbar set mini:green name "炸弹爆炸"
+bossbar set mini:yellow name "炸弹爆炸"
+bossbar set mini:red name {"text":"炸弹爆炸","color":"red"}

+ 3 - 3
data/mini/functions/main/show_result.mcfunction

@@ -1,8 +1,8 @@
 # 显示小游戏排名并给分
 
-execute if entity @a[tag=mini_rank2] if entity @a[tag=mini_rank3] run tellraw @s [{"text":"\n>> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": "第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},{"text": "\n第二名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank2]","color":"white","bold": false},{"text": "\n第三名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank3]","color":"white","bold": false},"\n"]
-execute if entity @a[tag=mini_rank2] unless entity @a[tag=mini_rank3] run tellraw @s [{"text":"\n>> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": "第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},{"text": "\n第二名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank2]","color":"white","bold": false},"\n"]
-execute unless entity @a[tag=mini_rank2] run tellraw @s [{"text":"\n>> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": "第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},"\n"]
+execute if entity @a[tag=mini_rank2] if entity @a[tag=mini_rank3] run tellraw @s [{"text":"\n >> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": " 第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},{"text": "\n 第二名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank2]","color":"white","bold": false},{"text": "\n 第三名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank3]","color":"white","bold": false},"\n"]
+execute if entity @a[tag=mini_rank2] unless entity @a[tag=mini_rank3] run tellraw @s [{"text":"\n >> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": " 第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},{"text": "\n 第二名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank2]","color":"white","bold": false},"\n"]
+execute unless entity @a[tag=mini_rank2] run tellraw @s [{"text":"\n >> 小游戏结束 >>\n\n","color":"gold","bold":true},{"text": " 第一名 - ","color":"green","bold": false},{"selector": "@a[tag=mini_rank1]","color":"white","bold": false},"\n"]
 
 # 记分
 # scoreboard players add @s[tag=mini_rank1,tag=!watcher] total_score 3

+ 0 - 1
data/mini/functions/phantom/game/clear_effect.mcfunction

@@ -1 +0,0 @@
-effect clear @a regeneration

+ 2 - 2
data/mini/functions/phantom/game/summon2.mcfunction

@@ -1,5 +1,5 @@
 
-execute as @e[tag=new_phantom] at @s run tp @s ~ 35 ~
+execute as @e[tag=new_phantom] at @s run tp @s ~ 30 ~
 
 # 随机生命值
 scoreboard players set $random_min mem 1
@@ -9,6 +9,6 @@ execute if score $random mem matches 1 run attribute @e[tag=new_phantom,limit=1]
 execute if score $random mem matches 2 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 4
 execute if score $random mem matches 3 run attribute @e[tag=new_phantom,limit=1] generic.max_health base set 5
 
-attribute @e[tag=new_phantom,limit=1] generic.attack_damage base set 6
+attribute @e[tag=new_phantom,limit=1] generic.attack_damage base set 4
 effect give @e[tag=new_phantom] instant_damage
 tag @e[tag=new_phantom] remove new_phantom

+ 3 - 2
data/mini/functions/phantom/tick20.mcfunction

@@ -12,5 +12,6 @@ execute if score $countdown mem matches ..10 as @a at @s run function lib:sounds
 execute if score $countdown mem matches 0 run function mini:main/game_end
 
 # 回复生命值
-execute if score $twice mem matches 1 run effect give @a regeneration 1 10 true
-execute if score $twice mem matches 1 run schedule function mini:phantom/game/clear_effect 1t replace
+# execute if score $twice mem matches 1 run effect give @a regeneration 1 10 true
+# execute if score $twice mem matches 1 run schedule function mini:phantom/game/clear_effect 1t replace
+# effect clear @a regeneration

+ 1 - 1
data/mini/functions/tntrun/player_intro.mcfunction

@@ -1,6 +1,6 @@
 # 向单个玩家展示小游戏介绍
 tp @s[tag=!debug] 1011.5 18.0 2019.0 180 15
-tellraw @s ["",{"text":"\n >> TNT Run >>\n\n","color":"gold","bold":true}," 你脚下的方块会不断塌陷, 所以, 不要停下来啊!\n"]
+tellraw @s ["",{"text":"\n >> 地陷之坛 >>\n\n","color":"gold","bold":true}," 你脚下的方块会不断塌陷! 保持移动, 千万不要停下来!\n"]
 tellraw @s ["",{"text": " <淘汰制> ","color":"red","bold": true}, {"text":"场地一共有三层, 掉到最下面即被淘汰。","color":"gray"}]
 tellraw @s ["",{"text": " <PVP 干扰> ","color":"light_purple","bold": true}, {"text":"攻击其他玩家可以造成击退, 但没有伤害。","color":"gray"}]
 tellraw @s ["",{"text": " <额外道具> ","color":"aqua","bold": true}, {"text":"小游戏地图中存在 1 个白色道具。","color":"gray"}]

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

@@ -1,7 +1,7 @@
 # 控制方块消失
 
-# 修改下面这一行的数字以调整方块消失的延迟(单位为 2 刻,设置为 6 则为 12tick)
-execute as @e[tag=tntrun_block,scores={tntrun_timer=6}] at @s run setblock ~ ~ ~ air
+# 修改下面这一行的数字以调整方块消失的延迟(单位为 2 刻,设置为 5 则为 10tick)
+execute as @e[tag=tntrun_block,scores={tntrun_timer=5}] at @s run setblock ~ ~ ~ air
 scoreboard players add @e[tag=tntrun_block] tntrun_timer 1
 execute as @e[tag=tntrun_block] at @s unless block ~ ~ ~ #mini:tntrun_floor run kill @s
 execute as @e[tag=tntrun_edge] at @s unless entity @a[tag=tntrun_pc,distance=..1.51] run kill @s