Package | Description |
---|---|
org.bukkit.scheduler |
Classes dedicated to letting
plugins run
code at specific time intervals, including thread safety. |
Modifier and Type | Method and Description |
---|---|
BukkitTask |
BukkitScheduler.runTask(Plugin plugin,
BukkitRunnable task)
Deprecated.
Use
runTask(Plugin) |
BukkitTask |
BukkitScheduler.runTaskAsynchronously(Plugin plugin,
BukkitRunnable task)
Deprecated.
|
BukkitTask |
BukkitScheduler.runTaskLater(Plugin plugin,
BukkitRunnable task,
long delay)
Deprecated.
|
BukkitTask |
BukkitScheduler.runTaskLaterAsynchronously(Plugin plugin,
BukkitRunnable task,
long delay)
Deprecated.
|
BukkitTask |
BukkitScheduler.runTaskTimer(Plugin plugin,
BukkitRunnable task,
long delay,
long period)
Deprecated.
|
BukkitTask |
BukkitScheduler.runTaskTimerAsynchronously(Plugin plugin,
BukkitRunnable task,
long delay,
long period)
Deprecated.
|
int |
BukkitScheduler.scheduleSyncDelayedTask(Plugin plugin,
BukkitRunnable task)
Deprecated.
Use
runTask(Plugin) |
int |
BukkitScheduler.scheduleSyncDelayedTask(Plugin plugin,
BukkitRunnable task,
long delay)
Deprecated.
|
int |
BukkitScheduler.scheduleSyncRepeatingTask(Plugin plugin,
BukkitRunnable task,
long delay,
long period)
Deprecated.
|
Copyright © 2022. All rights reserved.