Interface TaskBuilder.DelayedTick

All Superinterfaces:
ContextualPromiseBuilder, TaskBuilder.Delayed
Enclosing interface:
TaskBuilder

public static interface TaskBuilder.DelayedTick extends TaskBuilder.Delayed
  • Method Summary

    Modifier and Type
    Method
    Description
    every(long ticks)
    Marks that the new task should repeat on the specified interval, and returns the next builder in the chain.

    Methods inherited from interface dev.demeng.pluginbase.scheduler.builder.ContextualPromiseBuilder

    call, run, supply
  • Method Details

    • every

      @NotNull @NotNull ContextualTaskBuilder every(long ticks)
      Marks that the new task should repeat on the specified interval, and returns the next builder in the chain.
      Parameters:
      ticks - the number of ticks to wait between executions
      Returns:
      a delayed builder