Class TextHelper
java.lang.Object
com.stereowalker.unionlib.util.TextHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.network.chat.ComponentarticulatedComponent(net.minecraft.network.chat.Component component, boolean iaArticleCapital, boolean shouldArticleUseComponentStyle) static StringarticulatedText(String text, boolean iaArticleCapital) static booleanisFirstLeterVowel(String text) static booleanisFirstLeterVowel(net.minecraft.network.chat.Component component)
-
Constructor Details
-
TextHelper
public TextHelper()
-
-
Method Details
-
isFirstLeterVowel
-
isFirstLeterVowel
public static boolean isFirstLeterVowel(net.minecraft.network.chat.Component component) -
articulatedText
-
articulatedComponent
public static net.minecraft.network.chat.Component articulatedComponent(net.minecraft.network.chat.Component component, boolean iaArticleCapital, boolean shouldArticleUseComponentStyle)
-