tick20.mcfunction 418 B

12345678
  1. # 土豆倒计时
  2. execute if score $countdown mem matches 1.. run title @a actionbar [{"text":"土豆爆炸: ","color":"red","bold": true},{"score": { "name": "$countdown","objective": "mem"}}]
  3. # 给持有者播放音效
  4. execute as @a[tag=pm_hoding] at @s run playsound minecraft:entity.creeper.primed player @s
  5. # 爆炸
  6. execute if score $countdown mem matches 0 as @a[tag=pm_hoding] run function mini:hotpm/pm_boom