Crossbow Attack
A goal that allows Crossbow using mobs to attack with their crossbow.
Type ID: ra_additions:crossbow_attack
Fields
| Field | Type | Default | Description |
|---|---|---|---|
priority |
Int | optional | The priority of the goal, the lower, the more important. |
speed |
Double | optional | The speed that it should move to its target at. |
range |
Float | optional | The range the entity must be in to be attacked. |
bientity_condition |
Bientity Condition | optional | A condition to see if it can attack its target. |
Example
{
"type": "ra_additions:bow_attack",
"priority": 0,
"speed": 1,
"range": 15,
"bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:creeper"
}
}
}