Class GoalExecutorTypes
java.lang.Object
org.spongepowered.api.entity.ai.goal.GoalExecutorTypes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<GoalExecutorType>
GoalExecutor
that is the default set of goals for mostAgent
s.static final DefaultedRegistryReference<GoalExecutorType>
GoalExecutor
that is the "target" set of goals. -
Method Summary
-
Field Details
-
NORMAL
GoalExecutor
that is the default set of goals for mostAgent
s. -
TARGET
GoalExecutor
that is the "target" set of goals.The objective is to formulate the target so that the
Agent
can act on it. The best example is how monsters like zombie and skeleton attack enemies: they seek out a target and if any of their non-target goals see that they have a target, they act accordingly.
-
-
Method Details
-
registry
-