1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-10-12 02:54:56 +00:00
Files
bedrock-samples/metadata/json_schemas/server/entity/1.21.110/SwoopAttackGoalDefinition.json
2025-09-09 10:02:11 -07:00

52 lines
1.5 KiB
JSON

{
"$id": "1979855054",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"1057349585": {
"properties": {
"max": {
"type": "number"
},
"min": {
"type": "number"
}
},
"title": "FloatRange",
"type": "object"
}
},
"description": "Allows an entity to attack using swoop attack behavior; Ideal for use with flying mobs. The behavior ends if the entity has a horizontal collision or gets hit.",
"properties": {
"control_flags": {
"items": {
"enum": [
"move",
"look",
"jump"
],
"title": "Goal's control flags",
"type": "string"
},
"type": "array"
},
"damage_reach": {
"description": "Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage. Default value: 0.2.",
"type": "number"
},
"delay_range": {
"$ref": "#/definitions/1057349585",
"description": "Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack. Default value: [10.0, 20.0]."
},
"priority": {
"minimum": 0,
"type": "integer"
},
"speed_multiplier": {
"description": "During swoop attack behavior, this determines the multiplier the entity's speed is modified by when moving toward the target. Default value: 1.",
"type": "number"
}
},
"title": "minecraft:behavior.swoop_attack",
"type": "object",
"x-format-version": "1.21.110"
}