Interface RunAroundLikeCrazyGoal
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a newRunAroundLikeCrazyGoal.Builderto build a newRunAroundLikeCrazyGoal.setSpeed(double speed) Sets the speed modifier at which when anEntityis running around, the movement speed is amplified by this modifier.doublespeed()Gets the speed modifier at which when anEntityis running around, the movement speed is amplified by this modifier.Methods inherited from interface Goal
canBeInterrupted, canRunConcurrentWith, executor, owner, type
-
Method Details
-
builder
Creates a newRunAroundLikeCrazyGoal.Builderto build a newRunAroundLikeCrazyGoal.- Returns:
- A new builder
-
speed
double speed()Gets the speed modifier at which when anEntityis running around, the movement speed is amplified by this modifier.- Returns:
- The speed modifier
-
setSpeed
Sets the speed modifier at which when anEntityis running around, the movement speed is amplified by this modifier.- Parameters:
speed- The speed modifier at which an entity is "running around"- Returns:
- This goal, for chaining
-