net.minecraft.client.gui.components

public class MultiLineEditBox

extends AbstractScrollWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eor
net.minecraft.client.gui.components.MultiLineEditBox
net.minecraft.class_7529
net.minecraft.client.gui.widget.EditBoxWidget
net.minecraft.src.C_238461_

字段概要

修饰符与类型字段
private static final int
a
CURSOR_INSERT_WIDTH
field_39502
CURSOR_PADDING
f_238826_
private static final int
b
CURSOR_INSERT_COLOR
field_39503
CURSOR_COLOR
f_238688_
private static final String
c
CURSOR_APPEND_CHARACTER
field_39504
UNDERSCORE
f_238647_
private static final int
d
TEXT_COLOR
field_39505
FOCUSED_BOX_TEXT_COLOR
f_238712_
private static final int
e
PLACEHOLDER_TEXT_COLOR
field_39506
UNFOCUSED_BOX_TEXT_COLOR
f_238758_
private final Font
f
font
field_39507
textRenderer
f_238790_
private final Component
k
placeholder
field_39508
placeholder
f_238653_
private final MultilineTextField
l
textField
field_39509
editBox
f_238540_
private int
m
frame
field_39510
tick
f_238824_

构造函数概要

修饰符构造函数
public (Font textRenderer, int x, int y, int width, int height, Component placeholder, Component message)

方法概要

修饰符与类型方法
public void
a(int arg0)
setCharacterLimit(int arg0)
method_44402(int arg0)
setMaxLength(int maxLength)
m_239313_(int arg0)
public void
b(Consumer<String> arg0)
setValueListener(Consumer<String> arg0)
method_44401(Consumer<String> arg0)
setChangeListener(Consumer<String> changeListener)
m_239273_(Consumer<String> arg0)
public void
a(String arg0)
setValue(String arg0)
method_44400(String arg0)
setText(String text)
m_240159_(String arg0)
public String
t()
getValue()
method_44405()
getText()
m_239249_()
public void
v()
tick()
method_44406()
tick()
m_239213_()
public void
a(ere arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(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)
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)
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)
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)
charTyped(char arg0, int arg1)
m_5534_(char p_239388_, int arg1)
protected void
c(ehe arg0, int arg1, int arg2, float arg3)
renderContents(PoseStack arg0, int arg1, int arg2, float arg3)
method_44389(class_4587 arg0, int arg1, int arg2, float arg3)
renderContents(MatrixStack arg0, int arg1, int arg2, float arg3)
m_239000_(C_3181_ p_239002_, int p_239003_, int p_239004_, float arg3)
protected void
a(ehe arg0)
renderDecorations(PoseStack arg0)
method_44384(class_4587 arg0)
renderOverlay(MatrixStack arg0)
m_239516_(C_3181_ arg0)
public int
e()
getInnerHeight()
method_44391()
getContentsHeight()
m_239019_()
protected boolean
f()
scrollbarVisible()
method_44392()
overflows()
m_239656_()
protected double
g()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_239725_()
private void
c(ehe arg0, int arg1, int arg2, int arg3, int arg4)
renderHighlight(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_44403(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawSelection(MatrixStack matrices, int left, int top, int right, int bottom)
m_239486_(C_3181_ p_239488_, int p_239489_, int p_239490_, int p_239491_, int arg4)
private void
w()
scrollToCursor()
method_44407()
onCursorChange()
m_239911_()
private double
x()
getDisplayableLineCount()
method_44408()
getMaxLinesWithoutOverflow()
m_239745_()
private void
f(double arg0, double arg1)
seekCursorScreen(double arg0, double arg1)
method_44404(double arg0, double arg1)
moveCursor(double mouseX, double mouseY)
m_239275_(double p_239277_, double arg1)