Class Scheduling.ScheduledTask.Builder
java.lang.Object
com.pixelmonmod.pixelmon.api.util.Scheduling.ScheduledTask.Builder
- Enclosing class:
Scheduling.ScheduledTask
-
Method Summary
Modifier and TypeMethodDescriptionasync()
async
(boolean async) build()
duration
(long duration, TemporalUnit unit) instant()
milliseconds
(long milliseconds) minutes
(long minutes) once()
repeats
(boolean repeats) schedule()
seconds
(long seconds) sync()
task
(Consumer<Scheduling.ScheduledTask> task) ticks
(long ticks)
-
Method Details
-
async
-
async
-
sync
-
instant
-
ticks
-
milliseconds
-
seconds
-
minutes
-
duration
-
duration
-
repeats
-
repeating
-
once
-
task
-
task
-
andThen
-
andThen
-
build
-
schedule
-