net.minecraft.client.gui.font

public class TextFieldHelper

dei
net.minecraft.client.gui.font.TextFieldHelper
net.minecraft.class_3728
net.minecraft.unmapped.C_vyadpylu
net.minecraft.client.util.SelectionManager
net.minecraft.client.gui.fonts.TextInputUtil

Field summary

Modifier and TypeField
private final Minecraft
a
minecraft
field_16454
f_fogauuzx
client
field_216900_a
private final Font
b
font
field_16457
f_kopwpxrq
fontRenderer
field_216901_b
private final Supplier<String>
c
getMessageFn
field_16456
f_ebnncwcx
stringGetter
field_216902_c
private final Consumer<String>
d
setMessageFn
field_16458
f_jwohwvkm
stringSetter
field_216903_d
private final int
e
maxWidth
field_16455
f_ihmrkyyg
maxLength
field_216904_e
private int
f
cursorPos
field_16453
f_qjinvnuj
selectionStart
field_216905_f
private int
g
selectionPos
field_16452
f_hxqdjjfd
selectionEnd
field_216906_g

Constructor summary

ModifierConstructor
public (Minecraft client, Supplier<String> getter, Consumer<String> setter, int maxLength)

Method summary

Modifier and TypeMethod
public boolean
a(char arg0)
charTyped(char arg0)
method_16199(char arg0)
m_agoklcqn(char arg0)
insert(char arg0)
func_216894_a(char arg0)
private void
a(String arg0)
insertText(String arg0)
method_16197(String arg0)
m_whfuyykd(String arg0)
insert(String arg0)
func_216892_a(String arg0)
public boolean
a(int arg0)
keyPressed(int arg0)
method_16202(int arg0)
m_eeijrcsm(int arg0)
handleSpecialKey(int keyCode)
func_216897_a(int arg0)
private String
e()
getSelected()
method_16200()
m_zitbzsxg()
getSelectedText()
func_216895_e()
private void
f()
deleteSelection()
method_16198()
m_ujolmrmh()
deleteSelectedText()
func_216893_f()
public void
b()
setEnd()
method_16204()
m_szkbjgxf()
moveCaretToEnd()
func_216899_b()
public int
c()
getCursorPos()
method_16201()
m_fxsxpuki()
getSelectionStart()
func_216896_c()
public int
d()
getSelectionPos()
method_16203()
m_litmvdgb()
getSelectionEnd()
func_216898_d()