Annotation Type TaskDescriptor

    • Element Detail

      • name

        String name
        Default:
        ""
      • priority

        int priority
        Default:
        0
      • register

        boolean register
        Returns:
        true to register this task to the event dispatcher
        Default:
        false
      • blocking

        boolean blocking
        Whether 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 blockIfSleeping
        Whether or not to block execution when sleeping
        Default:
        false
      • loop

        @Deprecated
        boolean loop
        Deprecated.
        Use loginScreen() if you need to run tasks on the login screen
        Runs on loop (when ticks are not called i.e when logged out)
        Default:
        false
      • loginScreen

        boolean loginScreen
        Returns:
        true if this task should run on the login screen
        Default:
        false
      • executeWhilePaused

        boolean executeWhilePaused
        Default:
        false
      • children

        Class<? extends Task>[] children
        Default:
        {}