| Package | Description |
|---|---|
| com.destroystokyo.paper.entity.ai |
| Modifier and Type | Method | Description |
|---|---|---|
static GoalType |
GoalType.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static GoalType[] |
GoalType.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | Description |
|---|---|---|
EnumSet<GoalType> |
Goal.getTypes() |
Returns a list of all applicable flags for this goal.
This method is only called on construction. |
| Modifier and Type | Method | Description |
|---|---|---|
<T extends Mob> |
MobGoals.getAllGoals(T mob,
GoalType type) |
|
<T extends Mob> |
MobGoals.getAllGoalsWithout(T mob,
GoalType type) |
|
<T extends Mob> |
MobGoals.getRunningGoals(T mob,
GoalType type) |
|
<T extends Mob> |
MobGoals.getRunningGoalsWithout(T mob,
GoalType type) |
|
<T extends Mob> |
MobGoals.removeAllGoals(T mob,
GoalType type) |
Copyright © 2020. All rights reserved.