net.minecraft.client.gui.widget

public class TextFieldWidget

extends AbstractButtonWidget implements Drawable, Element

All mapped superinterfaces:

Drawable, Element

cxa
net.minecraft.class_342
net.minecraft.client.gui.widget.TextFieldWidget
net.minecraft.client.gui.widget.TextFieldWidget

Field summary

Modifier and TypeField
private final TextRenderer
a
field_2105
textRenderer
field_146211_a
private String
b
field_2092
text
field_146216_j
private int
c
field_2108
maxLength
field_146217_k
private int
d
field_2107
focusedTicks
field_146214_l
private boolean
e
field_2095
focused
field_146215_m
private boolean
f
field_2096
field_2096
field_146212_n
private boolean
g
field_2094
editable
field_146226_p
private boolean
h
field_17037
field_17037
field_212956_h
private int
i
field_2103
field_2103
field_146225_q
private int
j
field_2102
cursorMax
field_146224_r
private int
k
field_2101
cursorMin
field_146223_s
private int
l
field_2100
editableColor
field_146222_t
private int
m
field_2098
uneditableColor
field_146221_u
private String
n
field_2106
suggestion
field_195614_x
private Consumer<String>
o
field_2088
changedListener
field_175210_x
private Predicate<String>
p
field_2104
textPredicate
field_175209_y
private BiFunction<String, Integer, String>
q
field_2099
renderTextProvider
field_195613_A

Constructor summary

ModifierConstructor
public (TextRenderer arg0, int arg1, int arg2, int arg3, int arg4, String arg5)
public (TextRenderer arg0, int arg1, int arg2, int arg3, int arg4, TextFieldWidget arg5, String arg6)

Method summary

Modifier and TypeMethod
public void
a(Consumer<String> arg0)
method_1863(Consumer<String> arg0)
setChangedListener(Consumer<String> arg0)
func_212954_a(Consumer<String> arg0)
public void
a(BiFunction<String, Integer, String> arg0)
method_1854(BiFunction<String, Integer, String> arg0)
setRenderTextProvider(BiFunction<String, Integer, String> arg0)
func_195607_a(BiFunction<String, Integer, String> arg0)
public void
a()
method_1865()
tick()
func_146178_a()
protected String
getNarrationMessage()
getNarrationMessage()
getNarrationMessage()
getNarrationMessage()
public void
a(String arg0)
method_1852(String arg0)
setText(String arg0)
func_146180_a(String arg0)
public String
b()
method_1882()
getText()
func_146179_b()
public String
c()
method_1866()
getSelectedText()
func_146207_c()
public void
a(Predicate<String> arg0)
method_1890(Predicate<String> arg0)
setTextPredicate(Predicate<String> arg0)
func_200675_a(Predicate<String> arg0)
public void
b(String arg0)
method_1867(String arg0)
addText(String arg0)
func_146191_b(String arg0)
private void
d(String arg0)
method_1874(String arg0)
onChanged(String arg0)
func_212951_d(String arg0)
private void
m(int arg0)
method_16873(int arg0)
method_16873(int arg0)
func_212950_m(int arg0)
public void
a(int arg0)
method_1877(int arg0)
method_1877(int arg0)
func_146177_a(int arg0)
public void
b(int arg0)
method_1878(int arg0)
method_1878(int arg0)
func_146175_b(int arg0)
public int
c(int arg0)
method_1853(int arg0)
method_1853(int arg0)
func_146187_c(int arg0)
private int
a(int arg0, int arg1)
method_1869(int arg0, int arg1)
method_1869(int arg0, int arg1)
func_146183_a(int arg0, int arg1)
private int
a(int arg0, int arg1, boolean arg2)
method_1864(int arg0, int arg1, boolean arg2)
method_1864(int arg0, int arg1, boolean arg2)
func_146197_a(int arg0, int arg1, boolean arg2)
public void
d(int arg0)
method_1855(int arg0)
moveCursor(int arg0)
func_146182_d(int arg0)
public void
e(int arg0)
method_1883(int arg0)
method_1883(int arg0)
func_146190_e(int arg0)
public void
f(int arg0)
method_1875(int arg0)
setCursor(int arg0)
func_212422_f(int arg0)
public void
d()
method_1870()
method_1870()
func_146196_d()
public void
e()
method_1872()
method_1872()
func_146202_e()
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public boolean
f()
method_20315()
method_20315()
func_212955_f()
public boolean
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public void
a(boolean arg0)
method_1876(boolean arg0)
method_1876(boolean arg0)
func_146195_b(boolean arg0)
public void
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
renderButton(int arg0, int arg1, float arg2)
private void
a(int arg0, int arg1, int arg2, int arg3)
method_1886(int arg0, int arg1, int arg2, int arg3)
method_1886(int arg0, int arg1, int arg2, int arg3)
func_146188_c(int arg0, int arg1, int arg2, int arg3)
public void
g(int arg0)
method_1880(int arg0)
setMaxLength(int arg0)
func_146203_f(int arg0)
private int
j()
method_1861()
getMaxLength()
func_146208_g()
public int
g()
method_1881()
getCursor()
func_146198_h()
private boolean
k()
method_1851()
hasBorder()
func_146181_i()
public void
b(boolean arg0)
method_1858(boolean arg0)
setHasBorder(boolean arg0)
func_146185_a(boolean arg0)
public void
h(int arg0)
method_1868(int arg0)
setEditableColor(int arg0)
func_146193_g(int arg0)
public void
i(int arg0)
method_1860(int arg0)
setUneditableColor(int arg0)
func_146204_h(int arg0)
public boolean
changeFocus(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected void
onFocusedChanged(boolean arg0)
onFocusedChanged(boolean arg0)
onFocusedChanged(boolean arg0)
onFocusedChanged(boolean arg0)
private boolean
l()
method_20316()
isEditable()
func_212953_l()
public void
c(boolean arg0)
method_1888(boolean arg0)
setIsEditable(boolean arg0)
func_146184_c(boolean arg0)
public int
h()
method_1859()
method_1859()
func_146200_o()
public void
j(int arg0)
method_1884(int arg0)
method_1884(int arg0)
func_146199_i(int arg0)
public void
d(boolean arg0)
method_1856(boolean arg0)
method_1856(boolean arg0)
func_146205_d(boolean arg0)
public boolean
i()
method_1885()
isVisible()
func_146176_q()
public void
e(boolean arg0)
method_1862(boolean arg0)
setVisible(boolean arg0)
func_146189_e(boolean arg0)
public void
c(String arg0)
method_1887(String arg0)
setSuggestion(String arg0)
func_195612_c(String arg0)
public int
k(int arg0)
method_1889(int arg0)
getCharacterX(int arg0)
func_195611_j(int arg0)
public void
l(int arg0)
method_16872(int arg0)
setX(int arg0)
func_212952_l(int arg0)