Package cn.nukkit.entity.ai.evaluator
Class AllMatchEvaluator
java.lang.Object
cn.nukkit.entity.ai.evaluator.MultiBehaviorEvaluator
cn.nukkit.entity.ai.evaluator.AllMatchEvaluator
- All Implemented Interfaces:
IBehaviorEvaluator
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class AllMatchEvaluator
extends MultiBehaviorEvaluator
全部行为评估通过才执行的一个评估器.
An evaluator that is executed only after all behaviors have been evaluated.
-
Field Summary
Fields inherited from class cn.nukkit.entity.ai.evaluator.MultiBehaviorEvaluator
evaluators
-
Constructor Summary
ConstructorsConstructorDescriptionAllMatchEvaluator
(IBehaviorEvaluator... evaluators) AllMatchEvaluator
(Set<IBehaviorEvaluator> evaluators) -
Method Summary
-
Constructor Details
-
AllMatchEvaluator
-
AllMatchEvaluator
-
-
Method Details
-
evaluate
Description copied from interface:IBehaviorEvaluator
是否需要激活与其绑定的执行器Whether the executor bound to it needs to be activated
- Parameters:
entity
- 评估目标实体
Assess the targetEntity- Returns:
- 是否需要激活
Do you need to activate
-