net.minecraft.client

public class StringSplitter

egh
net.minecraft.client.StringSplitter
net.minecraft.class_5225
net.minecraft.unmapped.C_wtqrualh
net.minecraft.client.font.TextHandler
net.minecraft.client.font.TextHandler
net.minecraft.src.C_3410_

Field summary

Modifier and TypeField
final StringSplitter$WidthProvider
a
widthProvider
field_24216
f_dffsjgzx
widthRetriever
widthRetriever
f_92333_

Constructor summary

ModifierConstructor
public (StringSplitter$WidthProvider widthRetriever)

Method summary

Modifier and TypeMethod
public float
a(String arg0)
stringWidth(String arg0)
method_27482(String arg0)
m_pidpseod(String arg0)
getWidth(String text)
getWidth(String text)
m_92353_(String arg0)
public float
a(ru arg0)
stringWidth(FormattedText arg0)
method_27488(class_5348 arg0)
m_aycdiaig(C_xzalvetc arg0)
getWidth(StringVisitable text)
getWidth(StringVisitable text)
m_92384_(C_5000_ arg0)
public float
a(alu arg0)
stringWidth(FormattedCharSequence arg0)
method_30875(class_5481 arg0)
m_uzfjhpzn(C_apvkgwyi arg0)
getWidth(OrderedText text)
getWidth(OrderedText text)
m_92336_(C_178_ arg0)
public int
a(String arg0, int arg1, sj arg2)
plainIndexAtWidth(String arg0, int arg1, Style arg2)
method_27484(String arg0, int arg1, class_2583 arg2)
m_vzvghysv(String arg0, int arg1, C_cpwnhism arg2)
getTrimmedLength(String text, int maxWidth, Style style)
getTrimmedLength(String text, int maxWidth, Style style)
m_92360_(String p_92362_, int p_92363_, C_5020_ arg2)
public String
b(String arg0, int arg1, sj arg2)
plainHeadByWidth(String arg0, int arg1, Style arg2)
method_27494(String arg0, int arg1, class_2583 arg2)
m_qhnvczpm(String arg0, int arg1, C_cpwnhism arg2)
trimToWidth(String text, int maxWidth, Style style)
trimToWidth(String text, int maxWidth, Style style)
m_92410_(String p_92412_, int p_92413_, C_5020_ arg2)
public String
c(String arg0, int arg1, sj arg2)
plainTailByWidth(String arg0, int arg1, Style arg2)
method_27497(String arg0, int arg1, class_2583 arg2)
m_vqpsfmyn(String arg0, int arg1, C_cpwnhism arg2)
trimToWidthBackwards(String text, int maxWidth, Style style)
trimToWidthBackwards(String text, int maxWidth, Style style)
m_92423_(String p_92425_, int p_92426_, C_5020_ arg2)
public int
d(String arg0, int arg1, sj arg2)
formattedIndexByWidth(String arg0, int arg1, Style arg2)
method_35715(String arg0, int arg1, class_2583 arg2)
m_ldsorqic(String arg0, int arg1, C_cpwnhism arg2)
getLimitedStringLength(String text, int maxWidth, Style style)
getLimitedStringLength(String text, int maxWidth, Style style)
m_168626_(String p_168628_, int p_168629_, C_5020_ arg2)
public Style
a(ru arg0, int arg1)
componentStyleAtWidth(FormattedText arg0, int arg1)
method_27489(class_5348 arg0, int arg1)
m_bugehdsr(C_xzalvetc arg0, int arg1)
getStyleAt(StringVisitable text, int x)
getStyleAt(StringVisitable text, int x)
m_92386_(C_5000_ p_92388_, int arg1)
public Style
a(alu arg0, int arg1)
componentStyleAtWidth(FormattedCharSequence arg0, int arg1)
method_30876(class_5481 arg0, int arg1)
m_tjzitkng(C_apvkgwyi arg0, int arg1)
getStyleAt(OrderedText text, int x)
getStyleAt(OrderedText text, int x)
m_92338_(C_178_ p_92340_, int arg1)
public String
e(String arg0, int arg1, sj arg2)
formattedHeadByWidth(String arg0, int arg1, Style arg2)
method_35716(String arg0, int arg1, class_2583 arg2)
m_lgfirzxp(String arg0, int arg1, C_cpwnhism arg2)
limitString(String text, int maxWidth, Style style)
limitString(String text, int maxWidth, Style style)
m_168630_(String p_168632_, int p_168633_, C_5020_ arg2)
public FormattedText
a(ru arg0, int arg1, sj arg2)
headByWidth(FormattedText arg0, int arg1, Style arg2)
method_27490(class_5348 arg0, int arg1, class_2583 arg2)
m_kppicsfe(C_xzalvetc arg0, int arg1, C_cpwnhism arg2)
trimToWidth(StringVisitable text, int width, Style style)
trimToWidth(StringVisitable text, int width, Style style)
m_92389_(C_5000_ p_92391_, int p_92392_, C_5020_ arg2)
public List<StringSplitter$Span>
a(alu arg0, Predicate<sj> arg1)
findSpans(FormattedCharSequence arg0, Predicate<Style> arg1)
method_44918(class_5481 arg0, Predicate<class_2583> arg1)
m_onfnepzy(C_apvkgwyi arg0, Predicate<C_cpwnhism> arg1)
getStyleMatchResults(OrderedText text, Predicate<Style> stylePredicate)
m_onfnepzy(OrderedText arg0, Predicate<Style> arg1)
m_241773_(C_178_ p_242453_, Predicate<C_5020_> arg1)
public int
f(String arg0, int arg1, sj arg2)
findLineBreak(String arg0, int arg1, Style arg2)
method_35717(String arg0, int arg1, class_2583 arg2)
m_uykwzymq(String arg0, int arg1, C_cpwnhism arg2)
getEndingIndex(String text, int maxWidth, Style style)
findLineBreak(String text, int maxWidth, Style style)
m_168634_(String p_168636_, int p_168637_, C_5020_ arg2)
public static int
a(String arg0, int arg1, int arg2, boolean arg3)
getWordPosition(String arg0, int arg1, int arg2, boolean arg3)
method_27483(String arg0, int arg1, int arg2, boolean arg3)
m_zbcrjuer(String arg0, int arg1, int arg2, boolean arg3)
moveCursorByWords(String text, int offset, int cursor, boolean consumeSpaceOrBreak)
moveCursorByWords(String text, int offset, int cursor, boolean consumeSpaceOrBreak)
m_92355_(String p_92356_, int p_92357_, int p_92358_, boolean p_92359_)
public void
a(String arg0, int arg1, sj arg2, boolean arg3, egh$d arg4)
splitLines(String arg0, int arg1, Style arg2, boolean arg3, StringSplitter$LinePosConsumer arg4)
method_27485(String arg0, int arg1, class_2583 arg2, boolean arg3, class_5225$class_5229 arg4)
m_wxjhbkrj(String arg0, int arg1, C_cpwnhism arg2, boolean arg3, C_wtqrualh$C_xlvdthfz arg4)
wrapLines(String text, int maxWidth, Style style, boolean retainTrailingWordSplit, TextHandler$LineWrappingConsumer consumer)
wrapLines(String text, int maxWidth, Style style, boolean retainTrailingWordSplit, TextHandler$LineWrappingConsumer consumer)
m_92364_(String p_92366_, int p_92367_, C_5020_ p_92368_, boolean p_92369_, C_3415_ arg4)
public List<FormattedText>
g(String arg0, int arg1, sj arg2)
splitLines(String arg0, int arg1, Style arg2)
method_27498(String arg0, int arg1, class_2583 arg2)
m_wkevrvze(String arg0, int arg1, C_cpwnhism arg2)
wrapLines(String text, int maxWidth, Style style)
wrapLines(String text, int maxWidth, Style style)
m_92432_(String p_92434_, int p_92435_, C_5020_ arg2)
public List<FormattedText>
b(ru arg0, int arg1, sj arg2)
splitLines(FormattedText arg0, int arg1, Style arg2)
method_27495(class_5348 arg0, int arg1, class_2583 arg2)
m_hnixjolh(C_xzalvetc arg0, int arg1, C_cpwnhism arg2)
wrapLines(StringVisitable text, int maxWidth, Style style)
wrapLines(StringVisitable text, int maxWidth, Style style)
m_92414_(C_5000_ p_92416_, int p_92417_, C_5020_ arg2)
public List<FormattedText>
a(ru arg0, int arg1, sj arg2, ru arg3)
splitLines(FormattedText arg0, int arg1, Style arg2, FormattedText arg3)
method_35714(class_5348 arg0, int arg1, class_2583 arg2, class_5348 arg3)
m_ofdauytz(C_xzalvetc arg0, int arg1, C_cpwnhism arg2, C_xzalvetc arg3)
wrapLines(StringVisitable text, int maxWidth, Style style, StringVisitable wrappedLinePrefix)
wrapLines(StringVisitable text, int maxWidth, Style style, StringVisitable wrappedLinePrefix)
m_168621_(C_5000_ p_168623_, int p_168624_, C_5020_ p_168625_, C_5000_ arg3)
public void
a(ru arg0, int arg1, sj arg2, BiConsumer<ru, Boolean> arg3)
splitLines(FormattedText arg0, int arg1, Style arg2, BiConsumer<FormattedText, Boolean> arg3)
method_29971(class_5348 arg0, int arg1, class_2583 arg2, BiConsumer<class_5348, Boolean> arg3)
m_ikrnrxtd(C_xzalvetc arg0, int arg1, C_cpwnhism arg2, BiConsumer<C_xzalvetc, Boolean> arg3)
wrapLines(StringVisitable text, int maxWidth, Style style, BiConsumer<StringVisitable, Boolean> lineConsumer)
wrapLines(StringVisitable text, int maxWidth, Style style, BiConsumer<StringVisitable, Boolean> lineConsumer)
m_92393_(C_5000_ p_92395_, int p_92396_, C_5020_ p_92397_, BiConsumer<C_5000_, Boolean> arg3)