Class EntryListWidget<E extends EntryListWidget.Entry<E>>

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable
Direct Known Subclasses:
AlwaysSelectedEntryListWidget, ElementListWidget

@Environment(CLIENT) public abstract class EntryListWidget<E extends EntryListWidget.Entry<E>> extends AbstractParentElement implements Drawable, Selectable
Mappings:
Namespace Name
official enw
intermediary net/minecraft/class_350
named net/minecraft/client/gui/widget/EntryListWidget
  • Field Details

    • client

      protected final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b:Lemh;
      intermediary field_22740 Lnet/minecraft/class_350;field_22740:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/gui/widget/EntryListWidget;client:Lnet/minecraft/client/MinecraftClient;
    • itemHeight

      protected final int itemHeight
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c:I
      intermediary field_22741 Lnet/minecraft/class_350;field_22741:I
      named itemHeight Lnet/minecraft/client/gui/widget/EntryListWidget;itemHeight:I
    • children

      private final List<E extends EntryListWidget.Entry<E>> children
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a:Ljava/util/List;
      intermediary field_22739 Lnet/minecraft/class_350;field_22739:Ljava/util/List;
      named children Lnet/minecraft/client/gui/widget/EntryListWidget;children:Ljava/util/List;
    • width

      protected int width
      Mappings:
      Namespace Name Mixin selector
      official d Lenw;d:I
      intermediary field_22742 Lnet/minecraft/class_350;field_22742:I
      named width Lnet/minecraft/client/gui/widget/EntryListWidget;width:I
    • height

      protected int height
      Mappings:
      Namespace Name Mixin selector
      official e Lenw;e:I
      intermediary field_22743 Lnet/minecraft/class_350;field_22743:I
      named height Lnet/minecraft/client/gui/widget/EntryListWidget;height:I
    • top

      protected int top
      Mappings:
      Namespace Name Mixin selector
      official f Lenw;f:I
      intermediary field_19085 Lnet/minecraft/class_350;field_19085:I
      named top Lnet/minecraft/client/gui/widget/EntryListWidget;top:I
    • bottom

      protected int bottom
      Mappings:
      Namespace Name Mixin selector
      official k Lenw;k:I
      intermediary field_19086 Lnet/minecraft/class_350;field_19086:I
      named bottom Lnet/minecraft/client/gui/widget/EntryListWidget;bottom:I
    • left

      protected int left
      Mappings:
      Namespace Name Mixin selector
      official m Lenw;m:I
      intermediary field_19088 Lnet/minecraft/class_350;field_19088:I
      named left Lnet/minecraft/client/gui/widget/EntryListWidget;left:I
    • centerListVertically

      protected boolean centerListVertically
      Mappings:
      Namespace Name Mixin selector
      official n Lenw;n:Z
      intermediary field_22744 Lnet/minecraft/class_350;field_22744:Z
      named centerListVertically Lnet/minecraft/client/gui/widget/EntryListWidget;centerListVertically:Z
    • scrollAmount

      private double scrollAmount
      Mappings:
      Namespace Name Mixin selector
      official p Lenw;p:D
      intermediary field_22749 Lnet/minecraft/class_350;field_22749:D
      named scrollAmount Lnet/minecraft/client/gui/widget/EntryListWidget;scrollAmount:D
    • renderSelection

      private boolean renderSelection
      Mappings:
      Namespace Name Mixin selector
      official q Lenw;q:Z
      intermediary field_22746 Lnet/minecraft/class_350;field_22746:Z
      named renderSelection Lnet/minecraft/client/gui/widget/EntryListWidget;renderSelection:Z
    • renderHeader

      private boolean renderHeader
      Mappings:
      Namespace Name Mixin selector
      official r Lenw;r:Z
      intermediary field_22747 Lnet/minecraft/class_350;field_22747:Z
      named renderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader:Z
    • headerHeight

      protected int headerHeight
      Mappings:
      Namespace Name Mixin selector
      official o Lenw;o:I
      intermediary field_22748 Lnet/minecraft/class_350;field_22748:I
      named headerHeight Lnet/minecraft/client/gui/widget/EntryListWidget;headerHeight:I
    • scrolling

      private boolean scrolling
      Mappings:
      Namespace Name Mixin selector
      official s Lenw;s:Z
      intermediary field_22750 Lnet/minecraft/class_350;field_22750:Z
      named scrolling Lnet/minecraft/client/gui/widget/EntryListWidget;scrolling:Z
    • selected

      @Nullable private E extends EntryListWidget.Entry<E> selected
      Mappings:
      Namespace Name Mixin selector
      official t Lenw;t:Lenw$a;
      intermediary field_22751 Lnet/minecraft/class_350;field_22751:Lnet/minecraft/class_350$class_351;
      named selected Lnet/minecraft/client/gui/widget/EntryListWidget;selected:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • renderBackground

      private boolean renderBackground
      Mappings:
      Namespace Name Mixin selector
      official u Lenw;u:Z
      intermediary field_26846 Lnet/minecraft/class_350;field_26846:Z
      named renderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground:Z
    • renderHorizontalShadows

      private boolean renderHorizontalShadows
      Mappings:
      Namespace Name Mixin selector
      official v Lenw;v:Z
      intermediary field_26847 Lnet/minecraft/class_350;field_26847:Z
      named renderHorizontalShadows Lnet/minecraft/client/gui/widget/EntryListWidget;renderHorizontalShadows:Z
    • hoveredEntry

      @Nullable private E extends EntryListWidget.Entry<E> hoveredEntry
      Mappings:
      Namespace Name Mixin selector
      official w Lenw;w:Lenw$a;
      intermediary field_33780 Lnet/minecraft/class_350;field_33780:Lnet/minecraft/class_350$class_351;
      named hoveredEntry Lnet/minecraft/client/gui/widget/EntryListWidget;hoveredEntry:Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
  • Constructor Details

    • EntryListWidget

      public EntryListWidget(MinecraftClient client, int width, int height, int top, int bottom, int itemHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lenw;<init>(Lemh;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

    • setRenderSelection

      public void setRenderSelection(boolean renderSelection)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Z)V
      intermediary method_29344 Lnet/minecraft/class_350;method_29344(Z)V
      named setRenderSelection Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderSelection(Z)V
    • setRenderHeader

      protected void setRenderHeader(boolean renderHeader, int headerHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(ZI)V
      intermediary method_25315 Lnet/minecraft/class_350;method_25315(ZI)V
      named setRenderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderHeader(ZI)V
    • getRowWidth

      public int getRowWidth()
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
    • getSelectedOrNull

      @Nullable public E getSelectedOrNull()
      Returns the selected entry of this entry list, or null if there is none.
      Returns:
      the selected entry of this entry list, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      official f Lenw;f()Lenw$a;
      intermediary method_25334 Lnet/minecraft/class_350;method_25334()Lnet/minecraft/class_350$class_351;
      named getSelectedOrNull Lnet/minecraft/client/gui/widget/EntryListWidget;getSelectedOrNull()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • setSelected

      public void setSelected(@Nullable E entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lenw$a;)V
      intermediary method_25313 Lnet/minecraft/class_350;method_25313(Lnet/minecraft/class_350$class_351;)V
      named setSelected Lnet/minecraft/client/gui/widget/EntryListWidget;setSelected(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • getFirst

      public E getFirst()
      Mappings:
      Namespace Name Mixin selector
      official g Lenw;g()Lenw$a;
      intermediary method_48200 Lnet/minecraft/class_350;method_48200()Lnet/minecraft/class_350$class_351;
      named getFirst Lnet/minecraft/client/gui/widget/EntryListWidget;getFirst()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • setRenderBackground

      public void setRenderBackground(boolean renderBackground)
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b(Z)V
      intermediary method_31322 Lnet/minecraft/class_350;method_31322(Z)V
      named setRenderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderBackground(Z)V
    • setRenderHorizontalShadows

      public void setRenderHorizontalShadows(boolean renderHorizontalShadows)
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c(Z)V
      intermediary method_31323 Lnet/minecraft/class_350;method_31323(Z)V
      named setRenderHorizontalShadows Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderHorizontalShadows(Z)V
    • getFocused

      @Nullable public E getFocused()
      Description copied from class: AbstractParentElement
      Specified by:
      getFocused in interface ParentElement
      Overrides:
      getFocused in class AbstractParentElement
      Mappings:
      Namespace Name Mixin selector
      official h Lenw;h()Lenw$a;
      intermediary method_25336 Lnet/minecraft/class_350;method_25336()Lnet/minecraft/class_350$class_351;
      named getFocused Lnet/minecraft/client/gui/widget/EntryListWidget;getFocused()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • children

      public final List<E> children()
      Gets a list of all child GUI elements.
      Specified by:
      children in interface ParentElement
      Mappings:
      Namespace Name Mixin selector
      official i Lepk;i()Ljava/util/List;
      intermediary method_25396 Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
      named children Lnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
    • clearEntries

      protected final void clearEntries()
      Mappings:
      Namespace Name Mixin selector
      official j Lenw;j()V
      intermediary method_25339 Lnet/minecraft/class_350;method_25339()V
      named clearEntries Lnet/minecraft/client/gui/widget/EntryListWidget;clearEntries()V
    • replaceEntries

      protected void replaceEntries(Collection<E> newEntries)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Ljava/util/Collection;)V
      intermediary method_25314 Lnet/minecraft/class_350;method_25314(Ljava/util/Collection;)V
      named replaceEntries Lnet/minecraft/client/gui/widget/EntryListWidget;replaceEntries(Ljava/util/Collection;)V
    • getEntry

      protected E getEntry(int index)
      Mappings:
      Namespace Name Mixin selector
      official d Lenw;d(I)Lenw$a;
      intermediary method_25326 Lnet/minecraft/class_350;method_25326(I)Lnet/minecraft/class_350$class_351;
      named getEntry Lnet/minecraft/client/gui/widget/EntryListWidget;getEntry(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • addEntry

      protected int addEntry(E entry)
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b(Lenw$a;)I
      intermediary method_25321 Lnet/minecraft/class_350;method_25321(Lnet/minecraft/class_350$class_351;)I
      named addEntry Lnet/minecraft/client/gui/widget/EntryListWidget;addEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)I
    • addEntryToTop

      protected void addEntryToTop(E entry)
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c(Lenw$a;)V
      intermediary method_44399 Lnet/minecraft/class_350;method_44399(Lnet/minecraft/class_350$class_351;)V
      named addEntryToTop Lnet/minecraft/client/gui/widget/EntryListWidget;addEntryToTop(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • removeEntryWithoutScrolling

      protected boolean removeEntryWithoutScrolling(E entry)
      Mappings:
      Namespace Name Mixin selector
      official d Lenw;d(Lenw$a;)Z
      intermediary method_44650 Lnet/minecraft/class_350;method_44650(Lnet/minecraft/class_350$class_351;)Z
      named removeEntryWithoutScrolling Lnet/minecraft/client/gui/widget/EntryListWidget;removeEntryWithoutScrolling(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Z
    • getEntryCount

      protected int getEntryCount()
      Mappings:
      Namespace Name Mixin selector
      official k Lenw;k()I
      intermediary method_25340 Lnet/minecraft/class_350;method_25340()I
      named getEntryCount Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryCount()I
    • isSelectedEntry

      protected boolean isSelectedEntry(int index)
      Mappings:
      Namespace Name Mixin selector
      official e Lenw;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
    • getEntryAtPosition

      @Nullable protected final E getEntryAtPosition(double x, double y)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(DD)Lenw$a;
      intermediary method_25308 Lnet/minecraft/class_350;method_25308(DD)Lnet/minecraft/class_350$class_351;
      named getEntryAtPosition Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryAtPosition(DD)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • updateSize

      public void updateSize(int width, int height, int top, int bottom)
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b(IIII)V
      intermediary method_25323 Lnet/minecraft/class_350;method_25323(IIII)V
      named updateSize Lnet/minecraft/client/gui/widget/EntryListWidget;updateSize(IIII)V
    • setLeftPos

      public void setLeftPos(int left)
      Mappings:
      Namespace Name Mixin selector
      official f Lenw;f(I)V
      intermediary method_25333 Lnet/minecraft/class_350;method_25333(I)V
      named setLeftPos Lnet/minecraft/client/gui/widget/EntryListWidget;setLeftPos(I)V
    • getMaxPosition

      protected int getMaxPosition()
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a()I
      intermediary method_25317 Lnet/minecraft/class_350;method_25317()I
      named getMaxPosition Lnet/minecraft/client/gui/widget/EntryListWidget;getMaxPosition()I
    • clickedHeader

      protected void clickedHeader(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(II)V
      intermediary method_25310 Lnet/minecraft/class_350;method_25310(II)V
      named clickedHeader Lnet/minecraft/client/gui/widget/EntryListWidget;clickedHeader(II)V
    • renderHeader

      protected void renderHeader(MatrixStack matrices, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lehe;II)V
      intermediary method_25312 Lnet/minecraft/class_350;method_25312(Lnet/minecraft/class_4587;II)V
      named renderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(Lnet/minecraft/client/util/math/MatrixStack;II)V
    • renderBackground

      protected void renderBackground(MatrixStack matrices)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lehe;)V
      intermediary method_25325 Lnet/minecraft/class_350;method_25325(Lnet/minecraft/class_4587;)V
      named renderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
    • renderDecorations

      protected void renderDecorations(MatrixStack matrices, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b(Lehe;II)V
      intermediary method_25320 Lnet/minecraft/class_350;method_25320(Lnet/minecraft/class_4587;II)V
      named renderDecorations Lnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(Lnet/minecraft/client/util/math/MatrixStack;II)V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      official a Lepa;a(Lehe;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • enableScissor

      protected void enableScissor()
      Mappings:
      Namespace Name Mixin selector
      official m Lenw;m()V
      intermediary method_49603 Lnet/minecraft/class_350;method_49603()V
      named enableScissor Lnet/minecraft/client/gui/widget/EntryListWidget;enableScissor()V
    • centerScrollOn

      protected void centerScrollOn(E entry)
      Mappings:
      Namespace Name Mixin selector
      official e Lenw;e(Lenw$a;)V
      intermediary method_25324 Lnet/minecraft/class_350;method_25324(Lnet/minecraft/class_350$class_351;)V
      named centerScrollOn Lnet/minecraft/client/gui/widget/EntryListWidget;centerScrollOn(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • ensureVisible

      protected void ensureVisible(E entry)
      Mappings:
      Namespace Name Mixin selector
      official f Lenw;f(Lenw$a;)V
      intermediary method_25328 Lnet/minecraft/class_350;method_25328(Lnet/minecraft/class_350$class_351;)V
      named ensureVisible Lnet/minecraft/client/gui/widget/EntryListWidget;ensureVisible(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • scroll

      private void scroll(int amount)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(I)V
      intermediary method_25309 Lnet/minecraft/class_350;method_25309(I)V
      named scroll Lnet/minecraft/client/gui/widget/EntryListWidget;scroll(I)V
    • getScrollAmount

      public double getScrollAmount()
      Mappings:
      Namespace Name Mixin selector
      official n Lenw;n()D
      intermediary method_25341 Lnet/minecraft/class_350;method_25341()D
      named getScrollAmount Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollAmount()D
    • setScrollAmount

      public void setScrollAmount(double amount)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(D)V
      intermediary method_25307 Lnet/minecraft/class_350;method_25307(D)V
      named setScrollAmount Lnet/minecraft/client/gui/widget/EntryListWidget;setScrollAmount(D)V
    • getMaxScroll

      public int getMaxScroll()
      Mappings:
      Namespace Name Mixin selector
      official o Lenw;o()I
      intermediary method_25331 Lnet/minecraft/class_350;method_25331()I
      named getMaxScroll Lnet/minecraft/client/gui/widget/EntryListWidget;getMaxScroll()I
    • method_35721

      public int method_35721()
      Mappings:
      Namespace Name Mixin selector
      official p Lenw;p()I
      intermediary method_35721 Lnet/minecraft/class_350;method_35721()I
      named method_35721 Lnet/minecraft/client/gui/widget/EntryListWidget;method_35721()I
    • updateScrollingState

      protected void updateScrollingState(double mouseX, double mouseY, int button)
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c(DDI)V
      intermediary method_25318 Lnet/minecraft/class_350;method_25318(DDI)V
      named updateScrollingState Lnet/minecraft/client/gui/widget/EntryListWidget;updateScrollingState(DDI)V
    • getScrollbarPositionX

      protected int getScrollbarPositionX()
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c()I
      intermediary method_25329 Lnet/minecraft/class_350;method_25329()I
      named getScrollbarPositionX Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseClicked in interface Element
      Specified by:
      mouseClicked in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lepl;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
      Callback for when a mouse button release event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseReleased in interface Element
      Specified by:
      mouseReleased in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lepl;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
    • mouseDragged

      public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
      Callback for when a mouse button drag event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseDragged in interface Element
      Specified by:
      mouseDragged in interface ParentElement
      Parameters:
      mouseX - the current X coordinate of the mouse
      mouseY - the current Y coordinate of the mouse
      button - the mouse button number
      deltaX - the difference of the current X with the previous X coordinate
      deltaY - the difference of the current Y with the previous Y coordinate
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lepl;a(DDIDD)Z
      intermediary method_25403 Lnet/minecraft/class_364;method_25403(DDIDD)Z
      named mouseDragged Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double amount)
      Callback for when a mouse button scroll event has been captured.
      Specified by:
      mouseScrolled in interface Element
      Specified by:
      mouseScrolled in interface ParentElement
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      amount - value is < 0 if scrolled down, > 0 if scrolled up
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lepl;a(DDD)Z
      intermediary method_25401 Lnet/minecraft/class_364;method_25401(DDD)Z
      named mouseScrolled Lnet/minecraft/client/gui/Element;mouseScrolled(DDD)Z
    • setFocused

      public void setFocused(@Nullable @Nullable Element focused)
      Specified by:
      setFocused in interface ParentElement
      Overrides:
      setFocused in class AbstractParentElement
      Mappings:
      Namespace Name Mixin selector
      official a Lepk;a(Lepl;)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
    • getNeighboringEntry

      @Nullable protected E getNeighboringEntry(NavigationDirection direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lerl;)Lenw$a;
      intermediary method_48197 Lnet/minecraft/class_350;method_48197(Lnet/minecraft/class_8028;)Lnet/minecraft/class_350$class_351;
      named getNeighboringEntry Lnet/minecraft/client/gui/widget/EntryListWidget;getNeighboringEntry(Lnet/minecraft/client/gui/navigation/NavigationDirection;)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • getNeighboringEntry

      @Nullable protected E getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lerl;Ljava/util/function/Predicate;)Lenw$a;
      intermediary method_48198 Lnet/minecraft/class_350;method_48198(Lnet/minecraft/class_8028;Ljava/util/function/Predicate;)Lnet/minecraft/class_350$class_351;
      named getNeighboringEntry Lnet/minecraft/client/gui/widget/EntryListWidget;getNeighboringEntry(Lnet/minecraft/client/gui/navigation/NavigationDirection;Ljava/util/function/Predicate;)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • getNeighboringEntry

      @Nullable protected E getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate, @Nullable E selected)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lerl;Ljava/util/function/Predicate;Lenw$a;)Lenw$a;
      intermediary method_48199 Lnet/minecraft/class_350;method_48199(Lnet/minecraft/class_8028;Ljava/util/function/Predicate;Lnet/minecraft/class_350$class_351;)Lnet/minecraft/class_350$class_351;
      named getNeighboringEntry Lnet/minecraft/client/gui/widget/EntryListWidget;getNeighboringEntry(Lnet/minecraft/client/gui/navigation/NavigationDirection;Ljava/util/function/Predicate;Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • isMouseOver

      public boolean isMouseOver(double mouseX, double mouseY)
      Checks if the mouse position is within the bound of the element.
      Specified by:
      isMouseOver in interface Element
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      Returns:
      true if the mouse is within the bound of the element, otherwise false
      Mappings:
      Namespace Name Mixin selector
      official a_ Lepl;a_(DD)Z
      intermediary method_25405 Lnet/minecraft/class_364;method_25405(DD)Z
      named isMouseOver Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
    • renderList

      protected void renderList(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Mappings:
      Namespace Name Mixin selector
      official b Lenw;b(Lehe;IIF)V
      intermediary method_25311 Lnet/minecraft/class_350;method_25311(Lnet/minecraft/class_4587;IIF)V
      named renderList Lnet/minecraft/client/gui/widget/EntryListWidget;renderList(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • renderEntry

      protected void renderEntry(MatrixStack matrices, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lehe;IIFIIIII)V
      intermediary method_44397 Lnet/minecraft/class_350;method_44397(Lnet/minecraft/class_4587;IIFIIIII)V
      named renderEntry Lnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(Lnet/minecraft/client/util/math/MatrixStack;IIFIIIII)V
    • drawSelectionHighlight

      protected void drawSelectionHighlight(MatrixStack matrices, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
      Mappings:
      Namespace Name Mixin selector
      official c Lenw;c(Lehe;IIIII)V
      intermediary method_44398 Lnet/minecraft/class_350;method_44398(Lnet/minecraft/class_4587;IIIII)V
      named drawSelectionHighlight Lnet/minecraft/client/gui/widget/EntryListWidget;drawSelectionHighlight(Lnet/minecraft/client/util/math/MatrixStack;IIIII)V
    • getRowLeft

      public int getRowLeft()
      Mappings:
      Namespace Name Mixin selector
      official q Lenw;q()I
      intermediary method_25342 Lnet/minecraft/class_350;method_25342()I
      named getRowLeft Lnet/minecraft/client/gui/widget/EntryListWidget;getRowLeft()I
    • getRowRight

      public int getRowRight()
      Mappings:
      Namespace Name Mixin selector
      official r Lenw;r()I
      intermediary method_31383 Lnet/minecraft/class_350;method_31383()I
      named getRowRight Lnet/minecraft/client/gui/widget/EntryListWidget;getRowRight()I
    • getRowTop

      protected int getRowTop(int index)
      Mappings:
      Namespace Name Mixin selector
      official g Lenw;g(I)I
      intermediary method_25337 Lnet/minecraft/class_350;method_25337(I)I
      named getRowTop Lnet/minecraft/client/gui/widget/EntryListWidget;getRowTop(I)I
    • getRowBottom

      protected int getRowBottom(int index)
      Mappings:
      Namespace Name Mixin selector
      official h Lenw;h(I)I
      intermediary method_25319 Lnet/minecraft/class_350;method_25319(I)I
      named getRowBottom Lnet/minecraft/client/gui/widget/EntryListWidget;getRowBottom(I)I
    • getType

      public Selectable.SelectionType getType()
      Specified by:
      getType in interface Selectable
      Mappings:
      Namespace Name Mixin selector
      official s Lerc;s()Lerc$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;
    • remove

      @Nullable protected E remove(int index)
      Mappings:
      Namespace Name Mixin selector
      official i Lenw;i(I)Lenw$a;
      intermediary method_25338 Lnet/minecraft/class_350;method_25338(I)Lnet/minecraft/class_350$class_351;
      named remove Lnet/minecraft/client/gui/widget/EntryListWidget;remove(I)Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • removeEntry

      protected boolean removeEntry(E entry)
      Mappings:
      Namespace Name Mixin selector
      official g Lenw;g(Lenw$a;)Z
      intermediary method_25330 Lnet/minecraft/class_350;method_25330(Lnet/minecraft/class_350$class_351;)Z
      named removeEntry Lnet/minecraft/client/gui/widget/EntryListWidget;removeEntry(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)Z
    • getHoveredEntry

      @Nullable protected E getHoveredEntry()
      Mappings:
      Namespace Name Mixin selector
      official t Lenw;t()Lenw$a;
      intermediary method_37019 Lnet/minecraft/class_350;method_37019()Lnet/minecraft/class_350$class_351;
      named getHoveredEntry Lnet/minecraft/client/gui/widget/EntryListWidget;getHoveredEntry()Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;
    • setEntryParentList

      void setEntryParentList(EntryListWidget.Entry<E> entry)
      Mappings:
      Namespace Name Mixin selector
      official h Lenw;h(Lenw$a;)V
      intermediary method_29621 Lnet/minecraft/class_350;method_29621(Lnet/minecraft/class_350$class_351;)V
      named setEntryParentList Lnet/minecraft/client/gui/widget/EntryListWidget;setEntryParentList(Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • appendNarrations

      protected void appendNarrations(NarrationMessageBuilder builder, E entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lenw;a(Lere;Lenw$a;)V
      intermediary method_37017 Lnet/minecraft/class_350;method_37017(Lnet/minecraft/class_6382;Lnet/minecraft/class_350$class_351;)V
      named appendNarrations Lnet/minecraft/client/gui/widget/EntryListWidget;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;)V
    • getNavigationFocus

      public ScreenRect getNavigationFocus()
      Specified by:
      getNavigationFocus in interface Element
      Mappings:
      Namespace Name Mixin selector
      official u Lepl;u()Lern;
      intermediary method_48202 Lnet/minecraft/class_364;method_48202()Lnet/minecraft/class_8030;
      named getNavigationFocus Lnet/minecraft/client/gui/Element;getNavigationFocus()Lnet/minecraft/client/gui/ScreenRect;