Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.16.0/components/minecraft.area_attack.json
2021-07-01 11:35:53 +02:00

30 lines
1.0 KiB
JSON

{
"$id": "blockception.minecraft.behavior.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"
},
"entity_filter": { "$ref": "../../filters/filters.json", "description": "Entity_filter", "title": "Filter" },
"cause": {
"type": "string",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"title": "Cause",
"$ref": "../../../../general/entity/damage_source.json"
}
}
}