Annotation Interface TaskDescriptor
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether or not to block execution when sleepingbooleanWhether or not to block execution of the iteration. e.g. if tasks are {Eat, Drop, Walk} if all tasks validate and blocking() is true for Drop, it'll stop there and not execute Walk.booleanbooleanbooleanDeprecated.intDeprecated.booleanbooleanboolean
-
Element Details
-
name
String name- Default:
""
-
priority
-
register
boolean register- Returns:
trueto register this task to the event dispatcher
- Default:
false
-
blocking
boolean blockingWhether or not to block execution of the iteration. e.g. if tasks are {Eat, Drop, Walk} if all tasks validate and blocking() is true for Drop, it'll stop there and not execute Walk.- Default:
false
-
stoppable
boolean stoppable- Returns:
- true if this script should stop when the execute returns true
- Default:
false
-
blockIfSleeping
boolean blockIfSleepingWhether or not to block execution when sleeping- Default:
false
-
loop
Deprecated.UseloginScreen()if you need to run tasks on the login screenRuns on loop (when ticks are not called i.e when logged out)- Default:
false
-
loginScreen
boolean loginScreen- Returns:
trueif this task should run on the login screen
- Default:
false
-
executeWhilePaused
boolean executeWhilePaused- Default:
false
-
children
-
verbose
boolean verbose- Returns:
falseto omit it fromTaskManager.getLastTaskExecutionSequence()
- Default:
true
-
loginScreen()if you need to run tasks on the login screen