net.minecraft.client.gui.components

public class StringWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fpn
net.minecraft.client.gui.components.StringWidget
net.minecraft.class_7842
net.minecraft.client.gui.widget.TextWidget

Field summary

Modifier and TypeField
private float
a
alignX
field_42121
horizontalAlignment

Constructor summary

ModifierConstructor
public (Component message, Font textRenderer)
public (int width, int height, Component message, Font textRenderer)
public (int x, int y, int width, int height, Component message, Font textRenderer)

Method summary

Modifier and TypeMethod
public StringWidget
b(int arg0)
setColor(int arg0)
method_46438(int arg0)
setTextColor(int textColor)
private StringWidget
b(float arg0)
horizontalAlignment(float arg0)
method_48598(float arg0)
align(float horizontalAlignment)
public StringWidget
c()
alignLeft()
method_48596()
alignLeft()
public StringWidget
e()
alignCenter()
method_48597()
alignCenter()
public StringWidget
g()
alignRight()
method_48599()
alignRight()
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
private FormattedCharSequence
a(xv arg0, int arg1)
clipText(Component arg0, int arg1)
method_52728(class_2561 arg0, int arg1)
trim(Text text, int width)