net.minecraft.client.gui.components

public class MultiLineEditBox

extends AbstractTextAreaWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

gio
net.minecraft.client.gui.components.MultiLineEditBox
net.minecraft.class_7529
net.minecraft.client.gui.widget.EditBoxWidget

Field summary

Modifier and TypeField
private static final int
c
CURSOR_INSERT_WIDTH
field_39502
CURSOR_PADDING
private static final int
d
CURSOR_COLOR
field_39503
CURSOR_COLOR
private static final String
e
CURSOR_APPEND_CHARACTER
field_39504
UNDERSCORE
private static final int
f
PLACEHOLDER_TEXT_COLOR
field_39506
UNFOCUSED_BOX_TEXT_COLOR
private static final int
n
CURSOR_BLINK_INTERVAL_MS
field_45363
CURSOR_BLINK_INTERVAL
private final Font
o
font
field_39507
textRenderer
private final Component
p
placeholder
field_39508
placeholder
private final MultilineTextField
q
textField
field_39509
editBox
private final int
r
textColor
field_60439
textColor
private final boolean
s
textShadow
field_60440
textShadow
private final int
t
cursorColor
field_60441
cursorColor
private long
u
focusedTime
field_45364
lastSwitchFocusTime

Constructor summary

ModifierConstructor
(Font textRenderer, int x, int y, int width, int height, Component placeholder, Component message, int textColor, boolean textShadow, int cursorColor, boolean hasBackground, boolean hasOverlay)

Method summary

Modifier and TypeMethod
public void
a(int arg0)
setCharacterLimit(int arg0)
method_44402(int arg0)
setMaxLength(int maxLength)
public void
b(int arg0)
setLineLimit(int arg0)
method_71506(int arg0)
setMaxLines(int maxLines)
public void
b(Consumer<String> arg0)
setValueListener(Consumer<String> arg0)
method_44401(Consumer<String> arg0)
setChangeListener(Consumer<String> changeListener)
public void
a(String arg0)
setValue(String arg0)
method_44400(String arg0)
setText(String text)
public void
a(String arg0, boolean arg1)
setValue(String arg0, boolean arg1)
method_72234(String arg0, boolean arg1)
setText(String text, boolean allowOverflow)
public String
u()
getValue()
method_44405()
getText()
public void
a(gnv arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
public void
b(gxs arg0, boolean arg1)
onClick(MouseButtonEvent arg0, boolean arg1)
method_25348(class_11909 arg0, boolean arg1)
onClick(Click arg0, boolean arg1)
protected void
b(gxs arg0, double arg1, double arg2)
onDrag(MouseButtonEvent arg0, double arg1, double arg2)
method_25349(class_11909 arg0, double arg1, double arg2)
onDrag(Click arg0, double arg1, double arg2)
public boolean
a(gxr arg0)
keyPressed(KeyEvent arg0)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public boolean
a(gxo arg0)
charTyped(CharacterEvent arg0)
method_25400(class_11905 arg0)
charTyped(CharInput arg0)
protected void
c(ghi arg0, int arg1, int arg2, float arg3)
renderContents(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_44389(class_332 arg0, int arg1, int arg2, float arg3)
renderContents(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
a(ghi arg0)
renderDecorations(GuiGraphics arg0)
method_44384(class_332 arg0)
renderOverlay(DrawContext arg0)
public int
d()
getInnerHeight()
method_44391()
getContentsHeight()
protected double
p()
scrollRate()
method_44393()
getDeltaYPerScroll()
private void
w()
scrollToCursor()
method_44407()
onCursorChange()
private void
b(double arg0, double arg1)
seekCursorScreen(double arg0, double arg1)
method_44404(double arg0, double arg1)
moveCursor(double mouseX, double mouseY)
public void
b(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean arg0)
public static MultiLineEditBox$Builder
v()
builder()
method_71507()
builder()