Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/behaviors/minecraft.behavior.delayed_attack.json
2020-12-12 00:09:25 +01:00

65 lines
2.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.delayed_attack",
"additionalProperties": false,
"type": "object",
"title": "Behavior.delayed_attack 1.8.0",
"description": "Allows the mob to drink potions based on specified environment conditions.",
"properties": {
"priority": { "$ref": "./types/base_priority.json" },
"speed_multiplier": { "$ref": "./types/base_speed_multiplier.json" },
"attack_duration": {
"type": "number",
"default": 1,
"description": "The duration of the attack animation in seconds",
"title": "TODO title"
},
"attack_once": {
"type": "boolean",
"default": false,
"description": "If true, this mob will attack only one time.",
"title": "TODO title"
},
"attack_types": {
"type": "string",
"default": "",
"description": "Defines the entity types this mob will attack",
"title": "TODO title"
},
"hit_delay_pct": {
"type": "number",
"default": 1,
"description": "The percentage of the attack_duration that must pass before the hit is made",
"title": "TODO title"
},
"random_stop_interval": {
"type": "integer",
"default": 0,
"description": "Defines the probability the mob will stop fighting. A value of 0 disables randomly stopping, while a value of 1 defines a 50% chance",
"title": "TODO title"
},
"reach_multiplier": {
"type": "number",
"default": 2,
"description": "Multiplier for how far outside its box the mob can reach its target (this can be used to simulate a mob with longer arms by making this bigger)",
"title": "TODO title"
},
"require_complete_path": {
"type": "boolean",
"title": "Require complet path",
"description": "UNDOCUMENATED"
},
"sound_event": {
"type": "string",
"description": "The sound event to play when the attack starts",
"title": "TODO title"
},
"track_target": {
"type": "boolean",
"default": false,
"description": "If true, this mob will chase after the target as long as it's a valid target",
"title": "TODO title"
}
}
}