Uses of Interface
tech.guilhermekaua.spigotboot.core.spigot.scheduler.PlatformScheduler
Packages that use PlatformScheduler
Package
Description
-
Uses of PlatformScheduler in tech.guilhermekaua.spigotboot.core.spigot.conversation
Constructors in tech.guilhermekaua.spigotboot.core.spigot.conversation with parameters of type PlatformSchedulerModifierConstructorDescriptionChatConversationManager(@NotNull org.bukkit.plugin.Plugin plugin, @NotNull PlatformScheduler scheduler) -
Uses of PlatformScheduler in tech.guilhermekaua.spigotboot.core.spigot.scheduler
Classes in tech.guilhermekaua.spigotboot.core.spigot.scheduler that implement PlatformSchedulerModifier and TypeClassDescriptionfinal classLegacyPlatformScheduler: every variant maps toBukkitSchedulerand runs on the single main thread.final classFolia / modern-PaperPlatformScheduler.Methods in tech.guilhermekaua.spigotboot.core.spigot.scheduler that return PlatformSchedulerModifier and TypeMethodDescriptionstatic @NotNull PlatformSchedulerPlatformSchedulers.create(@NotNull org.bukkit.plugin.Plugin plugin) Builds the scheduler for the running server.SpigotSchedulerConfiguration.platformScheduler(org.bukkit.plugin.Plugin plugin) -
Uses of PlatformScheduler in tech.guilhermekaua.spigotboot.core.spigot.utils
Methods in tech.guilhermekaua.spigotboot.core.spigot.utils with parameters of type PlatformSchedulerModifier and TypeMethodDescriptionstatic voidUtils.playSound(PlatformScheduler scheduler, org.bukkit.entity.Player player, String name) Plays a sound for the player on the thread owning the player's region.static voidUtils.sync(PlatformScheduler scheduler, org.bukkit.entity.Entity entity, Runnable runnable) Runs a task on the thread owning the entity's region.static voidUtils.syncLater(PlatformScheduler scheduler, org.bukkit.entity.Entity entity, Runnable runnable, long delayTicks) Runs a task on the thread owning the entity's region after a delay.