public interface MobGoals
Modifier and Type | Method | Description |
---|---|---|
<T extends Mob> |
addGoal(T mob,
int priority,
@NotNull Goal<T> goal) |
|
<T extends Mob> |
getAllGoals(T mob) |
|
<T extends Mob> |
getAllGoals(T mob,
@NotNull GoalType type) |
|
<T extends Mob> |
getAllGoalsWithout(T mob,
@NotNull GoalType type) |
|
<T extends Mob> |
getGoal(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
getGoals(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
getRunningGoals(T mob) |
|
<T extends Mob> |
getRunningGoals(T mob,
@NotNull GoalType type) |
|
<T extends Mob> |
getRunningGoalsWithout(T mob,
@NotNull GoalType type) |
|
<T extends Mob> |
hasGoal(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
removeAllGoals(T mob) |
|
<T extends Mob> |
removeAllGoals(T mob,
@NotNull GoalType type) |
|
<T extends Mob> |
removeGoal(T mob,
@NotNull Goal<T> goal) |
|
<T extends Mob> |
removeGoal(T mob,
@NotNull GoalKey<T> key) |
<T extends Mob> void removeAllGoals(@NotNull T mob)
<T extends Mob> void removeAllGoals(@NotNull T mob, @NotNull @NotNull GoalType type)
@Nullable <T extends Mob> @Nullable Goal<T> getGoal(@NotNull T mob, @NotNull @NotNull GoalKey<T> key)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getGoals(@NotNull T mob, @NotNull @NotNull GoalKey<T> key)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getAllGoals(@NotNull T mob)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getAllGoals(@NotNull T mob, @NotNull @NotNull GoalType type)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getAllGoalsWithout(@NotNull T mob, @NotNull @NotNull GoalType type)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getRunningGoals(@NotNull T mob)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getRunningGoals(@NotNull T mob, @NotNull @NotNull GoalType type)
@NotNull <T extends Mob> @NotNull Collection<Goal<T>> getRunningGoalsWithout(@NotNull T mob, @NotNull @NotNull GoalType type)
Copyright © 2020. All rights reserved.