Package net.uku3lig.ukulib.config.option
Class InputOption
java.lang.Object
net.uku3lig.ukulib.config.option.InputOption
- All Implemented Interfaces:
WidgetCreator
-
Constructor Summary
ConstructorsConstructorDescriptionInputOption(String suggestionKey, String initialValue, Consumer<String> setter) InputOption(String suggestionKey, String initialValue, Consumer<String> setter, Predicate<String> validator) InputOption(String suggestionKey, String initialValue, Consumer<String> setter, Predicate<String> validator, int maxLength) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.gui.widget.ClickableWidgetcreateWidget(int x, int y, int width, int height) Creates the widget.
-
Constructor Details
-
InputOption
-
InputOption
-
InputOption
-
-
Method Details
-
createWidget
public net.minecraft.client.gui.widget.ClickableWidget createWidget(int x, int y, int width, int height) Description copied from interface:WidgetCreatorCreates the widget.- Specified by:
createWidgetin interfaceWidgetCreator- Parameters:
x- The x positiony- The y positionwidth- The widget widthheight- The widget height- Returns:
- The created widget
-