Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.hurt_on_condition.json

26 lines
910 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.hurt_on_condition",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Hurt On Condition 1.16.0",
2020-11-01 17:22:42 +01:00
"description": "Defines a set of conditions under which an entity should take damage.",
"additionalProperties": false,
"properties": {
"damage_conditions": {
"type": "array",
2021-03-21 15:18:38 +01:00
"title": "Damage Conditions",
2020-11-01 17:22:42 +01:00
"description": "TODO",
"items": {
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Damage Condition",
2020-11-01 17:22:42 +01:00
"description": "TODO",
"additionalProperties": false,
"properties": {
2021-03-21 15:18:38 +01:00
"filters": { "$ref": "../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": "TODO" }
2020-11-01 17:22:42 +01:00
}
}
}
}
}