28 lines
891 B
JSON
28 lines
891 B
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.on_death",
|
|
"description": "Adds a trigger to call on this entity's death. minecraft:on_death can only be used by the `ender_dragon` entity.",
|
|
"type": "object",
|
|
"title": "On Death 1.8.0",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"event": {
|
|
"type": "string",
|
|
"description": "The event to run when the conditions for this trigger are met.",
|
|
"title": "Event"
|
|
},
|
|
"filters": {
|
|
"$ref": "../../filters/filters.json",
|
|
"description": "The list of conditions for this trigger to execute.",
|
|
"title": "Filters"
|
|
},
|
|
"target": {
|
|
"type": "string",
|
|
"$ref": "../../filters/filters/types/subject.json",
|
|
"default": "self",
|
|
"description": "The target of the event.",
|
|
"title": "Target"
|
|
}
|
|
}
|
|
}
|