Class GoalExecutorTypes
java.lang.Object
org.spongepowered.api.entity.ai.goal.GoalExecutorTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<GoalExecutorType>GoalExecutorthat is the default set of goals for mostAgents.static final DefaultedRegistryReference<GoalExecutorType>GoalExecutorthat is the "target" set of goals. -
Method Summary
-
Field Details
-
NORMAL
GoalExecutorthat is the default set of goals for mostAgents. -
TARGET
GoalExecutorthat is the "target" set of goals.The objective is to formulate the target so that the
Agentcan 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
-