Package cn.nukkit.entity.ai.evaluator
Interface IBehaviorEvaluator
- All Known Subinterfaces:
IBehavior
- All Known Implementing Classes:
AbstractBehavior
,AllMatchEvaluator
,AnyMatchEvaluator
,Behavior
,BlockCheckEvaluator
,ConditionalProbabilityEvaluator
,MemoryCheckEmptyEvaluator
,MemoryCheckNotEmptyEvaluator
,MultiBehaviorEvaluator
,PassByTimeEvaluator
,ProbabilityEvaluator
,RandomTimeRangeEvaluator
,WeightedMultiBehavior
此接口抽象了一个行为评估器
决定是否激活与其绑定的执行器
决定是否激活与其绑定的执行器
This interface abstracts a Behavior Evaluator that
decides whether to activate the Actuator bound to it
-
Method Summary
-
Method Details
-
evaluate
是否需要激活与其绑定的执行器Whether the executor bound to it needs to be activated
- Parameters:
entity
- 评估目标实体
Assess the targetEntity- Returns:
- 是否需要激活
Do you need to activate
-