Uses of Interface
net.citizensnpcs.api.ai.Goal
Package
Description
-
Uses of Goal in net.citizensnpcs.api.ai
Modifier and TypeMethodDescriptionvoid
Registers aGoal
with a given priority.void
void
GoalController.removeGoal
(Goal goal) Removes aGoal
from rotation.void
SimpleGoalController.removeGoal
(Goal goal) void
Replaces the execution of any runningGoal
s with the specified goal.void
void
GoalSelector.selectAdditional
(Goal... goals) Adds the providedGoal
s to the execution list.void
SimpleGoalController.SimpleGoalSelector.selectAdditional
(Goal... goals) -
Uses of Goal in net.citizensnpcs.api.ai.goals
Modifier and TypeClassDescriptionclass
class
class
A sampleGoal
/Behavior
that will target specificEntityType
s within a certain radius and start following them usingNavigator.setTarget(Entity, boolean)
.class
-
Uses of Goal in net.citizensnpcs.api.ai.tree
Modifier and TypeClassDescriptionclass
class
Wraps anBehavior
and runs callbacks when the underlying Behavior is finished.class
The base class for compositeBehavior
s, which handle the transition between multiple sub-behaviors.class
A decorator is a wrapper over aBehavior
, which can add functionality such as filteringBehaviorStatus
es, conditions, timer loops and more without knowing the internals of the behavior it wraps.class
An empty leafBehavior
.class
Forwards all calls to a secondaryBehavior
.class
class
A decoratorBehavior
that continues to execute its child behavior as long as aCondition
returnstrue
and the behavior returnsBehaviorStatus.SUCCESS
.class
class
Decorates aBehavior
and retries failures a certain number of times.class
A selector of sub-goals, that chooses a singleBehavior
to execute from a list.class
Runs eachBehavior
in sequence.class
Wraps anBehavior
and returns a suppliedBehaviorStatus
instead of the underlying status.class
Wraps aBehavior
and enforces a tick limit, after which it will returnBehaviorStatus.FAILURE
and reset the childBehavior
. -
Uses of Goal in net.citizensnpcs.api.npc
Modifier and TypeClassDescriptionclass
-
Uses of Goal in net.citizensnpcs.util