CLASS net/minecraft/class_7529 net/minecraft/client/gui/widget/EditBoxWidget COMMENT A widget of {@link EditBox}, a multiline edit box with support for COMMENT basic keyboard shortcuts. This class implements the rendering and scrolling COMMENT for the edit box. FIELD field_39502 CURSOR_PADDING I FIELD field_39503 CURSOR_COLOR I FIELD field_39504 UNDERSCORE Ljava/lang/String; FIELD field_39505 FOCUSED_BOX_TEXT_COLOR I FIELD field_39506 UNFOCUSED_BOX_TEXT_COLOR I FIELD field_39507 textRenderer Lnet/minecraft/class_327; FIELD field_39508 placeholder Lnet/minecraft/class_2561; COMMENT The placeholder text that gets rendered when the edit box is empty. This does not COMMENT get returned from {@link #getText}; an empty string will be returned in such cases. FIELD field_39509 editBox Lnet/minecraft/class_7530; FIELD field_45363 CURSOR_BLINK_INTERVAL I FIELD field_45364 lastSwitchFocusTime J METHOD (Lnet/minecraft/class_327;IIIILnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V ARG 1 textRenderer ARG 2 x ARG 3 y ARG 4 width ARG 5 height ARG 6 placeholder ARG 7 message METHOD method_44400 setText (Ljava/lang/String;)V COMMENT Sets the text of the edit box and moves the cursor to the end of the edit box. ARG 1 text METHOD method_44401 setChangeListener (Ljava/util/function/Consumer;)V COMMENT Sets the change listener that is called every time the text changes. ARG 1 changeListener COMMENT the listener that takes the new text of the edit box METHOD method_44402 setMaxLength (I)V COMMENT Sets the maximum length of the edit box text in characters. COMMENT COMMENT

If {@code maxLength} equals {@link EditBox#UNLIMITED_LENGTH}, the edit box does not COMMENT have a length limit, and the widget does not show the current text length indicator. COMMENT COMMENT @throws IllegalArgumentException if {@code maxLength} is negative COMMENT @see EditBox#setMaxLength ARG 1 maxLength METHOD method_44403 drawSelection (Lnet/minecraft/class_332;IIII)V ARG 1 context ARG 2 left ARG 3 top ARG 4 right ARG 5 bottom METHOD method_44404 moveCursor (DD)V ARG 1 mouseX ARG 3 mouseY METHOD method_44405 getText ()Ljava/lang/String; COMMENT {@return the current text of the edit box} METHOD method_44407 onCursorChange ()V METHOD method_44408 getMaxLinesWithoutOverflow ()D COMMENT {@return the maximum amount of lines the widget can hold without overflowing}