Class Title

java.lang.Object
com.marcusslover.plus.lib.title.Title
All Implemented Interfaces:
ISendable<Title>

public class Title extends Object implements ISendable<Title>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final @NotNull Text
     
    protected net.kyori.adventure.title.Title.Times
     
    protected final @NotNull Text
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.kyori.adventure.title.Title
     
    static @NotNull Title
    of(@NotNull Text text)
     
    static @NotNull Title
    of(@NotNull Text title, @NotNull Text subtitle)
     
    static @NotNull Title
    of(@NotNull String title)
     
    static @NotNull Title
    of(@NotNull String title, @NotNull String subtitle)
     
    @NotNull Title
    send(net.kyori.adventure.audience.Audience audience)
     
    @NotNull Title
    send(@NotNull org.bukkit.command.CommandSender player, long fadeIn, long fadeStay, long fadeOut)
     
    @NotNull Title
    send(@NotNull org.bukkit.command.CommandSender player, @Nullable net.kyori.adventure.title.Title.Times times)
     
    <T extends org.bukkit.command.CommandSender>
    @NotNull Title
    send(T target)
     
    @NotNull Title
    times(int fadeIn, int stay, int fadeOut)
     
    @NotNull Title
    times(long fadeIn, long stay, long fadeOut)
     
    @NotNull Title
    times(@NotNull net.kyori.adventure.title.Title.Times times)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.marcusslover.plus.lib.common.ISendable

    send, send, sendAll, sendAll, sendAll
  • Field Details

    • title

      @NotNull protected final @NotNull Text title
    • subtitle

      @NotNull protected final @NotNull Text subtitle
    • times

      protected net.kyori.adventure.title.Title.Times times
  • Method Details

    • of

      @NotNull public static @NotNull Title of(@NotNull @NotNull String title)
    • of

      @NotNull public static @NotNull Title of(@NotNull @NotNull Text text)
    • of

      @NotNull public static @NotNull Title of(@NotNull @NotNull String title, @NotNull @NotNull String subtitle)
    • of

      @NotNull public static @NotNull Title of(@NotNull @NotNull Text title, @NotNull @NotNull Text subtitle)
    • send

      @NotNull public @NotNull Title send(@NotNull @NotNull org.bukkit.command.CommandSender player, long fadeIn, long fadeStay, long fadeOut)
    • send

      @NotNull public @NotNull Title send(@NotNull @NotNull org.bukkit.command.CommandSender player, @Nullable @Nullable net.kyori.adventure.title.Title.Times times)
    • send

      @NotNull public <T extends org.bukkit.command.CommandSender> @NotNull Title send(@NotNull T target)
      Specified by:
      send in interface ISendable<Title>
    • send

      @NotNull public @NotNull Title send(net.kyori.adventure.audience.Audience audience)
      Specified by:
      send in interface ISendable<Title>
    • adventure

      @NotNull public net.kyori.adventure.title.Title adventure()
    • times

      @NotNull public @NotNull Title times(@NotNull @NotNull net.kyori.adventure.title.Title.Times times)
    • times

      @NotNull public @NotNull Title times(int fadeIn, int stay, int fadeOut)
    • times

      @NotNull public @NotNull Title times(long fadeIn, long stay, long fadeOut)