Class TextFormatter

java.lang.Object
dev.aurelium.slate.text.TextFormatter

public class TextFormatter extends Object
  • Constructor Details

    • TextFormatter

      public TextFormatter()
  • Method Details

    • toComponent

      public net.kyori.adventure.text.Component toComponent(String message)
    • toComponentLore

      public List<net.kyori.adventure.text.Component> toComponentLore(List<String> lore)
    • removeItalic

      public net.kyori.adventure.text.Component removeItalic(net.kyori.adventure.text.Component component)
    • toString

      public String toString(net.kyori.adventure.text.Component component)
    • applyNewLines

      public List<String> applyNewLines(List<String> input)
    • applyNewLines

      public List<String> applyNewLines(String input)
    • legacyCodesToMiniMessage

      public String legacyCodesToMiniMessage(String input)