Package cn.nukkit.entity.ai.executor
Class AnimalGrowExecutor
java.lang.Object
cn.nukkit.entity.ai.executor.AnimalGrowExecutor
- All Implemented Interfaces:
IBehaviorExecutor
@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class AnimalGrowExecutor
extends Object
implements IBehaviorExecutor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
execute
(EntityIntelligent entity) 调度器将会持续执行此执行器,直到返回false,或者执行器被中断
此方法每gt都会调用Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cn.nukkit.entity.ai.executor.IBehaviorExecutor
onInterrupt, onStart, onStop
-
Constructor Details
-
AnimalGrowExecutor
public AnimalGrowExecutor()
-
-
Method Details
-
execute
Description copied from interface:IBehaviorExecutor
调度器将会持续执行此执行器,直到返回false,或者执行器被中断
此方法每gt都会调用- Specified by:
execute
in interfaceIBehaviorExecutor
- Parameters:
entity
- 执行目标实体- Returns:
- boolean
-