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 Deprecated Methods 
      Modifier and Type Method Description
      @NotNull java.time.Duration fadeIn()
      Gets the time the title will fade-in.
      @NotNull java.time.Duration fadeOut()
      Gets the time the title will fade-out.
      static @NotNull Title.Times of​(@NotNull java.time.Duration fadeIn, @NotNull java.time.Duration stay, @NotNull java.time.Duration fadeOut)
      Deprecated.
      for removal since 4.10.0, use Title.times()
      @NotNull java.time.Duration stay()
      Gets the time the title will stay.
      static @NotNull Title.Times times​(@NotNull java.time.Duration fadeIn, @NotNull java.time.Duration stay, @NotNull java.time.Duration fadeOut)
      Creates times.
      • Methods inherited from interface net.kyori.examination.Examinable

        examinableName, examinableProperties, examine
    • Method Detail

      • of

        @ScheduledForRemoval(inVersion="5.0.0")
        @Deprecated
        @NotNull
        static @NotNull Title.Times of​(@NotNull
                                       @NotNull java.time.Duration fadeIn,
                                       @NotNull
                                       @NotNull java.time.Duration stay,
                                       @NotNull
                                       @NotNull java.time.Duration fadeOut)
        Deprecated.
        for removal since 4.10.0, use Title.times()
        Creates times.
        Parameters:
        fadeIn - the fade-in time
        stay - the stay time
        fadeOut - the fade-out time
        Returns:
        times
        Since:
        4.0.0
      • times

        @NotNull
        static @NotNull Title.Times times​(@NotNull
                                          @NotNull java.time.Duration fadeIn,
                                          @NotNull
                                          @NotNull java.time.Duration stay,
                                          @NotNull
                                          @NotNull java.time.Duration fadeOut)
        Creates times.
        Parameters:
        fadeIn - the fade-in time
        stay - the stay time
        fadeOut - the fade-out time
        Returns:
        times
        Since:
        4.10.0
      • fadeIn

        @NotNull
        @NotNull java.time.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 java.time.Duration stay()
        Gets the time the title will stay.
        Returns:
        the time the title will stay
        Since:
        4.0.0
      • fadeOut

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