Interface MobGoals
Represents a part of the "brain" of a mob. It tracks all tasks (running or not), allows adding and removing goals
-
Method Summary
Modifier and TypeMethodDescription<T extends Mob>
void<T extends Mob>
Collection<Goal<T>> getAllGoals
(T mob) <T extends Mob>
Collection<Goal<T>> getAllGoals
(T mob, GoalType type) <T extends Mob>
Collection<Goal<T>> getAllGoalsWithout
(T mob, GoalType type) <T extends Mob>
Collection<Goal<T>> <T extends Mob>
Collection<Goal<T>> getRunningGoals
(T mob) <T extends Mob>
Collection<Goal<T>> getRunningGoals
(T mob, GoalType type) <T extends Mob>
Collection<Goal<T>> getRunningGoalsWithout
(T mob, GoalType type) <T extends Mob>
boolean<T extends Mob>
voidremoveAllGoals
(T mob) <T extends Mob>
voidremoveAllGoals
(T mob, GoalType type) <T extends Mob>
voidremoveGoal
(T mob, Goal<T> goal) <T extends Mob>
voidremoveGoal
(T mob, GoalKey<T> key)
-
Method Details
-
addGoal
-
removeGoal
-
removeAllGoals
-
removeAllGoals
-
removeGoal
-
hasGoal
-
getGoal
-
getGoals
-
getAllGoals
-
getAllGoals
-
getAllGoalsWithout
-
getRunningGoals
-
getRunningGoals
-
getRunningGoalsWithout
-