net.minecraft.client.gui.components

public class StringWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fjt
net.minecraft.client.gui.components.StringWidget
net.minecraft.class_7842
net.minecraft.client.gui.widget.TextWidget
net.minecraft.src.C_267331_

Field summary

Modifier and TypeField
private float
a
alignX
field_42121
horizontalAlignment
f_267370_

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)
m_269033_(int arg0)
private StringWidget
b(float arg0)
horizontalAlignment(float arg0)
method_48598(float arg0)
align(float horizontalAlignment)
m_267568_(float arg0)
public StringWidget
c()
alignLeft()
method_48596()
alignLeft()
m_267769_()
public StringWidget
e()
alignCenter()
method_48597()
alignCenter()
m_267729_()
public StringWidget
f()
alignRight()
method_48599()
alignRight()
m_267574_()
public void
b(fhz 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)
m_87963_(C_279497_ p_268221_, int p_268001_, int p_268214_, float arg3)
private FormattedCharSequence
a(wz arg0, int arg1)
clipText(Component arg0, int arg1)
method_52728(class_2561 arg0, int arg1)
trim(Text text, int width)
m_293771_(C_4996_ p_298237_, int arg1)