Look At Entity
A goal that causes the mob to look at the closest entity.
Type ID: ra_additions:look_at_entity
Fields
| Field | Type | Default | Description |
|---|---|---|---|
priority |
Int | optional | The priority of the goal, the lower, the more important. |
range |
Float | optional | The range in which the target can be looked at. |
bientity_condition |
Bientity Condition | optional | A condition to check if it should look at the target. |
Example
{
"type": "ra_additions:melee_attack",
"priority": 0,
"range": 6,
"bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:creeper"
}
}
}