pm_boom.mcfunction 485 B

12345678910
  1. #玩家失败
  2. function mini:hotpm/pm_lost
  3. # 告知玩家
  4. tellraw @a [{"text":">> ","color":"gold","bold": true},{"selector":"@s","color":"yellow","bold": false},{"text":" 爆炸了!","color":"white","bold": false}]
  5. #记录位置
  6. execute at @s run summon minecraft:area_effect_cloud ~ ~ ~ {Tags:["pm_boom"]}
  7. #减少生命
  8. function mini:hotpm/player_failed
  9. #选新土豆
  10. execute if score $alive mem matches 2.. as @e[type=area_effect_cloud,tag=pm_boom] run function mini:hotpm/pm_init