Files
minecraft-bedrock-json-schemas/source/behaviour/entities/1.8.0/behaviors/minecraft.behavior.delayed_attack.json
2021-03-21 15:18:38 +01:00

32 lines
2.0 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": "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" }
}
}