public class WarmUpUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
WarmUpUtil.Warmup |
| Constructor and Description |
|---|
WarmUpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
process(FPlayer player,
WarmUpUtil.Warmup warmup,
TL translationKey,
java.lang.String action,
java.lang.Runnable runnable,
long delay) |
public static void process(FPlayer player, WarmUpUtil.Warmup warmup, TL translationKey, java.lang.String action, java.lang.Runnable runnable, long delay)
player - The player to notify.translationKey - The translation key used for notifying.action - The action, inserted into the notification message.runnable - The task to run after the delay. If the delay is 0, the task is instantly ran.delay - The time used, in seconds, for the delay.