类的使用
org.bukkit.scheduler.BukkitRunnable
-
org.bukkit.scheduler中BukkitRunnable的使用
修饰符和类型方法说明BukkitScheduler.runTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) 已过时。BukkitScheduler.runTaskAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) 已过时。BukkitScheduler.runTaskLater
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) 已过时。BukkitScheduler.runTaskLaterAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) BukkitScheduler.runTaskTimer
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) 已过时。BukkitScheduler.runTaskTimerAsynchronously
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) int
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task) 已过时。推荐使用runTask(Plugin)
int
BukkitScheduler.scheduleSyncDelayedTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay) 已过时。int
BukkitScheduler.scheduleSyncRepeatingTask
(@NotNull Plugin plugin, @NotNull BukkitRunnable task, long delay, long period) 已过时。
runTask(Plugin)