Package net.minecraft.util.text
Class CharacterManager
java.lang.Object
net.minecraft.util.text.CharacterManager
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
(package private) class
(package private) class
(package private) static class
(package private) static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomponentStyleAtWidth
(IReorderingProcessor p_243239_1_, int p_243239_2_) componentStyleAtWidth
(ITextProperties p_238357_1_, int p_238357_2_) static int
getWordPosition
(String p_238351_0_, int p_238351_1_, int p_238351_2_, boolean p_238351_3_) headByWidth
(ITextProperties p_238358_1_, int p_238358_2_, Style p_238358_3_) plainHeadByWidth
(String p_238361_1_, int p_238361_2_, Style p_238361_3_) int
plainIndexAtWidth
(String p_238352_1_, int p_238352_2_, Style p_238352_3_) plainTailByWidth
(String p_238364_1_, int p_238364_2_, Style p_238364_3_) splitLines
(String p_238365_1_, int p_238365_2_, Style p_238365_3_) void
splitLines
(String p_238353_1_, int p_238353_2_, Style p_238353_3_, boolean p_238353_4_, CharacterManager.ISliceAcceptor p_238353_5_) splitLines
(ITextProperties p_238362_1_, int p_238362_2_, Style p_238362_3_) void
splitLines
(ITextProperties p_243242_1_, int p_243242_2_, Style p_243242_3_, BiConsumer<ITextProperties, Boolean> p_243242_4_) float
stringWidth
(String p_238350_1_) float
stringWidth
(IReorderingProcessor p_243238_1_) float
stringWidth
(ITextProperties p_238356_1_)
-
Field Details
-
widthProvider
-
-
Constructor Details
-
CharacterManager
-
-
Method Details
-
stringWidth
-
stringWidth
-
stringWidth
-
plainIndexAtWidth
-
plainHeadByWidth
-
plainTailByWidth
-
componentStyleAtWidth
-
componentStyleAtWidth
-
headByWidth
-
getWordPosition
public static int getWordPosition(String p_238351_0_, int p_238351_1_, int p_238351_2_, boolean p_238351_3_) -
splitLines
public void splitLines(String p_238353_1_, int p_238353_2_, Style p_238353_3_, boolean p_238353_4_, CharacterManager.ISliceAcceptor p_238353_5_) -
splitLines
-
splitLines
public List<ITextProperties> splitLines(ITextProperties p_238362_1_, int p_238362_2_, Style p_238362_3_) -
splitLines
public void splitLines(ITextProperties p_243242_1_, int p_243242_2_, Style p_243242_3_, BiConsumer<ITextProperties, Boolean> p_243242_4_)
-