net.minecraft.client.gui.components

public class StringWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eyn
net.minecraft.client.gui.components.StringWidget
net.minecraft.class_7842
net.minecraft.unmapped.C_wlamjkhk
net.minecraft.client.gui.widget.TextWidget
net.minecraft.client.gui.widget.text.TextWidget
net.minecraft.src.C_267331_

Field summary

Modifier and TypeField
private float
a
alignX
field_42121
f_ltpuwlsc
horizontalAlignment
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)
m_zxdtgdwm(int arg0)
setTextColor(int textColor)
setTextColor(int arg0)
m_269033_(int arg0)
private StringWidget
b(float arg0)
horizontalAlignment(float arg0)
method_48598(float arg0)
m_rlctiwix(float arg0)
align(float horizontalAlignment)
alignHorizontally(float alignment)
m_267568_(float arg0)
public StringWidget
d()
alignLeft()
method_48596()
m_ahoxjurb()
alignLeft()
alignLeft()
m_267769_()
public StringWidget
e()
alignCenter()
method_48597()
m_clpqfybi()
alignCenter()
alignCenter()
m_267729_()
public StringWidget
f()
alignRight()
method_48599()
m_mysacpzb()
alignRight()
alignRight()
m_267574_()
public void
b(ewu 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)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_268221_, int p_268001_, int p_268214_, float arg3)
private FormattedCharSequence
a(vf arg0, int arg1)
clipText(Component arg0, int arg1)
method_52728(class_2561 arg0, int arg1)
m_mwkowyyh(C_rdaqiwdt arg0, int arg1)
trim(Text text, int width)
m_293771_(C_4996_ p_298237_, int arg1)