Class CooldownCaption<S>
java.lang.Object
io.github.mqzn.commands.base.cooldown.CooldownCaption<S>
- All Implemented Interfaces:
Caption<S>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.mqzn.commands.base.caption.Caption
Caption.Builder<S>, Caption.CaptionResult<S> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longcalculateRemainingTime(long lastTime, CommandCooldown commandCooldown) net.kyori.adventure.text.TextComponentcooldownMessage(long time, TimeUnit unit, Context<S> context) static StringformatUnit(TimeUnit unit) @NotNull CaptionKeykey()@NotNull net.kyori.adventure.text.TextComponent
-
Constructor Details
-
CooldownCaption
public CooldownCaption()
-
-
Method Details