tick20.mcfunction 400 B

12345
  1. #土豆倒计时
  2. execute if score $hotpm_timer mem matches 1.. run scoreboard players remove $hotpm_timer mem 1
  3. execute if score $hotpm_timer mem matches 1.. run title @a actionbar [{"text":"土豆爆炸: ","color":"red"},{"score": { "name": "$hotpm_timer","objective": "mem"},"color":"gold"}]
  4. #爆炸
  5. execute if score $hotpm_timer mem matches 0 as @a[tag=hpm_holding] run function mini:hotpm/pm_boom