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