net.minecraft.client.gui.components

public class MultiLineEditBox

extends AbstractScrollWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhy
net.minecraft.client.gui.components.MultiLineEditBox
net.minecraft.class_7529
net.minecraft.unmapped.C_uqwspvtd
net.minecraft.client.gui.widget.EditBoxWidget
net.minecraft.client.gui.widget.EditBoxWidget
net.minecraft.src.C_238461_

Field summary

Modifier and TypeField
private static final int
a
CURSOR_INSERT_WIDTH
field_39502
f_hitkjwgv
CURSOR_PADDING
CURSOR_INSERT_WIDTH
f_238826_
private static final int
b
CURSOR_INSERT_COLOR
field_39503
f_byyxedyq
CURSOR_COLOR
CURSOR_INSERT_COLOR
f_238688_
private static final String
c
CURSOR_APPEND_CHARACTER
field_39504
f_jgfvjiub
UNDERSCORE
CURSOR_APPEND_CHARACTER
f_238647_
private static final int
d
TEXT_COLOR
field_39505
f_hqpqwaey
FOCUSED_BOX_TEXT_COLOR
TEXT_COLOR
f_238712_
private static final int
e
PLACEHOLDER_TEXT_COLOR
field_39506
f_lejmloeh
UNFOCUSED_BOX_TEXT_COLOR
PLACEHOLDER_TEXT_COLOR
f_238758_
private static final int
f
CURSOR_BLINK_INTERVAL_MS
field_45363
f_agtyydng
CURSOR_BLINK_INTERVAL
f_290722_
private final Font
m
font
field_39507
f_okmazbkm
textRenderer
textRenderer
f_238790_
private final Component
n
placeholder
field_39508
f_wabxovji
placeholder
placeholder
f_238653_
private final MultilineTextField
o
textField
field_39509
f_rjjfluyc
editBox
textField
f_238540_
private long
p
focusedTime
field_45364
f_krlzekgw
lastSwitchFocusTime
focusTime
f_291262_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(int arg0)
setCharacterLimit(int arg0)
method_44402(int arg0)
m_mmxueblh(int arg0)
setMaxLength(int maxLength)
setMaxLength(int length)
m_239313_(int arg0)
public void
b(Consumer<String> arg0)
setValueListener(Consumer<String> arg0)
method_44401(Consumer<String> arg0)
m_rykvkvir(Consumer<String> arg0)
setChangeListener(Consumer<String> changeListener)
setTextChangedListener(Consumer<String> listener)
m_239273_(Consumer<String> arg0)
public void
a(String arg0)
setValue(String arg0)
method_44400(String arg0)
m_erismtkg(String arg0)
setText(String text)
setText(String text)
m_240159_(String arg0)
public String
j()
getValue()
method_44405()
m_fckesgge()
getText()
getText()
m_239249_()
public void
a(flc arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
m_acsoyrbk(C_pofrkllk arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
updateNarration(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_239102_, double arg1, int arg2)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
m_7979_(double p_238979_, double p_238981_, int arg2, double arg3, double arg4)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_239434_, int p_239435_, int arg2)
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
m_jstdhuev(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_5534_(char p_239388_, int arg1)
protected void
c(fgt 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)
m_eucbjkoi(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderContents(DrawContext arg0, int arg1, int arg2, float arg3)
renderContents(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_239197_(C_279497_ p_281538_, int p_283033_, int p_281767_, float arg3)
protected void
a(fgt arg0)
renderDecorations(GuiGraphics arg0)
method_44384(class_332 arg0)
m_orkuxhay(C_sedilmty arg0)
renderOverlay(DrawContext arg0)
drawDecorations(GuiGraphics arg0)
m_239516_(C_279497_ arg0)
public int
h()
getInnerHeight()
method_44391()
m_odlloobg()
getContentsHeight()
getContentHeight()
m_239019_()
protected boolean
e()
scrollbarVisible()
method_44392()
m_gnwzkabs()
overflows()
isOverflowing()
m_239656_()
protected double
i()
scrollRate()
method_44393()
m_sccesvrq()
getDeltaYPerScroll()
getScrollRate()
m_239725_()
private void
b(fgt arg0, int arg1, int arg2, int arg3, int arg4)
renderHighlight(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_44403(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
m_ijmstpnd(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4)
drawSelection(DrawContext context, int left, int top, int right, int bottom)
renderSelection(GuiGraphics graphics, int x1, int y1, int x2, int y2)
m_280065_(C_279497_ p_282814_, int p_282908_, int p_281451_, int p_281765_, int arg4)
private void
k()
scrollToCursor()
method_44407()
m_lbxcrpgy()
onCursorChange()
onCursorChanged()
m_239911_()
private double
l()
getDisplayableLineCount()
method_44408()
m_krnsdola()
getMaxLinesWithoutOverflow()
getMaxVisibleLines()
m_239745_()
private void
e(double arg0, double arg1)
seekCursorScreen(double arg0, double arg1)
method_44404(double arg0, double arg1)
m_ywejebdd(double arg0, double arg1)
moveCursor(double mouseX, double mouseY)
moveCursor(double x, double y)
m_239275_(double p_239277_, double arg1)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
m_sxncwtsd(boolean arg0)
setFocused(boolean arg0)
setFocused(boolean arg0)
m_93692_(boolean arg0)