Uses of Interface
net.citizensnpcs.api.ai.Goal
Packages that use Goal
Package
Description
-
Uses of Goal in net.citizensnpcs.api.ai
Subinterfaces of Goal in net.citizensnpcs.api.aiMethods in net.citizensnpcs.api.ai that return GoalMethods in net.citizensnpcs.api.ai with parameters of type GoalModifier and TypeMethodDescriptionvoidRegisters aGoalwith a given priority.voidvoidGoalController.removeGoal(Goal goal) Removes aGoalfrom rotation.voidSimpleGoalController.removeGoal(Goal goal) voidReplaces the execution of any runningGoals with the specified goal.voidvoidGoalSelector.selectAdditional(Goal... goals) Adds the providedGoals to the execution list.voidSimpleGoalController.SimpleGoalSelector.selectAdditional(Goal... goals) Constructors in net.citizensnpcs.api.ai with parameters of type GoalModifierConstructorDescriptionSimpleGoalEntry(Goal goal, int priority) SimpleGoalEntry(Goal goal, Supplier<Integer> priority) -
Uses of Goal in net.citizensnpcs.api.ai.goals
Classes in net.citizensnpcs.api.ai.goals that implement GoalModifier and TypeClassDescriptionclassclassclassA sampleGoal/Behaviorthat will target specificEntityTypes within a certain radius and start following them usingNavigator.setTarget(Entity, boolean).class -
Uses of Goal in net.citizensnpcs.api.ai.tree
Classes in net.citizensnpcs.api.ai.tree that implement GoalModifier and TypeClassDescriptionclassclassWraps anBehaviorand runs callbacks when the underlying Behavior is finished.classThe base class for compositeBehaviors, which handle the transition between multiple sub-behaviors.classA decorator is a wrapper over aBehavior, which can add functionality such as filteringBehaviorStatuses, conditions, timer loops and more without knowing the internals of the behavior it wraps.classAn empty leafBehavior.classForwards all calls to a secondaryBehavior.classclassA decoratorBehaviorthat continues to execute its child behavior as long as aConditionreturnstrueand the behavior returnsBehaviorStatus.SUCCESS.classclassDecorates aBehaviorand retries failures a certain number of times.classA selector of sub-goals, that chooses a singleBehaviorto execute from a list.classRuns eachBehaviorin sequence.classWraps anBehaviorand returns a suppliedBehaviorStatusinstead of the underlying status.classWraps aBehaviorand enforces a tick limit, after which it will returnBehaviorStatus.FAILUREand reset the childBehavior.Methods in net.citizensnpcs.api.ai.tree that return Goal -
Uses of Goal in net.citizensnpcs.api.npc
Classes in net.citizensnpcs.api.npc that implement GoalModifier and TypeClassDescriptionclass -
Uses of Goal in net.citizensnpcs.util
Classes in net.citizensnpcs.util that implement Goal