net.minecraft.client.gui.components

public class MultiLineTextWidget

extends AbstractStringWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fpa
net.minecraft.client.gui.components.MultiLineTextWidget
net.minecraft.class_7940
net.minecraft.client.gui.widget.MultilineTextWidget

Field summary

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

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)
public MultiLineTextWidget
d(int arg0)
setMaxWidth(int arg0)
method_48984(int arg0)
setMaxWidth(int maxWidth)
public MultiLineTextWidget
e(int arg0)
setMaxRows(int arg0)
method_48985(int arg0)
setMaxRows(int maxRows)
public MultiLineTextWidget
b(boolean arg0)
setCentered(boolean arg0)
method_48981(boolean arg0)
setCentered(boolean centered)
public int
y()
getWidth()
method_25368()
getWidth()
public int
w()
getHeight()
method_25364()
getHeight()
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 MultiLineTextWidget$CacheKey
c()
getFreshCacheKey()
method_48982()
getCacheKey()