net.minecraft.client

public class StringSplitter

dkg
net.minecraft.client.StringSplitter
net.minecraft.class_5225
net.minecraft.client.font.TextHandler
net.minecraft.util.text.CharacterManager

Field summary

Modifier and TypeField
private final StringSplitter$WidthProvider
a
widthProvider
field_24216
widthRetriever
field_238347_a_

Constructor summary

ModifierConstructor
public (StringSplitter$WidthProvider widthRetriever)

Method summary

Modifier and TypeMethod
public float
a(String arg0)
stringWidth(String arg0)
method_27482(String arg0)
getWidth(String text)
func_238350_a_(String arg0)
public float
a(nu arg0)
stringWidth(FormattedText arg0)
method_27488(class_5348 arg0)
getWidth(StringVisitable text)
func_238356_a_(ITextProperties arg0)
public float
a(aex arg0)
stringWidth(FormattedCharSequence arg0)
method_30875(class_5481 arg0)
getWidth(OrderedText text)
func_243238_a(IReorderingProcessor arg0)
public int
a(String arg0, int arg1, ob arg2)
plainIndexAtWidth(String arg0, int arg1, Style arg2)
method_27484(String arg0, int arg1, class_2583 arg2)
getTrimmedLength(String text, int maxWidth, Style style)
func_238352_a_(String arg0, int arg1, Style arg2)
public String
b(String arg0, int arg1, ob arg2)
plainHeadByWidth(String arg0, int arg1, Style arg2)
method_27494(String arg0, int arg1, class_2583 arg2)
trimToWidth(String text, int maxWidth, Style style)
func_238361_b_(String arg0, int arg1, Style arg2)
public String
c(String arg0, int arg1, ob arg2)
plainTailByWidth(String arg0, int arg1, Style arg2)
method_27497(String arg0, int arg1, class_2583 arg2)
trimToWidthBackwards(String text, int maxWidth, Style style)
func_238364_c_(String arg0, int arg1, Style arg2)
public Style
a(nu arg0, int arg1)
componentStyleAtWidth(FormattedText arg0, int arg1)
method_27489(class_5348 arg0, int arg1)
getStyleAt(StringVisitable text, int x)
func_238357_a_(ITextProperties arg0, int arg1)
public Style
a(aex arg0, int arg1)
componentStyleAtWidth(FormattedCharSequence arg0, int arg1)
method_30876(class_5481 arg0, int arg1)
getStyleAt(OrderedText text, int x)
func_243239_a(IReorderingProcessor arg0, int arg1)
public FormattedText
a(nu arg0, int arg1, ob arg2)
headByWidth(FormattedText arg0, int arg1, Style arg2)
method_27490(class_5348 arg0, int arg1, class_2583 arg2)
trimToWidth(StringVisitable text, int width, Style style)
func_238358_a_(ITextProperties arg0, int arg1, Style 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)
moveCursorByWords(String text, int offset, int cursor, boolean consumeSpaceOrBreak)
func_238351_a_(String arg0, int arg1, int arg2, boolean arg3)
public void
a(String arg0, int arg1, ob arg2, boolean arg3, dkg$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)
wrapLines(String text, int maxWidth, Style style, boolean retainTrailingWordSplit, TextHandler$LineWrappingConsumer consumer)
func_238353_a_(String arg0, int arg1, Style arg2, boolean arg3, CharacterManager$ISliceAcceptor arg4)
public List<FormattedText>
g(String arg0, int arg1, ob arg2)
splitLines(String arg0, int arg1, Style arg2)
method_27498(String arg0, int arg1, class_2583 arg2)
wrapLines(String text, int maxWidth, Style style)
func_238365_g_(String arg0, int arg1, Style arg2)
public List<FormattedText>
b(nu arg0, int arg1, ob arg2)
splitLines(FormattedText arg0, int arg1, Style arg2)
method_27495(class_5348 arg0, int arg1, class_2583 arg2)
wrapLines(StringVisitable arg0, int maxWidth, Style arg2)
func_238362_b_(ITextProperties arg0, int arg1, Style arg2)
public void
a(nu arg0, int arg1, ob arg2, BiConsumer<nu, 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)
method_29971(StringVisitable arg0, int arg1, Style arg2, BiConsumer<StringVisitable, Boolean> arg3)
func_243242_a(ITextProperties arg0, int arg1, Style arg2, BiConsumer<ITextProperties, Boolean> arg3)