Package | Description |
---|---|
org.imanity.imanityspigot.ai |
Modifier and Type | Interface and Description |
---|---|
interface |
VanillaGoal<T extends Mob>
Represents a vanilla goal.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Goal<T> |
MobGoals.EntityMobGoals.getGoal(@NotNull GoalKey<T> key) |
<T extends Mob> |
MobGoals.getGoal(T mob,
@NotNull GoalKey<T> key)
Get the goal instance based on key from target mob
|
Modifier and Type | Method and Description |
---|---|
void |
MobGoals.EntityMobGoals.addGoal(int priority,
@NotNull Goal<T> goal) |
<T extends Mob> |
MobGoals.addGoal(T mob,
int priority,
@NotNull Goal<T> goal)
Add a goal to the target mob
|
void |
MobGoals.EntityMobGoals.removeGoal(@NotNull Goal<T> goal) |
<T extends Mob> |
MobGoals.removeGoal(T mob,
@NotNull Goal<T> goal)
Remove a goal from the target mob
|
Copyright © 2022. All rights reserved.