Package | Description |
---|---|
com.destroystokyo.paper.entity.ai |
Modifier and Type | Method | Description |
---|---|---|
@NotNull GoalKey<T> |
Goal.getKey() |
A unique key that identifies this type of goal.
|
static <A extends Mob> |
GoalKey.of(@NotNull Class<A> entityClass,
@NotNull NamespacedKey namespacedKey) |
Modifier and Type | Method | Description |
---|---|---|
<T extends Mob> |
MobGoals.getGoal(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
MobGoals.getGoals(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
MobGoals.hasGoal(T mob,
@NotNull GoalKey<T> key) |
|
<T extends Mob> |
MobGoals.removeGoal(T mob,
@NotNull GoalKey<T> key) |
Copyright © 2020. All rights reserved.