Package dev.aurelium.slate.text
Class TextFormatter
java.lang.Object
dev.aurelium.slate.text.TextFormatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyNewLines(String input) applyNewLines(List<String> input) legacyCodesToMiniMessage(String input) net.kyori.adventure.text.ComponentremoveItalic(net.kyori.adventure.text.Component component) net.kyori.adventure.text.ComponenttoComponent(String message) List<net.kyori.adventure.text.Component>toComponentLore(List<String> lore) toString(net.kyori.adventure.text.Component component)
-
Constructor Details
-
TextFormatter
public TextFormatter()
-
-
Method Details
-
toComponent
-
toComponentLore
-
removeItalic
public net.kyori.adventure.text.Component removeItalic(net.kyori.adventure.text.Component component) -
toString
-
applyNewLines
-
applyNewLines
-
legacyCodesToMiniMessage
-