Modifier and Type | Interface and Description |
---|---|
static interface |
WanderAITask.Builder |
Modifier and Type | Method and Description |
---|---|
static WanderAITask.Builder |
builder()
Creates a new
WanderAITask.Builder to build a new
WanderAITask . |
int |
getExecutionChance()
Gets the chance that the owning
Entity will "wander". |
double |
getSpeed()
Gets the speed modifier at which the owning
Entity
will move around to appear to "wander". |
WanderAITask |
setExecutionChance(int executionChance)
Sets the chance that the owning
Entity will perform
a "wander". |
WanderAITask |
setSpeed(double speed)
Sets the speed modifier at which the owning
Entity
will move around to appear to "wander". |
canBeInterrupted, canRunConcurrentWith, getGoal, getOwner, getType
static WanderAITask.Builder builder()
WanderAITask.Builder
to build a new
WanderAITask
.double getSpeed()
Entity
will move around to appear to "wander".WanderAITask setSpeed(double speed)
Entity
will move around to appear to "wander".speed
- The movement speed modifierint getExecutionChance()
Entity
will "wander".WanderAITask setExecutionChance(int executionChance)
Entity
will perform
a "wander".executionChance
- The wandering chance