Package com.github.juliarn.npclib.bukkit
Class BukkitPlatformTaskManager
java.lang.Object
com.github.juliarn.npclib.bukkit.BukkitPlatformTaskManager
- All Implemented Interfaces:
com.github.juliarn.npclib.api.PlatformTaskManager
public final class BukkitPlatformTaskManager
extends Object
implements com.github.juliarn.npclib.api.PlatformTaskManager
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBukkitPlatformTaskManager(@NotNull org.bukkit.plugin.Plugin plugin) -
Method Summary
Modifier and TypeMethodDescriptionvoidscheduleAsync(@NotNull Runnable task) voidscheduleDelayedAsync(@NotNull Runnable task, int delayTicks) voidscheduleDelayedSync(@NotNull Runnable task, int delayTicks) voidscheduleSync(@NotNull Runnable task) static @NotNull com.github.juliarn.npclib.api.PlatformTaskManagertaskManager(@NotNull org.bukkit.plugin.Plugin plugin)
-
Field Details
-
plugin
private final org.bukkit.plugin.Plugin plugin
-
-
Constructor Details
-
BukkitPlatformTaskManager
private BukkitPlatformTaskManager(@NotNull @NotNull org.bukkit.plugin.Plugin plugin)
-
-
Method Details
-
taskManager
@NotNull public static @NotNull com.github.juliarn.npclib.api.PlatformTaskManager taskManager(@NotNull @NotNull org.bukkit.plugin.Plugin plugin) -
scheduleSync
- Specified by:
scheduleSyncin interfacecom.github.juliarn.npclib.api.PlatformTaskManager
-
scheduleDelayedSync
- Specified by:
scheduleDelayedSyncin interfacecom.github.juliarn.npclib.api.PlatformTaskManager
-
scheduleAsync
- Specified by:
scheduleAsyncin interfacecom.github.juliarn.npclib.api.PlatformTaskManager
-
scheduleDelayedAsync
- Specified by:
scheduleDelayedAsyncin interfacecom.github.juliarn.npclib.api.PlatformTaskManager
-