java.lang.Object
org.bukkit.scheduler.BukkitRunnable
studio.magemonkey.codex.mccore.scoreboard.CycleTask
All Implemented Interfaces:
Runnable

public class CycleTask extends org.bukkit.scheduler.BukkitRunnable
Cycles through boards periodically
  • Constructor Summary

    Constructors
    Constructor
    Description
    CycleTask(org.bukkit.plugin.Plugin plugin)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Cycles through scoreboards

    Methods inherited from class org.bukkit.scheduler.BukkitRunnable

    cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CycleTask

      public CycleTask(org.bukkit.plugin.Plugin plugin)
      Constructor
      Parameters:
      plugin - plugin reference
  • Method Details

    • run

      public void run()
      Cycles through scoreboards