Class WideWidgetCreator

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

public class WideWidgetCreator extends Object implements WidgetCreator
Used to indicate that the created widget should be *wide*.
  • Constructor Details

    • WideWidgetCreator

      public WideWidgetCreator(WidgetCreator creator)
      Creates a wide widget.
      Parameters:
      creator - The widget creator to be wrapped.
  • 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