Package net.kyori.adventure.title
Interface Title.Times
-
- All Superinterfaces:
net.kyori.examination.Examinable
- Enclosing interface:
- Title
public static interface Title.Times extends net.kyori.examination.Examinable
Title times.- Since:
- 4.0.0
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Duration
fadeIn()
Gets the time the title will fade-in.@NotNull Duration
fadeOut()
Gets the time the title will fade-out.static @NotNull Title.Times
of(@NotNull Duration fadeIn, @NotNull Duration stay, @NotNull Duration fadeOut)
Creates times.@NotNull Duration
stay()
Gets the time the title will stay.
-
-
-
Method Detail
-
of
@NotNull static @NotNull Title.Times of(@NotNull @NotNull Duration fadeIn, @NotNull @NotNull Duration stay, @NotNull @NotNull Duration fadeOut)
Creates times.- Parameters:
fadeIn
- the fade-in timestay
- the stay timefadeOut
- the fade-out time- Returns:
- times
- Since:
- 4.0.0
-
fadeIn
@NotNull @NotNull Duration fadeIn()
Gets the time the title will fade-in.- Returns:
- the time the title will fade-in
- Since:
- 4.0.0
-
stay
@NotNull @NotNull Duration stay()
Gets the time the title will stay.- Returns:
- the time the title will stay
- Since:
- 4.0.0
-
fadeOut
@NotNull @NotNull Duration fadeOut()
Gets the time the title will fade-out.- Returns:
- the time the title will fade-out
- Since:
- 4.0.0
-
-