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

java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<E>
All Implemented Interfaces:
Element, Navigable, Widget
Direct Known Subclasses:
AlwaysSelectedEntryListWidget.Entry, ElementListWidget.Entry
Enclosing class:
EntryListWidget<E extends EntryListWidget.Entry<E>>

@Environment(CLIENT) protected abstract static class EntryListWidget.Entry<E extends EntryListWidget.Entry<E>> extends Object implements Element, Widget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/EntryListWidget$Entry
intermediary net/minecraft/class_350$class_351
official gdj$a
  • Field Details

    • PADDING

      public static final int PADDING
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PADDING Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;PADDING:I
      intermediary field_62115 Lnet/minecraft/class_350$class_351;field_62115:I
      official h Lgdj$a;h:I
    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      named x Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;x:I
      intermediary field_62111 Lnet/minecraft/class_350$class_351;field_62111:I
      official a Lgdj$a;a:I
    • y

      private int y
      Mappings:
      Namespace Name Mixin selector
      named y Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;y:I
      intermediary field_62112 Lnet/minecraft/class_350$class_351;field_62112:I
      official b Lgdj$a;b:I
    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;width:I
      intermediary field_62113 Lnet/minecraft/class_350$class_351;field_62113:I
      official c Lgdj$a;c:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;height:I
      intermediary field_62114 Lnet/minecraft/class_350$class_351;field_62114:I
      official d Lgdj$a;d:I
    • parentList

      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named parentList Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;parentList:Lnet/minecraft/client/gui/widget/EntryListWidget;
      intermediary field_22752 Lnet/minecraft/class_350$class_351;field_22752:Lnet/minecraft/class_350;
      official e Lgdj$a;e:Lgdj;
  • Constructor Details

    • Entry

      protected Entry()
  • Method Details

    • setFocused

      public void setFocused(boolean bool)
      Specified by:
      setFocused in interface Element
      Mappings:
      Namespace Name Mixin selector
      named setFocused Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setFocused(Z)V
      intermediary method_25365 Lnet/minecraft/class_350$class_351;method_25365(Z)V
      official method_25365 Lgdj$a;method_25365(Z)V
    • isFocused

      public boolean isFocused()
      Specified by:
      isFocused in interface Element
      Mappings:
      Namespace Name Mixin selector
      named isFocused Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;isFocused()Z
      intermediary method_25370 Lnet/minecraft/class_350$class_351;method_25370()Z
      official method_25370 Lgdj$a;method_25370()Z
    • render

      public abstract void render(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks)
      Renders an entry in a list.
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)V
      intermediary method_25343 Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)V
      official a Lgdj$a;a(Lgdd;IIZF)V
    • isMouseOver

      public boolean isMouseOver(double double2, double double3)
      Description copied from interface: Element
      Checks if the mouse position is within the bound of the element.
      Specified by:
      isMouseOver in interface Element
      Parameters:
      double2 - the X coordinate of the mouse
      double3 - 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
      named isMouseOver Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;isMouseOver(DD)Z
      intermediary method_25405 Lnet/minecraft/class_350$class_351;method_25405(DD)Z
      official method_25405 Lgdj$a;method_25405(DD)Z
    • setX

      public void setX(int int2)
      Specified by:
      setX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named setX Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setX(I)V
      intermediary method_46421 Lnet/minecraft/class_350$class_351;method_46421(I)V
      official method_46421 Lgdj$a;method_46421(I)V
    • setY

      public void setY(int int2)
      Specified by:
      setY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named setY Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setY(I)V
      intermediary method_46419 Lnet/minecraft/class_350$class_351;method_46419(I)V
      official method_46419 Lgdj$a;method_46419(I)V
    • setWidth

      public void setWidth(int width)
      Mappings:
      Namespace Name Mixin selector
      named setWidth Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setWidth(I)V
      intermediary method_73381 Lnet/minecraft/class_350$class_351;method_73381(I)V
      official h Lgdj$a;h(I)V
    • setHeight

      public void setHeight(int height)
      Mappings:
      Namespace Name Mixin selector
      named setHeight Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;setHeight(I)V
      intermediary method_73383 Lnet/minecraft/class_350$class_351;method_73383(I)V
      official i Lgdj$a;i(I)V
    • getContentX

      public int getContentX()
      Mappings:
      Namespace Name Mixin selector
      named getContentX Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentX()I
      intermediary method_73380 Lnet/minecraft/class_350$class_351;method_73380()I
      official d Lgdj$a;d()I
    • getContentY

      public int getContentY()
      Mappings:
      Namespace Name Mixin selector
      named getContentY Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentY()I
      intermediary method_73382 Lnet/minecraft/class_350$class_351;method_73382()I
      official h Lgdj$a;h()I
    • getContentHeight

      public int getContentHeight()
      Mappings:
      Namespace Name Mixin selector
      named getContentHeight Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentHeight()I
      intermediary method_73384 Lnet/minecraft/class_350$class_351;method_73384()I
      official i Lgdj$a;i()I
    • getContentMiddleY

      public int getContentMiddleY()
      Mappings:
      Namespace Name Mixin selector
      named getContentMiddleY Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentMiddleY()I
      intermediary method_73385 Lnet/minecraft/class_350$class_351;method_73385()I
      official j Lgdj$a;j()I
    • getContentBottomEnd

      public int getContentBottomEnd()
      Mappings:
      Namespace Name Mixin selector
      named getContentBottomEnd Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentBottomEnd()I
      intermediary method_73386 Lnet/minecraft/class_350$class_351;method_73386()I
      official k Lgdj$a;k()I
    • getContentWidth

      public int getContentWidth()
      Mappings:
      Namespace Name Mixin selector
      named getContentWidth Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentWidth()I
      intermediary method_73387 Lnet/minecraft/class_350$class_351;method_73387()I
      official l Lgdj$a;l()I
    • getContentMiddleX

      public int getContentMiddleX()
      Mappings:
      Namespace Name Mixin selector
      named getContentMiddleX Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentMiddleX()I
      intermediary method_73388 Lnet/minecraft/class_350$class_351;method_73388()I
      official m Lgdj$a;m()I
    • getContentRightEnd

      public int getContentRightEnd()
      Mappings:
      Namespace Name Mixin selector
      named getContentRightEnd Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getContentRightEnd()I
      intermediary method_73389 Lnet/minecraft/class_350$class_351;method_73389()I
      official n Lgdj$a;n()I
    • getX

      public int getX()
      Specified by:
      getX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getX()I
      intermediary method_46426 Lnet/minecraft/class_350$class_351;method_46426()I
      official method_46426 Lgdj$a;method_46426()I
    • getY

      public int getY()
      Specified by:
      getY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named getY Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getY()I
      intermediary method_46427 Lnet/minecraft/class_350$class_351;method_46427()I
      official method_46427 Lgdj$a;method_46427()I
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getWidth()I
      intermediary method_25368 Lnet/minecraft/class_350$class_351;method_25368()I
      official method_25368 Lgdj$a;method_25368()I
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getHeight()I
      intermediary method_25364 Lnet/minecraft/class_350$class_351;method_25364()I
      official method_25364 Lgdj$a;method_25364()I
    • forEachChild

      public void forEachChild(Consumer<ClickableWidget> consumer)
      Specified by:
      forEachChild in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named forEachChild Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;forEachChild(Ljava/util/function/Consumer;)V
      intermediary method_48206 Lnet/minecraft/class_350$class_351;method_48206(Ljava/util/function/Consumer;)V
      official method_48206 Lgdj$a;method_48206(Ljava/util/function/Consumer;)V
    • getNavigationFocus

      public ScreenRect getNavigationFocus()
      Specified by:
      getNavigationFocus in interface Element
      Specified by:
      getNavigationFocus in interface Widget
      Mappings:
      Namespace Name Mixin selector
      named getNavigationFocus Lnet/minecraft/client/gui/widget/EntryListWidget$Entry;getNavigationFocus()Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_48202 Lnet/minecraft/class_350$class_351;method_48202()Lnet/minecraft/class_8030;
      official method_48202 Lgdj$a;method_48202()Lgju;