Class BotControlAPI

java.lang.Object
com.soulfiremc.server.bot.BotControlAPI

public final class BotControlAPI extends Object
This class is used to control the bot. The goal is to reduce friction for doing simple things.
  • Constructor Details

    • BotControlAPI

      public BotControlAPI()
  • Method Details

    • tick

      public void tick()
    • stopControllingTask

      public boolean stopControllingTask()
    • activelyControlled

      public boolean activelyControlled()
    • registerControllingTask

      public void registerControllingTask(ControllingTask task)
    • unregisterControllingTask

      public void unregisterControllingTask(ControllingTask task)
    • maybeRegister

      public void maybeRegister(ControllingTask task)
    • getMarkerAndUnregister

      public <M extends ControllingTask.ManualTaskMarker> M getMarkerAndUnregister(Class<M> clazz)