Package dev.kitteh.factions.util
Class TextUtil
java.lang.Object
dev.kitteh.factions.util.TextUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetLegacyString(net.kyori.adventure.text.format.TextColor color) static StringgetMaterialName(org.bukkit.Material material) static StringDeprecated, for removal: This API element is subject to removal in a future version.static StringDeprecated, for removal: This API element is subject to removal in a future version.static StringDeprecated, for removal: This API element is subject to removal in a future version.static net.kyori.adventure.text.ComponentDeprecated, for removal: This API element is subject to removal in a future version.static net.kyori.adventure.text.Componenttitleize(net.kyori.adventure.text.Component title) static net.kyori.adventure.text.Componenttitleize(net.kyori.adventure.text.Component title, @Nullable net.kyori.adventure.text.minimessage.Context ctx) static StringtitleizeLegacy(String str) Deprecated, for removal: This API element is subject to removal in a future version.static StringupperCaseFirst(String string)
-
Method Details
-
getLegacyString
-
parse
@Obsolete @Deprecated(forRemoval=true, since="4.3.0") public static String parse(String str, Object... args) Deprecated, for removal: This API element is subject to removal in a future version. -
parse
Deprecated, for removal: This API element is subject to removal in a future version. -
upperCaseFirst
-
repeat
@Obsolete @Deprecated(forRemoval=true, since="4.3.0") public static String repeat(String s, int times) Deprecated, for removal: This API element is subject to removal in a future version. -
getMaterialName
-
titleize
@AvailableSince("4.3.0") public static net.kyori.adventure.text.Component titleize(net.kyori.adventure.text.Component title, @Nullable net.kyori.adventure.text.minimessage.Context ctx) -
titleize
@AvailableSince("4.3.0") public static net.kyori.adventure.text.Component titleize(net.kyori.adventure.text.Component title) -
titleizeLegacy
@Obsolete @Deprecated(forRemoval=true, since="4.3.0") public static String titleizeLegacy(String str) Deprecated, for removal: This API element is subject to removal in a future version. -
titleize
@Obsolete @Deprecated(forRemoval=true, since="4.3.0") public static net.kyori.adventure.text.Component titleize(String string) Deprecated, for removal: This API element is subject to removal in a future version.
-