NPC Defeated

ID
"cobblebadges:npc_defeated"

Triggers when an NPC has been defeated.

Data Structure

{
  "npc_id": "[identifier of the npc]" // See Identifier
}

Example

Will trigger when the NPC with the ID [cobblebadges:red] is defeated. (It is an example, CobbleBadges does not add any NPCs)

{
  "npc_id": "cobblebadges:red"
}

Last updated