30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.hurt_on_condition",
|
|
"type": "object",
|
|
"title": "Hurt On Condition 1.16.0",
|
|
"description": "Defines a set of conditions under which an entity should take damage.",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"damage_conditions": {
|
|
"type": "array",
|
|
"title": "Damage Conditions",
|
|
"description": "An array of conditions used to compare the event to.",
|
|
"items": {
|
|
"type": "object",
|
|
"title": "Damage Condition",
|
|
"description": "A condition used to compare the event to.",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"filters": { "$ref": "../../filters/filters.json" },
|
|
"cause": { "type": "string", "title": "Cause", "description": "Damage cause", "$ref": "../../../../general/entity/damage_source.json" },
|
|
"damage_per_tick": {
|
|
"type": "integer",
|
|
"title": "Damage Per Tick",
|
|
"description": "Amount of damage done each tick that the conditions are met."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|