mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-10-07 22:47:03 +00:00
75 lines
2.4 KiB
JSON
75 lines
2.4 KiB
JSON
{
|
|
"$id": "2309924397",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"description": "Allows this entity to perform a 'sonic boom' ranged attack",
|
|
"properties": {
|
|
"attack_cooldown": {
|
|
"description": "Cooldown in seconds required after using this attack until the entity can use sonic boom again. Default value: 5.",
|
|
"type": "number"
|
|
},
|
|
"attack_damage": {
|
|
"description": "Attack damage of the sonic boom. Default value: 30.",
|
|
"type": "number"
|
|
},
|
|
"attack_range_horizontal": {
|
|
"description": "Horizontal range (in blocks) at which the sonic boom can damage the target. Default value: 15.",
|
|
"type": "number"
|
|
},
|
|
"attack_range_vertical": {
|
|
"description": "Vertical range (in blocks) at which the sonic boom can damage the target. Default value: 20.",
|
|
"type": "number"
|
|
},
|
|
"attack_sound": {
|
|
"description": "Sound event for the attack.",
|
|
"type": "string"
|
|
},
|
|
"charge_sound": {
|
|
"description": "Sound event for the charge up.",
|
|
"type": "string"
|
|
},
|
|
"control_flags": {
|
|
"items": {
|
|
"enum": [
|
|
"move",
|
|
"look",
|
|
"jump"
|
|
],
|
|
"title": "Goal's control flags",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"duration": {
|
|
"description": "Goal duration in seconds Default value: 0.",
|
|
"minimum": 0,
|
|
"type": "number"
|
|
},
|
|
"duration_until_attack_sound": {
|
|
"description": "Duration in seconds until the attack sound is played. Default value: 1.7.",
|
|
"type": "number"
|
|
},
|
|
"knockback_height_cap": {
|
|
"description": "Height cap of the attack knockback's vertical delta. Default value: 0.",
|
|
"type": "number"
|
|
},
|
|
"knockback_horizontal_strength": {
|
|
"description": "Horizontal strength of the attack's knockback applied to the attack target. Default value: 0.",
|
|
"type": "number"
|
|
},
|
|
"knockback_vertical_strength": {
|
|
"description": "Vertical strength of the attack's knockback applied to the attack target. Default value: 0.",
|
|
"type": "number"
|
|
},
|
|
"priority": {
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"speed_multiplier": {
|
|
"description": "This multiplier modifies the attacking entity's speed when moving toward the target. Default value: 1.",
|
|
"type": "number"
|
|
}
|
|
},
|
|
"title": "minecraft:behavior.sonic_boom",
|
|
"type": "object",
|
|
"x-format-version": "1.21.110"
|
|
} |