78 lines
2.7 KiB
JSON
78 lines
2.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.behavior.ranged_attack",
|
|
"description": "Allows the mob to use ranged attacks like shooting arrows.",
|
|
"type": "object",
|
|
"title": "Behavior.ranged_attack 1.8.0",
|
|
"additionalProperties": false,
|
|
"required": [],
|
|
"properties": {
|
|
"priority": { "ref": "types/base_priority.json" },
|
|
"speed_multiplier": { "ref": "types/base_speed_multiplier.json" },
|
|
"attack_interval": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "UNDOCUMENTATED",
|
|
"title": "TODO title"
|
|
},
|
|
"attack_interval_max": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "Maximum amount of time in seconds the entity will wait after an attack before launching another",
|
|
"title": "TODO title"
|
|
},
|
|
"attack_interval_min": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "Minimum amount of time in seconds the entity will wait after an attack before launching another",
|
|
"title": "TODO title"
|
|
},
|
|
"attack_radius": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "Maximum distance the target can be for this mob to fire. If the target is further away, this mob will move first before firing",
|
|
"title": "TODO title"
|
|
},
|
|
"burst_interval": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "Amount of time in seconds between each individual shot when firing multiple shots per attack",
|
|
"title": "TODO title"
|
|
},
|
|
"burst_shots": {
|
|
"type": "integer",
|
|
"default": 1,
|
|
"description": "Number of shots fired every time the mob uses a charged attack",
|
|
"title": "TODO title"
|
|
},
|
|
"charge_charged_trigger": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The minimum amount of time in ticks the mob has to charge before firing a charged attack",
|
|
"title": "TODO title"
|
|
},
|
|
"charge_shoot_trigger": {
|
|
"type": "number",
|
|
"default": 0,
|
|
"description": "The minimum amount of time in ticks for the mob to start charging a charged shot. Must be greater than 0 to enable burst shots",
|
|
"title": "TODO title"
|
|
},
|
|
"ranged_fov": {
|
|
"type": "number",
|
|
"default": 90,
|
|
"description": "The allowable FOV the actor will use to determine if it can make a valid ranged attack",
|
|
"title": "TODO title"
|
|
},
|
|
"target_in_sight_time": {
|
|
"type": "number",
|
|
"title": "Target in sight time",
|
|
"description": "UNDOCUMENTATED"
|
|
},
|
|
"attack_radius_min": {
|
|
"type": "number",
|
|
"title": "Attack radius min",
|
|
"description": "UNDOCUMENTATED"
|
|
}
|
|
}
|
|
}
|