Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.16.0/components/minecraft.area_attack.json

30 lines
1000 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.16.0.minecraft.area_attack",
"type": "object",
"title": "Area attack 1.16.0",
"description": "A component that does damage to entities that get within range.",
"additionalProperties": false,
"properties": {
"damage_per_tick": {
"type": "integer",
"default": 2,
"description": "How much damage per tick is applied to entities that enter the damage range.",
"title": "Damage per tick"
},
"damage_range": {
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the damage applied.",
"title": "Damage range"
},
2021-01-18 01:29:00 +01:00
"entity_filter": { "$ref": "../filters.json", "description": "Entity_filter", "title": "Filter" },
2020-11-01 17:22:42 +01:00
"cause": {
"type": "string",
"description": "TODO",
"title": "Cause",
2021-03-11 11:53:21 +01:00
"$ref": "../../../../general/entity/damage_source.json"
2020-11-01 17:22:42 +01:00
}
}
}