net.minecraft.client.gui.components

public class EditBox

extends AbstractWidget implements Widget, GuiEventListener

All mapped superinterfaces:

Widget, GuiEventListener

dlq
net.minecraft.client.gui.components.EditBox
net.minecraft.class_342
net.minecraft.unmapped.C_vopzcnhf
net.minecraft.client.gui.widget.TextFieldWidget
net.minecraft.client.gui.widget.TextFieldWidget

Field summary

Modifier and TypeField
private final Font
a
font
field_2105
f_txtjhjhm
textRenderer
field_146211_a
private String
b
value
field_2092
f_rpfmfdmz
text
field_146216_j
private int
c
maxLength
field_2108
f_phzgdoou
maxLength
field_146217_k
private int
d
frame
field_2107
f_mwsrzrff
focusedTicks
field_146214_l
private boolean
e
bordered
field_2095
f_gcohdxnw
focused
field_146215_m
private boolean
s
canLoseFocus
field_2096
f_imtjinqy
focusUnlocked
field_146212_n
private boolean
t
isEditable
field_2094
f_zsmogpnp
editable
field_146226_p
private boolean
u
shiftPressed
field_17037
f_clmmxjdh
selecting
field_212956_h
private int
v
displayPos
field_2103
f_qftlxopl
firstCharacterIndex
field_146225_q
private int
w
cursorPos
field_2102
f_yfmhkwpd
selectionStart
field_146224_r
private int
x
highlightPos
field_2101
f_aaxlfqis
selectionEnd
field_146223_s
private int
y
textColor
field_2100
f_umkngaml
editableColor
field_146222_t
private int
z
textColorUneditable
field_2098
f_gyakfjgb
uneditableColor
field_146221_u
private String
A
suggestion
field_2106
f_nntrwhcq
suggestion
field_195614_x
private Consumer<String>
B
responder
field_2088
f_avkvsjop
changedListener
field_175210_x
private Predicate<String>
C
filter
field_2104
f_lvwcxqgr
textPredicate
field_175209_y
private BiFunction<String, Integer, FormattedCharSequence>
D
formatter
field_2099
f_sgjqcrpx
renderTextProvider
field_195613_A

Constructor summary

ModifierConstructor
public (Font textRenderer, int x, int y, int width, int height, Component arg5)
public (Font textRenderer, int x, int y, int width, int height, EditBox copyFrom, Component arg6)

Method summary

