Class FluctuateController

java.lang.Object
cn.nukkit.entity.ai.controller.FluctuateController
All Implemented Interfaces:
IController

@PowerNukkitXOnly @Since("1.19.60-r1") public class FluctuateController extends Object implements IController
控制实体在水中扑腾的控制器
  • Constructor Details

    • FluctuateController

      public FluctuateController()
  • Method Details

    • control

      public boolean control(EntityIntelligent entity)
      Description copied from interface: IController
      实施行为

      Implement behavior

      Specified by:
      control in interface IController
      Parameters:
      entity - 目标实体
      Returns:
      是否成功实施行为