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 Details

    • AnimalGrowExecutor

      public AnimalGrowExecutor()
  • Method Details

    • execute

      public boolean execute(EntityIntelligent entity)
      Description copied from interface: IBehaviorExecutor
      调度器将会持续执行此执行器,直到返回false,或者执行器被中断
      此方法每gt都会调用

      The scheduler will continue to execute this executor until it returns false or the executor is interrupted
      This method will be called every gt

      Specified by:
      execute in interface IBehaviorExecutor
      Parameters:
      entity - 执行目标实体
      Returns:
      boolean