| Modifier and Type | Interface and Description |
|---|---|
static interface |
AttackLivingAITask.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AttackLivingAITask.Builder |
builder()
Creates a new
AttackLivingAITask.Builder to build a new
AttackLivingAITask. |
double |
getSpeed()
Gets the "movement" speed modifier when targeting towards a
targeted
Entity. |
boolean |
hasLongMemory()
|
AttackLivingAITask |
setLongMemory(boolean longMemory)
|
AttackLivingAITask |
setSpeed(double speed)
|
canBeInterrupted, canRunConcurrentWith, getGoal, getOwner, getTypestatic AttackLivingAITask.Builder builder()
AttackLivingAITask.Builder to build a new
AttackLivingAITask.double getSpeed()
Entity.AttackLivingAITask setSpeed(double speed)
speed - The speedboolean hasLongMemory()
Entity after certain circumstances have been met,
sometimes whether a targeted Entity has moved too far away,
moved to where there is an obstacle between the parent and the
targeted entity, etc.AttackLivingAITask setLongMemory(boolean longMemory)
Agent to continue targeting an Entity after the
entity has moved to where a direct navigation path is no longer
available.longMemory - Whether to continue targeting an entity