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
ConstructorsConstructorDescriptionProgressBarString(String string, int durationTicks, IExecuteQueue updateCallback, IExecuteQueue endCallback)Constructs a ProgressBar instance. -
Method Summary
Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
-
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
Get the string representation of the progress bar.- Returns:
- The string representation of the progress bar.
-