Melee Attack
A goal that causes the mob to use melee attacks against the target.
Type ID: ra_additions:melee_attack
Fields
| Field | Type | Default | Description |
|---|---|---|---|
priority |
Int | optional | The priority of the goal, the lower, the more important. |
bientity_condition |
Bientity Condition | optional | A condition to check if it should attack the target. |
Example
{
"type": "ra_additions:melee_attack",
"priority": 0,
"bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:creeper"
}
}
}