net.minecraft.client

public class StringSplitter

dmi
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(mu arg0)
stringWidth(FormattedText arg0)
method_27488(class_5348 arg0)
getWidth(StringRenderable text)
func_238356_a_(ITextProperties arg0)
public int
a(String arg0, int arg1, nb 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, nb 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, nb 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(mu arg0, int arg1)
componentStyleAtWidth(FormattedText arg0, int arg1)
method_27489(class_5348 arg0, int arg1)
trimToWidth(StringRenderable text, int maxWidth)
func_238357_a_(ITextProperties arg0, int arg1)
public FormattedText
a(mu arg0, int arg1, nb arg2)
headByWidth(FormattedText arg0, int arg1, Style arg2)
method_27490(class_5348 arg0, int arg1, class_2583 arg2)
trimToWidth(StringRenderable 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, nb arg2, boolean arg3, dmi$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, nb 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(mu arg0, int arg1, nb arg2)
splitLines(FormattedText arg0, int arg1, Style arg2)
method_27495(class_5348 arg0, int arg1, class_2583 arg2)
wrapLines(StringRenderable arg0, int maxWidth, Style arg2)
func_238362_b_(ITextProperties arg0, int arg1, Style arg2)
public List<FormattedText>
a(mu arg0, int arg1, nb arg2, mu arg3)
splitLines(FormattedText arg0, int arg1, Style arg2, FormattedText arg3)
method_29971(class_5348 arg0, int arg1, class_2583 arg2, class_5348 arg3)
method_29971(StringRenderable arg0, int arg1, Style arg2, StringRenderable arg3)
func_241570_a_(ITextProperties arg0, int arg1, Style arg2, ITextProperties arg3)
private FormattedText
a(mu arg0, boolean arg1, mu arg2)
formattedLine(FormattedText arg0, boolean arg1, FormattedText arg2)
method_29972(class_5348 arg0, boolean arg1, class_5348 arg2)
method_29972(StringRenderable arg0, boolean arg1, StringRenderable arg2)
func_241571_a_(ITextProperties arg0, boolean arg1, ITextProperties arg2)