Uses of Enum Class
com.destroystokyo.paper.entity.ai.GoalType
-
Uses of GoalType in com.destroystokyo.paper.entity.ai
Modifier and TypeMethodDescriptionstatic GoalType
Returns the enum constant of this class with the specified name.static GoalType[]
GoalType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionGoal.getTypes()
Returns a list of all applicable flags for this goal.
This method is only called on construction.Modifier and TypeMethodDescription<T extends Mob>
@NotNull Collection<Goal<T>>MobGoals.getAllGoals(T mob, @NotNull GoalType type)
<T extends Mob>
@NotNull Collection<Goal<T>>MobGoals.getAllGoalsWithout(T mob, @NotNull GoalType type)
<T extends Mob>
@NotNull Collection<Goal<T>>MobGoals.getRunningGoals(T mob, @NotNull GoalType type)
<T extends Mob>
@NotNull Collection<Goal<T>>MobGoals.getRunningGoalsWithout(T mob, @NotNull GoalType type)
<T extends Mob>
voidMobGoals.removeAllGoals(T mob, @NotNull GoalType type)