net.minecraft.client.gui.components

public class StringWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

epc
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
h(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
e()
alignLeft()
method_48596()
alignLeft()
m_267769_()
public StringWidget
f()
alignCenter()
method_48597()
alignCenter()
m_267729_()
public StringWidget
g()
alignRight()
method_48599()
alignRight()
m_267574_()
public void
b(ehe arg0, int arg1, int arg2, float arg3)
renderWidget(PoseStack arg0, int arg1, int arg2, float arg3)
method_48579(class_4587 arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
m_87963_(C_3181_ p_268221_, int p_268001_, int p_268214_, float arg3)