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

20 lines
943 B
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.16.0.minecraft.area_attack",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Area Attack 1.16.0",
2020-11-01 17:22:42 +01:00
"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.",
2021-03-21 15:18:38 +01:00
"title": "Damage Per Tick"
2020-11-01 17:22:42 +01:00
},
2021-03-21 15:18:38 +01:00
"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" },
2021-03-21 15:18:38 +01:00
"cause": { "type": "string", "description": "TODO", "title": "Cause", "$ref": "../../../../general/entity/damage_source.json" }
2020-11-01 17:22:42 +01:00
}
}