Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json
2021-07-01 16:35:56 +02:00

36 lines
1.2 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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": {
"type": "object",
"title": "Damage Condition",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"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": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED"
}
}
}
}
}
}