Class NewSidebar

java.lang.Object
com.marcusslover.plus.lib.sidebar.NewSidebar
All Implemented Interfaces:
ISendable<NewSidebar>

@Deprecated(forRemoval=true) public class NewSidebar extends Object implements ISendable<NewSidebar>
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final @NotNull LinkedList<@NotNull SidebarField>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull NewSidebar
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    addField(@NotNull Text prefix, @NotNull Text suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    addField(@NotNull String prefix, @NotNull String suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    destroy(@NotNull UUID uuid)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    destroy(@NotNull org.bukkit.entity.Player player)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable SidebarField
    findField(@NotNull String... filters)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull Optional<NewSidebar>
    get(@NotNull UUID uuid)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull Optional<NewSidebar>
    get(@NotNull org.bukkit.entity.Player player)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @Nullable SidebarField
    getField(int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull LinkedList<@NotNull SidebarField>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull org.bukkit.scoreboard.Objective
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull org.bukkit.scoreboard.Scoreboard
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull Map<UUID,NewSidebar>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    insertField(int index, @NotNull Text prefix, @NotNull Text suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    insertField(int index, @NotNull String prefix, @NotNull String suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull Text title)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull Text title, @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull String title)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull String title, @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull net.kyori.adventure.text.Component title)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static @NotNull NewSidebar
    of(@NotNull net.kyori.adventure.text.Component title, @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    removeField(int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    send(net.kyori.adventure.audience.Audience audience)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T extends org.bukkit.command.CommandSender>
    @NotNull NewSidebar
    send(T target)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    updateField(int index, @NotNull Text prefix, @NotNull Text suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    @NotNull NewSidebar
    updateField(int index, @NotNull String prefix, @NotNull String suffix)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    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

    • fields

      @NotNull protected final @NotNull LinkedList<@NotNull SidebarField> fields
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull String title)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull net.kyori.adventure.text.Component title)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull Text title)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull Text title, @NotNull @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull String title, @NotNull @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • of

      @NotNull public static @NotNull NewSidebar of(@NotNull @NotNull net.kyori.adventure.text.Component title, @NotNull @NotNull org.bukkit.scoreboard.Scoreboard scoreboard)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addField

      @NotNull public @NotNull NewSidebar addField(@NotNull @NotNull String prefix, @NotNull @NotNull String suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addField

      @NotNull public @NotNull NewSidebar addField(@NotNull @NotNull Text prefix, @NotNull @NotNull Text suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addField

      @NotNull public @NotNull NewSidebar addField()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insertField

      @NotNull public @NotNull NewSidebar insertField(int index, @NotNull @NotNull String prefix, @NotNull @NotNull String suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insertField

      @NotNull public @NotNull NewSidebar insertField(int index, @NotNull @NotNull Text prefix, @NotNull @NotNull Text suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • updateField

      @NotNull public @NotNull NewSidebar updateField(int index, @NotNull @NotNull String prefix, @NotNull @NotNull String suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • updateField

      @NotNull public @NotNull NewSidebar updateField(int index, @NotNull @NotNull Text prefix, @NotNull @NotNull Text suffix)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getField

      @Nullable public @Nullable SidebarField getField(int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • findField

      @Nullable public @Nullable SidebarField findField(@NotNull @NotNull String... filters)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeField

      @NotNull public @NotNull NewSidebar removeField(int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • clearFields

      @NotNull public @NotNull NewSidebar clearFields()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getObjective

      @NotNull public @NotNull org.bukkit.scoreboard.Objective getObjective()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getScoreboard

      @NotNull public @NotNull org.bukkit.scoreboard.Scoreboard getScoreboard()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSize

      public int getSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getFields

      @NotNull public @NotNull LinkedList<@NotNull SidebarField> getFields()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      @NotNull public static @NotNull Optional<NewSidebar> get(@NotNull @NotNull org.bukkit.entity.Player player)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      @NotNull public static @NotNull Optional<NewSidebar> get(@NotNull @NotNull UUID uuid)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • destroy

      public static void destroy(@NotNull @NotNull org.bukkit.entity.Player player)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • destroy

      public static void destroy(@NotNull @NotNull UUID uuid)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSidebarMap

      @NotNull public static @NotNull Map<UUID,NewSidebar> getSidebarMap()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • send

      @NotNull public <T extends org.bukkit.command.CommandSender> @NotNull NewSidebar send(@NotNull T target)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      send in interface ISendable<NewSidebar>
    • send

      @NotNull public @NotNull NewSidebar send(net.kyori.adventure.audience.Audience audience)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      send in interface ISendable<NewSidebar>