Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/dragonchargeplayer.json
2022-07-22 19:41:04 +02:00

43 lines
1.5 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.dragonchargeplayer",
"additionalProperties": false,
"type": "object",
"title": "Dragonchargeplayer",
"description": "Allows this entity to attack a player by charging at them. The player is chosen by the \"minecraft:behavior.dragonscanning\". Can only be used by the Ender Dragon.",
"properties": {
"priority": {
"$ref": "./types/priority.json"
},
"active_speed": {
"title": "Active Speed",
"type": "number",
"default": 1,
"description": "The speed this entity moves when this behavior has started or while it's active."
},
"continue_charge_threshold_time": {
"title": "Continue Charge Threshold Time",
"type": "number",
"default": 0.5,
"description": "If the dragon is outside the \."target_zone\" for longer than \"continue_charge_threshold_time\" seconds, the charge is canceled."
},
"flight_speed": {
"title": "Flight Speed",
"type": "number",
"default": 0.6,
"description": "The speed this entity moves while this behavior is not active."
},
"target_zone": {
"title": "Target Zone",
"$ref": "../types/range_number_type.json",
"default": [10, 150],
"description": "Minimum and maximum distance, from the target, this entity can use this behavior."
},
"turn_speed": {
"title": "Turn Speed",
"type": "number",
"default": 0.7,
"description": "The speed at which this entity turns while using this behavior."
}
}
}