-
Nested Class Summary
Nested Classes
-
Method Summary
float
Gets the chance that an
Entity
will "watch" a targeted
Living
.
float
Gets the maximum distance to "watch" a targeted
Living
.
SEts the chance to "watch" a targeted
Living
.
Sets the maximum distance to "watch" a targeted
Living
.
Sets the
Class
of the
Living
type to "stare" or
"watch" when that type of entity is nearby.
Gets the
Class
of the
Living
type to "stare" or
"watch" when that type of entity is nearby.
-
Method Details
-
builder
- Returns:
- A new builder
-
watchedClass
Gets the
Class
of the
Living
type to "stare" or
"watch" when that type of entity is nearby.
- Returns:
- The class of entity to "watch"
-
setWatchedClass
Sets the
Class
of the
Living
type to "stare" or
"watch" when that type of entity is nearby.
- Parameters:
watchedClass
- The class of entity to "watch"
- Returns:
- This goal, for chaining
-
maxDistance
float maxDistance()
Gets the maximum distance to "watch" a targeted
Living
.
- Returns:
- The distance to watch a targeted entity
-
setMaxDistance
Sets the maximum distance to "watch" a targeted
Living
.
- Parameters:
maxDistance
- The maximum distance to watch an entity
- Returns:
- This goal, for chaining
-
chance
float chance()
Gets the chance that an
Entity
will "watch" a targeted
Living
.
- Returns:
- The chance to watch
-
setChance
SEts the chance to "watch" a targeted
Living
.
- Parameters:
chance
- The chance to "watch"
- Returns:
- This goal, for chaining