Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/components/minecraft.on_hurt.json

15 lines
762 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.on_hurt",
"description": "Adds a trigger to call when this entity takes damage.",
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "On Hurt 1.8.0",
2020-11-01 17:22:42 +01:00
"additionalProperties": false,
"required": [],
"properties": {
2021-03-21 15:18:38 +01:00
"event": { "type": "string", "description": "The event to run when the conditions for this trigger are met", "title": "TODO Title" },
"filters": { "$ref": "../filters.json", "description": "The list of conditions for this trigger", "title": "TODO Title" },
"target": { "type": "string", "$ref": "../filters/types/base_subject.json", "default": "self", "description": "The target of the event", "title": "TODO Title" }
2020-11-01 17:22:42 +01:00
}
}