Package net.uku3lig.ukulib.config.option
Class TextOption
java.lang.Object
net.uku3lig.ukulib.config.option.TextOption
- All Implemented Interfaces:
WidgetCreator
-
Constructor Summary
ConstructorsConstructorDescriptionTextOption(String key) TextOption(String key, boolean drawLine) TextOption(String key, boolean drawLine, int padding) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.gui.widget.ClickableWidgetcreateWidget(int x, int y, int width, int height) Creates the widget.
-
Constructor Details
-
TextOption
-
TextOption
-
TextOption
-
-
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
-