Class TextOption

java.lang.Object
net.uku3lig.ukulib.config.option.TextOption
All Implemented Interfaces:
WidgetCreator

public class TextOption extends Object implements WidgetCreator
  • Constructor Details

    • TextOption

      public TextOption(String key, boolean drawLine, int padding)
    • TextOption

      public TextOption(String key, boolean drawLine)
    • TextOption

      public TextOption(String key)
  • Method Details

    • createWidget

      public net.minecraft.client.gui.widget.ClickableWidget createWidget(int x, int y, int width, int height)
      Description copied from interface: WidgetCreator
      Creates the widget.
      Specified by:
      createWidget in interface WidgetCreator
      Parameters:
      x - The x position
      y - The y position
      width - The widget width
      height - The widget height
      Returns:
      The created widget