net.minecraft.client.gui.font

public class TextFieldHelper

dov
net.minecraft.client.gui.font.TextFieldHelper
net.minecraft.class_3728
net.minecraft.client.util.SelectionManager
net.minecraft.client.gui.fonts.TextInputUtil

Field summary

Modifier and TypeField
private final Supplier<String>
a
getMessageFn
field_24257
stringGetter
field_216902_c
private final Consumer<String>
b
setMessageFn
field_24258
stringSetter
field_216903_d
private final Supplier<String>
c
getClipboardFn
field_16456
clipboardGetter
field_238564_c_
private final Consumer<String>
d
setClipboardFn
field_16458
clipboardSetter
field_238565_d_
private final Predicate<String>
e
stringValidator
field_24259
stringFilter
field_238566_e_
private int
f
cursorPos
field_16453
selectionStart
field_216905_f
private int
g
selectionPos
field_16452
selectionEnd
field_216906_g

Constructor summary

ModifierConstructor
public (Supplier<String> arg0, Consumer<String> arg1, Supplier<String> arg2, Consumer<String> arg3, Predicate<String> arg4)

Method summary

Modifier and TypeMethod
public static Supplier<String>
a(dlx arg0)
createClipboardGetter(Minecraft arg0)
method_27550(class_310 arg0)
makeClipboardGetter(MinecraftClient client)
func_238570_a_(Minecraft arg0)
public static String
b(dlx arg0)
getClipboardContents(Minecraft arg0)
method_27556(class_310 arg0)
getClipboard(MinecraftClient client)
func_238576_b_(Minecraft arg0)
public static Consumer<String>
c(dlx arg0)
createClipboardSetter(Minecraft arg0)
method_27561(class_310 arg0)
makeClipboardSetter(MinecraftClient client)
func_238582_c_(Minecraft arg0)
public static void
a(dlx arg0, String arg1)
setClipboardContents(Minecraft arg0, String arg1)
method_27551(class_310 arg0, String arg1)
setClipboard(MinecraftClient client, String arg1)
func_238571_a_(Minecraft arg0, String arg1)
public boolean
a(char arg0)
charTyped(char arg0)
method_16199(char arg0)
insert(char c)
func_216894_a(char arg0)
public boolean
a(int arg0)
keyPressed(int arg0)
method_16202(int arg0)
handleSpecialKey(int keyCode)
func_216897_a(int arg0)
private int
g(int arg0)
clampToMsgLength(int arg0)
method_27567(int arg0)
method_27567(int arg0)
func_238589_g_(int arg0)
private void
a(String arg0, String arg1)
insertText(String arg0, String arg1)
method_27552(String arg0, String arg1)
insert(String string, String insertion)
func_238572_a_(String arg0, String arg1)
public void
a(String arg0)
insertText(String arg0)
method_16197(String arg0)
insert(String arg0)
func_216892_a(String arg0)
private void
a(boolean arg0)
resetSelectionIfNeeded(boolean arg0)
method_27562(boolean arg0)
updateSelectionRange(boolean shiftDown)
func_238573_a_(boolean arg0)
public void
a(int arg0, boolean arg1)
moveByChars(int arg0, boolean arg1)
method_27549(int arg0, boolean arg1)
moveCursor(int offset, boolean shiftDown)
func_238569_a_(int arg0, boolean arg1)
public void
b(int arg0, boolean arg1)
moveByWords(int arg0, boolean arg1)
method_27555(int arg0, boolean arg1)
moveCursorPastWord(int offset, boolean shiftDown)
func_238575_b_(int arg0, boolean arg1)
public void
d(int arg0)
removeCharsFromCursor(int arg0)
method_27564(int arg0)
delete(int cursorOffset)
func_238586_d_(int arg0)
public void
a()
cut()
method_27547()
cut()
func_238567_a_()
public void
b()
paste()
method_27554()
paste()
func_238574_b_()
public void
c()
copy()
method_27559()
copy()
func_238580_c_()
public void
d()
selectAll()
method_27563()
selectAll()
func_238585_d_()
private String
b(String arg0)
getSelected(String arg0)
method_16200(String arg0)
getSelectedText(String arg0)
func_238578_b_(String arg0)
private String
c(String arg0)
deleteSelection(String arg0)
method_16198(String arg0)
deleteSelectedText(String arg0)
func_238583_c_(String arg0)
private void
b(boolean arg0)
setCursorToStart(boolean arg0)
method_27553(boolean arg0)
method_27553(boolean arg0)
func_238579_b_(boolean arg0)
public void
f()
setCursorToEnd()
method_16204()
moveCaretToEnd()
func_238588_f_()
private void
c(boolean arg0)
setCursorToEnd(boolean arg0)
method_27558(boolean arg0)
method_27558(boolean arg0)
func_238584_c_(boolean arg0)
public int
g()
getCursorPos()
method_16201()
getSelectionStart()
func_216896_c()
public void
c(int arg0, boolean arg1)
setCursorPos(int arg0, boolean arg1)
method_27560(int arg0, boolean arg1)
method_27560(int arg0, boolean arg1)
func_238581_c_(int arg0, boolean arg1)
public int
h()
getSelectionPos()
method_16203()
getSelectionEnd()
func_216898_d()
public void
a(int arg0, int arg1)
setSelectionRange(int arg0, int arg1)
method_27548(int arg0, int arg1)
method_27548(int arg0, int arg1)
func_238568_a_(int arg0, int arg1)
public boolean
i()
isSelecting()
method_27568()
method_27568()
func_238590_i_()