public interface TimedTask extends Task
The game engine will execute the Task on the tick where the specified amount of time has passed; the exact amount of time passed depends on the tick rate of the server as well as the current server load.
Modifier and Type | Method and Description |
---|---|
long |
getTimeMillis()
Get the amount of time, in milliseconds, before execution.
|
long getTimeMillis()
The execute() method of the Task will be called when at least the amount of time returned by this method has passed. More time then the return value of this method may have passed due to the tick rate of the engine of the load of the server.