Modifier and TypeMethod
public void
a(Consumer<String> arg0)
setResponder(Consumer<String> arg0)
method_1863(Consumer<String> arg0)
m_oxpezltp(Consumer<String> arg0)
setChangedListener(Consumer<String> changedListener)
func_212954_a(Consumer<String> arg0)
public void
a(BiFunction<String, Integer, afa> arg0)
setFormatter(BiFunction<String, Integer, FormattedCharSequence> arg0)
method_1854(BiFunction<String, Integer, class_5481> arg0)
m_xnoxuhhd(BiFunction<String, Integer, C_apvkgwyi> arg0)
setRenderTextProvider(BiFunction<String, Integer, OrderedText> renderTextProvider)
func_195607_a(BiFunction<String, Integer, IReorderingProcessor> arg0)
public void
a()
tick()
method_1865()
m_copwuzzr()
tick()
func_146178_a()
protected MutableComponent
c()
createNarrationMessage()
method_25360()
m_sjpjzqmc()
getNarrationMessage()
func_230442_c_()
public void
a(String arg0)
setValue(String arg0)
method_1852(String arg0)
m_gvkbvqth(String arg0)
setText(String text)
func_146180_a(String arg0)
public String
b()
getValue()
method_1882()
m_irwzzxjx()
getText()
func_146179_b()
public String
d()
getHighlighted()
method_1866()
m_pmahxude()
getSelectedText()
func_146207_c()
public void
a(Predicate<String> arg0)
setFilter(Predicate<String> arg0)
method_1890(Predicate<String> arg0)
m_rgmfgplh(Predicate<String> arg0)
setTextPredicate(Predicate<String> textPredicate)
func_200675_a(Predicate<String> arg0)
public void
b(String arg0)
insertText(String arg0)
method_1867(String arg0)
m_dzvzpjnb(String arg0)
write(String arg0)
func_146191_b(String arg0)
private void
d(String arg0)
onValueChange(String arg0)
method_1874(String arg0)
m_pbgvkuzx(String arg0)
onChanged(String newText)
func_212951_d(String arg0)
private void
q(int arg0)
deleteText(int arg0)
method_16873(int arg0)
m_rykikfaw(int arg0)
erase(int offset)
func_212950_m(int arg0)
public void
e(int arg0)
deleteWords(int arg0)
method_1877(int arg0)
m_mtfwlmsz(int arg0)
eraseWords(int wordOffset)
func_146177_a(int arg0)
public void
f(int arg0)
deleteChars(int arg0)
method_1878(int arg0)
m_ujpapjrq(int arg0)
eraseCharacters(int characterOffset)
func_146175_b(int arg0)
public int
g(int arg0)
getWordPosition(int arg0)
method_1853(int arg0)
m_zqejgyzq(int arg0)
getWordSkipPosition(int wordOffset)
func_146187_c(int arg0)
private int
a(int arg0, int arg1)
getWordPosition(int arg0, int arg1)
method_1869(int arg0, int arg1)
m_gchqdqaw(int arg0, int arg1)
getWordSkipPosition(int wordOffset, int cursorPosition)
func_146183_a(int arg0, int arg1)
private int
a(int arg0, int arg1, boolean arg2)
getWordPosition(int arg0, int arg1, boolean arg2)
method_1864(int arg0, int arg1, boolean arg2)
m_hwgfkeoe(int arg0, int arg1, boolean arg2)
getWordSkipPosition(int wordOffset, int cursorPosition, boolean skipOverSpaces)
func_146197_a(int arg0, int arg1, boolean arg2)
public void
h(int arg0)
moveCursor(int arg0)
method_1855(int arg0)
m_tbulvwaj(int arg0)
moveCursor(int offset)
func_146182_d(int arg0)
private int
r(int arg0)
getCursorPos(int arg0)
method_27537(int arg0)
m_wjankemy(int arg0)
method_27537(int arg0)
func_238516_r_(int arg0)
public void
i(int arg0)
moveCursorTo(int arg0)
method_1883(int arg0)
m_dsrbkblb(int arg0)
setCursor(int cursor)
func_146190_e(int arg0)
public void
j(int arg0)
setCursorPosition(int arg0)
method_1875(int arg0)
m_znwffnoe(int arg0)
setSelectionStart(int cursor)
func_212422_f(int arg0)
public void
k()
moveCursorToStart()
method_1870()
m_uamercht()
setCursorToStart()
func_146196_d()
public void
l()
moveCursorToEnd()
method_1872()
m_zxclplhg()
setCursorToEnd()
func_146202_e()
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)
func_231046_a_(int arg0, int arg1, int arg2)
public boolean
m()
canConsumeInput()
method_20315()
m_griyofun()
isActive()
func_212955_f()
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)
func_231042_a_(char arg0, int arg1)
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)
func_231044_a_(double arg0, double arg1, int arg2)
public void
e(boolean arg0)
setFocus(boolean arg0)
method_1876(boolean arg0)
m_wltqhewk(boolean arg0)
setSelected(boolean selected)
func_146195_b(boolean arg0)
public void
b(dfm arg0, int arg1, int arg2, float arg3)
renderButton(PoseStack arg0, int arg1, int arg2, float arg3)
method_25359(class_4587 arg0, int arg1, int arg2, float arg3)
m_hbtivtow(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderButton(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230431_b_(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
a(int arg0, int arg1, int arg2, int arg3)
renderHighlight(int arg0, int arg1, int arg2, int arg3)
method_1886(int arg0, int arg1, int arg2, int arg3)
m_gekimhwd(int arg0, int arg1, int arg2, int arg3)
drawSelectionHighlight(int x1, int y1, int x2, int y2)
func_146188_c(int arg0, int arg1, int arg2, int arg3)
public void
k(int arg0)
setMaxLength(int arg0)
method_1880(int arg0)
m_wxaushxx(int arg0)
setMaxLength(int maxLength)
func_146203_f(int arg0)
private int
q()
getMaxLength()
method_1861()
m_lisudksz()
getMaxLength()
func_146208_g()
public int
n()
getCursorPosition()
method_1881()
m_hpmwgamq()
getCursor()
func_146198_h()
private boolean
r()
isBordered()
method_1851()
m_qgwbazsb()
hasBorder()
func_146181_i()
public void
f(boolean arg0)
setBordered(boolean arg0)
method_1858(boolean arg0)
m_yywjykzi(boolean arg0)
setHasBorder(boolean hasBorder)
func_146185_a(boolean arg0)
public void
l(int arg0)
setTextColor(int arg0)
method_1868(int arg0)
m_afjjpukx(int arg0)
setEditableColor(int color)
func_146193_g(int arg0)
public void
m(int arg0)
setTextColorUneditable(int arg0)
method_1860(int arg0)
m_tjkqxkxe(int arg0)
setUneditableColor(int color)
func_146204_h(int arg0)
public boolean
c_(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
m_cudkwwhh(boolean arg0)
changeFocus(boolean arg0)
func_231049_c__(boolean arg0)
public boolean
b(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
func_231047_b_(double arg0, double arg1)
protected void
c(boolean arg0)
onFocusedChanged(boolean arg0)
method_25363(boolean arg0)
m_awnoxrls(boolean arg0)
onFocusedChanged(boolean arg0)
func_230995_c_(boolean arg0)
private boolean
s()
isEditable()
method_20316()
m_wtycrnfd()
isEditable()
func_212953_l()
public void
g(boolean arg0)
setEditable(boolean arg0)
method_1888(boolean arg0)
m_jgyuuykz(boolean arg0)
setEditable(boolean editable)
func_146184_c(boolean arg0)
public int
o()
getInnerWidth()
method_1859()
m_rgidzzjf()
getInnerWidth()
func_146200_o()
public void
n(int arg0)
setHighlightPos(int arg0)
method_1884(int arg0)
m_kzuozrwz(int arg0)
setSelectionEnd(int arg0)
func_146199_i(int arg0)
public void
h(boolean arg0)
setCanLoseFocus(boolean arg0)
method_1856(boolean arg0)
m_zctgvchi(boolean arg0)
setFocusUnlocked(boolean focusUnlocked)
func_146205_d(boolean arg0)
public boolean
p()
isVisible()
method_1885()
m_nejvlvdj()
isVisible()
func_146176_q()
public void
i(boolean arg0)
setVisible(boolean arg0)
method_1862(boolean arg0)
m_emxvspka(boolean arg0)
setVisible(boolean visible)
func_146189_e(boolean arg0)
public void
c(String arg0)
setSuggestion(String arg0)
method_1887(String arg0)
m_mreopyko(String arg0)
setSuggestion(String suggestion)
func_195612_c(String arg0)
public int
o(int arg0)
getScreenX(int arg0)
method_1889(int arg0)
m_blncbkhz(int arg0)
getCharacterX(int index)
func_195611_j(int arg0)
public void
p(int arg0)
setX(int arg0)
method_16872(int arg0)
m_fbktwttl(int arg0)
setX(int x)
func_212952_l(int arg0)