Class ServerLinksScreen.LinksListEntry

All Implemented Interfaces:
Element, Navigable, ParentElement
Enclosing class:
ServerLinksScreen

@Environment(CLIENT) private static class ServerLinksScreen.LinksListEntry extends ElementListWidget.Entry<ServerLinksScreen.LinksListEntry>
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ServerLinksScreen$LinksListEntry
intermediary net/minecraft/class_9807$class_9809
official fwp$b
  • Field Details

    • button

      final ClickableWidget button
      Mappings:
      Namespace Name Mixin selector
      named button Lnet/minecraft/client/gui/screen/ServerLinksScreen$LinksListEntry;button:Lnet/minecraft/client/gui/widget/ClickableWidget;
      intermediary field_52150 Lnet/minecraft/class_9807$class_9809;field_52150:Lnet/minecraft/class_339;
      official a Lfwp$b;a:Lfoc;
  • Constructor Details

    • LinksListEntry

      LinksListEntry(Screen screen, ServerLinks.Entry link)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ServerLinksScreen$LinksListEntry;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/server/ServerLinks$Entry;)V
      intermediary <init> Lnet/minecraft/class_9807$class_9809;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_9782$class_9783;)V
      official <init> Lfwp$b;<init>(Lftx;Lamr$a;)V
  • Method Details

    • render

      public void render(DrawContext context, int index, int y, int x, int entryWidth, int entryHeight, int mouseX, int mouseY, boolean hovered, float tickDelta)
      Renders an entry in a list.
      Specified by:
      render in class EntryListWidget.Entry<ServerLinksScreen.LinksListEntry>
      Parameters:
      index - the index of the entry
      y - the Y coordinate of the entry
      x - the X coordinate of the entry
      entryWidth - the width of the entry
      entryHeight - the height of the entry
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      hovered - whether the mouse is hovering over the entry
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIIIIIIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIIIIIIZF)V
      official a Lfnz$a;a(Lfnr;IIIIIIIZF)V
    • children

      public List<? extends Element> children()
      Gets a list of all child GUI elements.
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      official aI_ Lfqb;aI_()Ljava/util/List;
    • selectableChildren

      public List<? extends Selectable> selectableChildren()
      Specified by:
      selectableChildren in class ElementListWidget.Entry<ServerLinksScreen.LinksListEntry>
      Mappings:
      Namespace Name Mixin selector
      named selectableChildren Lnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;
      intermediary method_37025 Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;
      official b Lfok$a;b()Ljava/util/List;