Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/behaviors/dragonstrafeplayer.json

61 lines
2.3 KiB
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.dragonstrafeplayer",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Dragonstrafeplayer",
"description": "Allows this entity to fly around looking for a player to shoot fireballs at. Can only be used by the Ender Dragon.",
2021-10-11 18:13:12 +02:00
"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."
},
"fireball_range": {
"title": "Fireball Range",
"type": "number",
"default": 64,
"description": "Maximum distance of this entity's fireball attack while strafing."
},
"flight_speed": {
"title": "Flight Speed",
"type": "number",
"default": 0.6,
"description": "The speed this entity moves while this behavior is not active."
},
"switch_direction_probability": {
"title": "Switch Direction Probability",
"type": "number",
"default": 0.125,
"description": "Percent chance to to switch this entity's strafe direction between clockwise and counterclockwise. Switch direction chance occurs each time a new target is chosen (1.0 = 100%)."
},
"target_in_range_and_in_view_time": {
"title": "Target In Range And In View Time",
"type": "number",
"default": 0.25,
"description": "Time (in seconds) the target must be in fireball range, and in view [ie, no solid terrain in-between the target and this entity], before a fireball can be shot."
},
"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."
},
"view_angle": {
"title": "View Angle",
"type": "number",
"default": 10,
2022-07-22 19:41:04 +02:00
"description": "The target must be within \."view_angle\" degrees of the dragon's current rotation before a fireball can be shot."
2021-10-11 18:13:12 +02:00
}
}
2021-10-08 12:59:03 +02:00
}