Package de.smoofy.core.api.module.tasks
Schnittstelle ICoreTask
public interface ICoreTask
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bukkit.scheduler.BukkitTask
Run the task async.org.bukkit.scheduler.BukkitTask
Run the task after x ticks.org.bukkit.scheduler.BukkitTask
laterAsync
(Runnable runnable, long delay) Run the task after x ticks.org.bukkit.scheduler.BukkitTask
Run a task on the next server tick.org.bukkit.scheduler.BukkitTask
Repeat the task every x ticks.org.bukkit.scheduler.BukkitTask
repeatAsync
(Runnable runnable, long delay, long period) Repeat the task every x ticks.
-
Methodendetails
-
repeat
Repeat the task every x ticks.- Parameter:
runnable
- the runnabledelay
- the start delayperiod
- the repeat period- Gibt zurück:
- the
BukkitTask
-
repeatAsync
Repeat the task every x ticks.- Parameter:
runnable
- the runnabledelay
- the start delayperiod
- the repeat period- Gibt zurück:
- the
BukkitTask
-
later
Run the task after x ticks.- Parameter:
runnable
- the runnabledelay
- the delay- Gibt zurück:
- the
BukkitTask
-
laterAsync
Run the task after x ticks.- Parameter:
runnable
- the runnabledelay
- the delay- Gibt zurück:
- the
BukkitTask
-
async
Run the task async.- Parameter:
runnable
- the runnable- Gibt zurück:
- the
BukkitTask
-
nextTick
Run a task on the next server tick.- Parameter:
runnable
- the runnable- Gibt zurück:
- the
BukkitTask
-