java.lang.Object
com.palmergames.bukkit.towny.object.statusscreens.StatusScreen

public class StatusScreen extends Object
  • Constructor Details

    • StatusScreen

      public StatusScreen(org.bukkit.command.CommandSender sender)
  • Method Details

    • getCommandSender

      public org.bukkit.command.CommandSender getCommandSender()
    • addComponentOf

      public void addComponentOf(String name, String text)
    • addComponentOf

      public void addComponentOf(String name, net.kyori.adventure.text.Component component)
    • addComponentOf

      public void addComponentOf(String name, String text, net.kyori.adventure.text.event.ClickEvent click)
    • addComponentOf

      public void addComponentOf(String name, String text, net.kyori.adventure.text.event.HoverEvent<?> hover)
    • addComponentOf

      public void addComponentOf(String name, String text, net.kyori.adventure.text.event.HoverEvent<?> hover, net.kyori.adventure.text.event.ClickEvent click)
    • removeStatusComponent

      public void removeStatusComponent(String name)
    • getComponentKeys

      public Collection<String> getComponentKeys()
    • getComponents

      public Collection<net.kyori.adventure.text.Component> getComponents()
    • hasComponent

      public boolean hasComponent(String name)
    • getComponentOrNull

      @Nullable public @Nullable net.kyori.adventure.text.Component getComponentOrNull(String name)
    • replaceComponent

      public boolean replaceComponent(String name, net.kyori.adventure.text.Component replacement)
    • getFormattedStatusScreen

      public net.kyori.adventure.text.Component getFormattedStatusScreen()