| Modifier and Type | Interface and Description |
|---|---|
static interface |
SwimmingAITask.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SwimmingAITask.Builder |
builder()
Creates a new
SwimmingAITask.Builder to build a new
SwimmingAITask. |
float |
getSwimChance()
Gets the chance that the owning
Agent will perform
a "jump". |
void |
setSwimChance(float chance)
Sets the chance that the owning
Agent will perform
a "jump". |
canBeInterrupted, canRunConcurrentWith, getGoal, getOwner, getTypestatic SwimmingAITask.Builder builder()
SwimmingAITask.Builder to build a new
SwimmingAITask.float getSwimChance()
Agent will perform
a "jump". The chance is limited between 0 and 1,
to where the higher the chance, the more likely the entity will
"jump" to appear "swimming".void setSwimChance(float chance)
Agent will perform
a "jump". The chance is limited between 0 and 1,
to where the higher the chance, the more likely the entity will
"jump" to appear "swimming".chance - The chance that the entity will "swim"