net.minecraft.client.gui.components

public class MultiLineTextWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fia
net.minecraft.client.gui.components.MultiLineTextWidget
net.minecraft.class_7940
net.minecraft.client.gui.widget.MultilineTextWidget
net.minecraft.src.C_260406_

Field summary

Modifier and TypeField
private OptionalInt
a
maxWidth
field_42486
maxWidth
f_268685_
private OptionalInt
b
maxRows
field_42487
maxRows
f_268603_
private final SingleKeyCache<MultiLineTextWidget$CacheKey, MultiLineLabel>
c
cache
field_42488
cacheKeyToText
f_268539_
private boolean
d
centered
field_41343
centered
f_260670_

Constructor summary

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

Method summary

Modifier and TypeMethod
public MultiLineTextWidget
c(int arg0)
setColor(int arg0)
method_48983(int arg0)
setTextColor(int arg0)
m_269033_(int arg0)
public MultiLineTextWidget
d(int arg0)
setMaxWidth(int arg0)
method_48984(int arg0)
setMaxWidth(int maxWidth)
m_269098_(int arg0)
public MultiLineTextWidget
e(int arg0)
setMaxRows(int arg0)
method_48985(int arg0)
setMaxRows(int maxRows)
m_269328_(int arg0)
public MultiLineTextWidget
b(boolean arg0)
setCentered(boolean arg0)
method_48981(boolean arg0)
setCentered(boolean centered)
m_269484_(boolean arg0)
public int
x()
getWidth()
method_25368()
getWidth()
m_5711_()
public int
v()
getHeight()
method_25364()
getHeight()
m_93694_()
public void
b(fgt 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_261774_, int p_261640_, int p_261514_, float arg3)
private MultiLineTextWidget$CacheKey
c()
getFreshCacheKey()
method_48982()
getCacheKey()
m_269393_()