Class ConfigPresetScreen.PresetGroupWidget

All Implemented Interfaces:
Element, ParentElement
Enclosing class:
ConfigPresetScreen

public class ConfigPresetScreen.PresetGroupWidget extends ListWidget.Entry
  • Constructor Details

    • PresetGroupWidget

      public PresetGroupWidget(Text text)
  • Method Details

    • children

      public List<? extends Element> children()
      Description copied from interface: ParentElement
      Gets a list of all child GUI elements.
    • render

      public void render(DrawContext raw, int index, int y, int x, int width, int height, int mouseX, int mouseY, boolean hovered, float delta)
      Specified by:
      render in class ListWidget.Entry
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in class ListWidget.Entry