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