[
  {
    "on": "block_broken",
    "parameters": {
      "block": {
        "block": "minecraft:spawner"
      }
    },
    "conditions": {
      "dimension": "minecraft:overworld",
      "random": 0.3
    },
    "command": [
      "/say §c你惊动了附近的僵尸！(You have alerted the nearby zombies!)"
    ],
    "spawn": {
      "mob": ["minecraft:zombie"],
      "mincount": 6,
      "maxcount": 9,
      "mindistance": 10,
      "maxdistance": 13,
      "attempts": 30,
      "norestrictions": true
    }
  },
  {
    "on": "mob_killed",
    "parameters": {
      "mob": ["ascendants:reaper"],
      "player": true
    },
    "conditions": {
      "random": 1.0
    },
    "command": [
      "/difficulty peaceful",
      "/say §c所有幸存者，死神已被击败，世界恢复了安宁！§f― 短波电台(§cAll survivors, the Reaper has been defeated, peace has returned to the world! §f—Shortwave Radio)"
    ]
  }
]