Class ProgressBarString

java.lang.Object
org.bukkit.scheduler.BukkitRunnable
me.fami6xx.rpuniverse.core.misc.utils.ProgressBarString
All Implemented Interfaces:
Runnable

public class ProgressBarString extends org.bukkit.scheduler.BukkitRunnable
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProgressBarString​(String string, int durationTicks, IExecuteQueue updateCallback, IExecuteQueue endCallback)
    Constructs a ProgressBar instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the string representation of the progress bar.
    void
    run()
     

    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

    • ProgressBarString

      public ProgressBarString(String string, int durationTicks, IExecuteQueue updateCallback, IExecuteQueue endCallback)
      Constructs a ProgressBar instance.
      Parameters:
      string - The string to display in the progress bar.
      durationTicks - The total duration of the progress bar in ticks.
  • Method Details

    • run

      public void run()
    • getString

      public String getString()
      Get the string representation of the progress bar.
      Returns:
      The string representation of the progress bar.