Package com.soulfiremc.server.bot
Class BotControlAPI
java.lang.Object
com.soulfiremc.server.bot.BotControlAPI
This class is used to control the bot. The goal is to reduce friction for doing simple things.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
<M extends ControllingTask.ManualTaskMarker>
MgetMarkerAndUnregister
(Class<M> clazz) void
maybeRegister
(ControllingTask task) void
boolean
void
tick()
void
-
Constructor Details
-
BotControlAPI
public BotControlAPI()
-
-
Method Details
-
tick
public void tick() -
stopControllingTask
public boolean stopControllingTask() -
activelyControlled
public boolean activelyControlled() -
registerControllingTask
-
unregisterControllingTask
-
maybeRegister
-
getMarkerAndUnregister
-