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

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable
Direct Known Subclasses:
ControlsListWidget, EditGameRulesScreen.RuleListWidget, OptionListWidget, SocialInteractionsPlayerListWidget

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

    • ElementListWidget

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

    • getNavigationPath

      @Nullable public @Nullable GuiNavigationPath getNavigationPath(GuiNavigation navigation)
      Mappings:
      Namespace Name Mixin selector
      official a Leqk;a(Lesm;)Leom;
      intermediary method_48205 Lnet/minecraft/class_364;method_48205(Lnet/minecraft/class_8023;)Lnet/minecraft/class_8016;
      named getNavigationPath Lnet/minecraft/client/gui/Element;getNavigationPath(Lnet/minecraft/client/gui/navigation/GuiNavigation;)Lnet/minecraft/client/gui/navigation/GuiNavigationPath;
    • 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
      official a Leqj;a(Leqk;)V
      intermediary method_25395 Lnet/minecraft/class_4069;method_25395(Lnet/minecraft/class_364;)V
      named setFocused Lnet/minecraft/client/gui/ParentElement;setFocused(Lnet/minecraft/client/gui/Element;)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
      official q Lese;q()Lese$a;
      intermediary method_37018 Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;
      named getType Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;
    • isSelectedEntry

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

      public void appendNarrations(NarrationMessageBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      official b Lesh;b(Lesg;)V
      intermediary method_37020 Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
      named appendNarrations Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V