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

    Modifier and Type Method Description
    @NonNull Duration fadeIn()
    Gets the time the title will fade-in.
    @NonNull Duration fadeOut()
    Gets the time the title will fade-out.
    static @NonNull Title.Times of​(@NonNull Duration fadeIn, @NonNull Duration stay, @NonNull Duration fadeOut)
    Creates times.
    @NonNull Duration stay()
    Gets the time the title will stay.

    Methods inherited from interface net.kyori.examination.Examinable

    examinableName, examinableProperties, examine
  • Method Details

    • of

      static @NonNull Title.Times of​(@NonNull Duration fadeIn, @NonNull Duration stay, @NonNull Duration fadeOut)
      Creates times.
      Parameters:
      fadeIn - the fade-in time
      stay - the stay time
      fadeOut - the fade-eut time
      Returns:
      times
      Since:
      4.0.0
    • fadeIn

      @NonNull Duration fadeIn()
      Gets the time the title will fade-in.
      Returns:
      the time the title will fade-in
      Since:
      4.0.0
    • stay

      @NonNull Duration stay()
      Gets the time the title will stay.
      Returns:
      the time the title will stay
      Since:
      4.0.0
    • fadeOut

      @NonNull Duration fadeOut()
      Gets the time the title will fade-out.
      Returns:
      the time the title will fade-out
      Since:
      4.0.0