Uses of Record Class
net.minecraft.client.gui.EditBox.Substring
-
Uses of EditBox.Substring in net.minecraft.client.gui
Modifier and TypeFieldDescription(package private) static final EditBox.Substring
EditBox.Substring.EMPTY
An empty substring.Modifier and TypeMethodDescriptionprivate EditBox.Substring
EditBox.getCurrentLine()
Returns the line that the cursor is located at.EditBox.getLine
(int index) Returns the line with indexindex
.EditBox.getNextWordAtCursor()
Returns the substring of a word whose start position is after the cursor.private EditBox.Substring
EditBox.getOffsetLine
(int offsetFromCurrent) Returns the line offset byoffsetFromCurrent
from the cursor's line.EditBox.getPreviousWordAtCursor()
Returns the substring of a word whose start position is before the cursor.EditBox.getSelection()
Returns the current selection.