Package de.smoofy.core.api.module.tasks
Schnittstelle ICoreTask
public interface ICoreTask
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.bukkit.scheduler.BukkitTaskRun the task async.org.bukkit.scheduler.BukkitTaskRun the task after x ticks.org.bukkit.scheduler.BukkitTasklaterAsync(Runnable runnable, long delay) Run the task after x ticks.org.bukkit.scheduler.BukkitTaskRun a task on the next server tick.org.bukkit.scheduler.BukkitTaskRepeat the task every x ticks.org.bukkit.scheduler.BukkitTaskrepeatAsync(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
-