Class ElementListWidget<E extends ElementListWidget.Entry<E>>

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable, Widget
Direct Known Subclasses:
class_9807.class_9808, ControlsListWidget, EditGameRulesScreen.RuleListWidget, OptionListWidget, RealmsBackupScreen.BackupObjectSelectionList, RealmsPlayerScreen.InvitedObjectSelectionList, SocialInteractionsPlayerListWidget

@Environment(CLIENT) public abstract class ElementListWidget<E extends ElementListWidget.Entry<E>> extends EntryListWidget<E>
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/ElementListWidget
intermediary net/minecraft/class_4265
official fim
  • Constructor Details

    • ElementListWidget

      public ElementListWidget(MinecraftClient client, int width, int height, int y, int itemHeight)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/widget/EntryListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIII)V
      intermediary <init> Lnet/minecraft/class_350;<init>(Lnet/minecraft/class_310;IIII)V
      official <init> Lfib;<init>(Lfgi;IIII)V
  • Method Details

    • getNavigationPath

      @Nullable public @Nullable GuiNavigationPath getNavigationPath(GuiNavigation navigation)
      Specified by:
      getNavigationPath in interface Element
      Specified by:
      getNavigationPath in interface ParentElement
      Overrides:
      getNavigationPath in class ContainerWidget
      Mappings:
      Namespace Name Mixin selector
      named getNavigationPath Lnet/minecraft/client/gui/Element;getNavigationPath(Lnet/minecraft/client/gui/navigation/GuiNavigation;)Lnet/minecraft/client/gui/navigation/GuiNavigationPath;
      intermediary method_48205 Lnet/minecraft/class_364;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
      official a Lfkc;a(Lfmi;)Lfhq;
    • setFocused

      public void setFocused(@Nullable @Nullable Element focused)
      Specified by:
      setFocused in interface ParentElement
      Overrides:
      setFocused in class EntryListWidget<E extends ElementListWidget.Entry<E>>
      Mappings:
      Namespace Name Mixin selector
      named setFocused Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)V
      intermediary method_25395 Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
      official a Lfkb;a(Lfkc;)V
    • getType

      public Selectable.SelectionType getType()
      Specified by:
      getType in interface Selectable
      Overrides:
      getType in class EntryListWidget<E extends ElementListWidget.Entry<E>>
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
      intermediary method_37018 Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
      official u Lfma;u()Lfma$a;
    • isSelectedEntry

      protected boolean isSelectedEntry(int index)
      Overrides:
      isSelectedEntry in class EntryListWidget<E extends ElementListWidget.Entry<E>>
      Mappings:
      Namespace Name Mixin selector
      named isSelectedEntry Lnet/minecraft/client/gui/widget/EntryListWidget;isSelectedEntry(I)Z
      intermediary method_25332 Lnet/minecraft/class_350;method_25332(I)Z
      official e Lfib;e(I)Z
    • appendClickableNarrations

      public void appendClickableNarrations(NarrationMessageBuilder builder)
      Specified by:
      appendClickableNarrations in class ClickableWidget
      Mappings:
      Namespace Name Mixin selector
      named appendClickableNarrations Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
      intermediary method_47399 Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V
      official a Lfie;a(Lfmc;)V