Class ListWidget

All Implemented Interfaces:
class_4122, class_4123
Direct Known Subclasses:
class_4156.class_2316, CustomizeFlatLevelScreen.CustomizeFlatLevelListWidget, DelegatingRealmsClickableScrolledSelectionListWidget, DelegatingRealmsScrolledSelectionListWidget, DelegatingRealmsSimpleScrolledSelectionListWidget, EntryListWidget, LanguageOptionsScreen.LanguageSelectionListWidget, SnooperScreen.SnooperEntryListWidget, StatsScreen.EntityStatsListWidget, StatsScreen.GeneralStatsListWidget, StatsScreen.ItemStatsListWidget, SuperflatPresetScreen.SuperflatPresetsListWidget

@Environment(CLIENT) public abstract class ListWidget extends class_4121
Mappings:
Namespace Name
official chl
intermediary net/minecraft/class_390
named net/minecraft/client/gui/widget/ListWidget
  • Field Details

    • client

      protected final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a:Lcft;
      intermediary field_1241 Lnet/minecraft/class_390;field_1241:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/gui/widget/ListWidget;client:Lnet/minecraft/client/MinecraftClient;
    • width

      protected int width
      Mappings:
      Namespace Name Mixin selector
      official f Lchl;f:I
      intermediary field_7733 Lnet/minecraft/class_390;field_7733:I
      named width Lnet/minecraft/client/gui/widget/ListWidget;width:I
    • height

      protected int height
      Mappings:
      Namespace Name Mixin selector
      official g Lchl;g:I
      intermediary field_1248 Lnet/minecraft/class_390;field_1248:I
      named height Lnet/minecraft/client/gui/widget/ListWidget;height:I
    • yStart

      protected int yStart
      Mappings:
      Namespace Name Mixin selector
      official h Lchl;h:I
      intermediary field_1242 Lnet/minecraft/class_390;field_1242:I
      named yStart Lnet/minecraft/client/gui/widget/ListWidget;yStart:I
    • yEnd

      protected int yEnd
      Mappings:
      Namespace Name Mixin selector
      official i Lchl;i:I
      intermediary field_1243 Lnet/minecraft/class_390;field_1243:I
      named yEnd Lnet/minecraft/client/gui/widget/ListWidget;yEnd:I
    • xEnd

      protected int xEnd
      Mappings:
      Namespace Name Mixin selector
      official j Lchl;j:I
      intermediary field_1249 Lnet/minecraft/class_390;field_1249:I
      named xEnd Lnet/minecraft/client/gui/widget/ListWidget;xEnd:I
    • xStart

      protected int xStart
      Mappings:
      Namespace Name Mixin selector
      official k Lchl;k:I
      intermediary field_7734 Lnet/minecraft/class_390;field_7734:I
      named xStart Lnet/minecraft/client/gui/widget/ListWidget;xStart:I
    • entryHeight

      protected final int entryHeight
      Mappings:
      Namespace Name Mixin selector
      official l Lchl;l:I
      intermediary field_1244 Lnet/minecraft/class_390;field_1244:I
      named entryHeight Lnet/minecraft/client/gui/widget/ListWidget;entryHeight:I
    • field_7735

      protected boolean field_7735
      Mappings:
      Namespace Name Mixin selector
      official m Lchl;m:Z
      intermediary field_7735 Lnet/minecraft/class_390;field_7735:Z
      named field_7735 Lnet/minecraft/client/gui/widget/ListWidget;field_7735:Z
    • yDrag

      protected int yDrag
      Mappings:
      Namespace Name Mixin selector
      official n Lchl;n:I
      intermediary field_10407 Lnet/minecraft/class_390;field_10407:I
      named yDrag Lnet/minecraft/client/gui/widget/ListWidget;yDrag:I
    • field_20083

      protected double field_20083
      Mappings:
      Namespace Name Mixin selector
      official o Lchl;o:D
      intermediary field_20083 Lnet/minecraft/class_390;field_20083:D
      named field_20083 Lnet/minecraft/client/gui/widget/ListWidget;field_20083:D
    • field_1256

      protected int field_1256
      Mappings:
      Namespace Name Mixin selector
      official p Lchl;p:I
      intermediary field_1256 Lnet/minecraft/class_390;field_1256:I
      named field_1256 Lnet/minecraft/client/gui/widget/ListWidget;field_1256:I
    • time

      protected long time
      Mappings:
      Namespace Name Mixin selector
      official q Lchl;q:J
      intermediary field_1257 Lnet/minecraft/class_390;field_1257:J
      named time Lnet/minecraft/client/gui/widget/ListWidget;time:J
    • visible

      protected boolean visible
      Mappings:
      Namespace Name Mixin selector
      official r Lchl;r:Z
      intermediary field_10408 Lnet/minecraft/class_390;field_10408:Z
      named visible Lnet/minecraft/client/gui/widget/ListWidget;visible:Z
    • renderSelection

      protected boolean renderSelection
      Mappings:
      Namespace Name Mixin selector
      official s Lchl;s:Z
      intermediary field_7736 Lnet/minecraft/class_390;field_7736:Z
      named renderSelection Lnet/minecraft/client/gui/widget/ListWidget;renderSelection:Z
    • renderHeader

      protected boolean renderHeader
      Mappings:
      Namespace Name Mixin selector
      official t Lchl;t:Z
      intermediary field_1259 Lnet/minecraft/class_390;field_1259:Z
      named renderHeader Lnet/minecraft/client/gui/widget/ListWidget;renderHeader:Z
    • headerHeight

      protected int headerHeight
      Mappings:
      Namespace Name Mixin selector
      official u Lchl;u:I
      intermediary field_1260 Lnet/minecraft/class_390;field_1260:I
      named headerHeight Lnet/minecraft/client/gui/widget/ListWidget;headerHeight:I
    • dragging

      private boolean dragging
      Mappings:
      Namespace Name Mixin selector
      official v Lchl;v:Z
      intermediary field_7737 Lnet/minecraft/class_390;field_7737:Z
      named dragging Lnet/minecraft/client/gui/widget/ListWidget;dragging:Z
  • Constructor Details

    • ListWidget

      public ListWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lchl;<init>(Lcft;IIIII)V
      intermediary <init> Lnet/minecraft/class_390;<init>(Lnet/minecraft/class_1600;IIIII)V
      named <init> Lnet/minecraft/client/gui/widget/ListWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIIII)V
  • Method Details

    • updateBounds

      public void updateBounds(int right, int height, int top, int bottom)
      Mappings:
      Namespace Name Mixin selector
      official c Lchl;c(IIII)V
      intermediary method_1054 Lnet/minecraft/class_390;method_1054(IIII)V
      named updateBounds Lnet/minecraft/client/gui/widget/ListWidget;updateBounds(IIII)V
    • setRenderSelection

      public void setRenderSelection(boolean renderSelection)
      Mappings:
      Namespace Name Mixin selector
      official c Lchl;c(Z)V
      intermediary method_1060 Lnet/minecraft/class_390;method_1060(Z)V
      named setRenderSelection Lnet/minecraft/client/gui/widget/ListWidget;setRenderSelection(Z)V
    • setHeader

      protected void setHeader(boolean renderHeader, int headerHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(ZI)V
      intermediary method_1061 Lnet/minecraft/class_390;method_1061(ZI)V
      named setHeader Lnet/minecraft/client/gui/widget/ListWidget;setHeader(ZI)V
    • method_18417

      public boolean method_18417()
      Mappings:
      Namespace Name Mixin selector
      official m Lchl;m()Z
      intermediary method_18417 Lnet/minecraft/class_390;method_18417()Z
      named method_18417 Lnet/minecraft/client/gui/widget/ListWidget;method_18417()Z
    • getEntryCount

      protected abstract int getEntryCount()
      Mappings:
      Namespace Name Mixin selector
      official d Lchl;d()I
      intermediary method_1050 Lnet/minecraft/class_390;method_1050()I
      named getEntryCount Lnet/minecraft/client/gui/widget/ListWidget;getEntryCount()I
    • method_18416

      public void method_18416(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lchl;b(I)V
      intermediary method_18416 Lnet/minecraft/class_390;method_18416(I)V
      named method_18416 Lnet/minecraft/client/gui/widget/ListWidget;method_18416(I)V
    • method_18423

      protected List<? extends class_4122> method_18423()
      Specified by:
      method_18423 in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official b Lchq;b()Ljava/util/List;
      intermediary method_18423 Lnet/minecraft/class_4121;method_18423()Ljava/util/List;
      named method_18423 Lnet/minecraft/class_4121;method_18423()Ljava/util/List;
    • method_18414

      protected boolean method_18414(int int2, int int3, double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IIDD)Z
      intermediary method_18414 Lnet/minecraft/class_390;method_18414(IIDD)Z
      named method_18414 Lnet/minecraft/client/gui/widget/ListWidget;method_18414(IIDD)Z
    • isEntrySelected

      protected abstract boolean isEntrySelected(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(I)Z
      intermediary method_1051 Lnet/minecraft/class_390;method_1051(I)Z
      named isEntrySelected Lnet/minecraft/client/gui/widget/ListWidget;isEntrySelected(I)Z
    • getMaxPosition

      protected int getMaxPosition()
      Mappings:
      Namespace Name Mixin selector
      official n Lchl;n()I
      intermediary method_1062 Lnet/minecraft/class_390;method_1062()I
      named getMaxPosition Lnet/minecraft/client/gui/widget/ListWidget;getMaxPosition()I
    • renderBackground

      protected abstract void renderBackground()
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a()V
      intermediary method_1066 Lnet/minecraft/class_390;method_1066()V
      named renderBackground Lnet/minecraft/client/gui/widget/ListWidget;renderBackground()V
    • method_9528

      protected void method_9528(int int2, int int3, int int4, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IIIF)V
      intermediary method_9528 Lnet/minecraft/class_390;method_9528(IIIF)V
      named method_9528 Lnet/minecraft/client/gui/widget/ListWidget;method_9528(IIIF)V
    • method_1055

      protected abstract void method_1055(int int2, int int3, int int4, int int5, int int6, int int7, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IIIIIIF)V
      intermediary method_1055 Lnet/minecraft/class_390;method_1055(IIIIIIF)V
      named method_1055 Lnet/minecraft/client/gui/widget/ListWidget;method_1055(IIIIIIF)V
    • renderHeader

      protected void renderHeader(int x, int y, Tessellator tessellator)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IILcum;)V
      intermediary method_1056 Lnet/minecraft/class_390;method_1056(IILnet/minecraft/class_533;)V
      named renderHeader Lnet/minecraft/client/gui/widget/ListWidget;renderHeader(IILnet/minecraft/client/render/Tessellator;)V
    • clickedHeader

      protected void clickedHeader(int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(II)V
      intermediary method_1052 Lnet/minecraft/class_390;method_1052(II)V
      named clickedHeader Lnet/minecraft/client/gui/widget/ListWidget;clickedHeader(II)V
    • renderDecorations

      protected void renderDecorations(int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official b Lchl;b(II)V
      intermediary method_1064 Lnet/minecraft/class_390;method_1064(II)V
      named renderDecorations Lnet/minecraft/client/gui/widget/ListWidget;renderDecorations(II)V
    • method_18411

      public int method_18411(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(DD)I
      intermediary method_18411 Lnet/minecraft/class_390;method_18411(DD)I
      named method_18411 Lnet/minecraft/client/gui/widget/ListWidget;method_18411(DD)I
    • capYPosition

      protected void capYPosition()
      Mappings:
      Namespace Name Mixin selector
      official o Lchl;o()V
      intermediary method_1070 Lnet/minecraft/class_390;method_1070()V
      named capYPosition Lnet/minecraft/client/gui/widget/ListWidget;capYPosition()V
    • getMaxScroll

      public int getMaxScroll()
      Mappings:
      Namespace Name Mixin selector
      official p Lchl;p()I
      intermediary method_1068 Lnet/minecraft/class_390;method_1068()I
      named getMaxScroll Lnet/minecraft/client/gui/widget/ListWidget;getMaxScroll()I
    • getScrollAmount

      public int getScrollAmount()
      Mappings:
      Namespace Name Mixin selector
      official q Lchl;q()I
      intermediary method_6708 Lnet/minecraft/class_390;method_6708()I
      named getScrollAmount Lnet/minecraft/client/gui/widget/ListWidget;getScrollAmount()I
    • method_18415

      public boolean method_18415(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official b Lchl;b(DD)Z
      intermediary method_18415 Lnet/minecraft/class_390;method_18415(DD)Z
      named method_18415 Lnet/minecraft/client/gui/widget/ListWidget;method_18415(DD)Z
    • scroll

      public void scroll(int amount)
      Mappings:
      Namespace Name Mixin selector
      official e Lchl;e(I)V
      intermediary method_1063 Lnet/minecraft/class_390;method_1063(I)V
      named scroll Lnet/minecraft/client/gui/widget/ListWidget;scroll(I)V
    • render

      public void render(int mouseX, int mouseY, float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IIF)V
      intermediary method_1053 Lnet/minecraft/class_390;method_1053(IIF)V
      named render Lnet/minecraft/client/gui/widget/ListWidget;render(IIF)V
    • method_18412

      protected void method_18412(double double2, double double3, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(DDI)V
      intermediary method_18412 Lnet/minecraft/class_390;method_18412(DDI)V
      named method_18412 Lnet/minecraft/client/gui/widget/ListWidget;method_18412(DDI)V
    • mouseClicked

      public boolean mouseClicked(double double2, double double3, int int2)
      Specified by:
      mouseClicked in interface class_4122
      Specified by:
      mouseClicked in interface class_4123
      Overrides:
      mouseClicked in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official mouseClicked Lchr;mouseClicked(DDI)Z
      intermediary mouseClicked Lnet/minecraft/class_4122;mouseClicked(DDI)Z
      named mouseClicked Lnet/minecraft/class_4122;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double double2, double double3, int int2)
      Specified by:
      mouseReleased in interface class_4122
      Specified by:
      mouseReleased in interface class_4123
      Overrides:
      mouseReleased in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official mouseReleased Lchr;mouseReleased(DDI)Z
      intermediary mouseReleased Lnet/minecraft/class_4122;mouseReleased(DDI)Z
      named mouseReleased Lnet/minecraft/class_4122;mouseReleased(DDI)Z
    • mouseDragged

      public boolean mouseDragged(double double2, double double3, int int2, double double4, double double5)
      Specified by:
      mouseDragged in interface class_4122
      Specified by:
      mouseDragged in interface class_4123
      Overrides:
      mouseDragged in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official mouseDragged Lchr;mouseDragged(DDIDD)Z
      intermediary mouseDragged Lnet/minecraft/class_4122;mouseDragged(DDIDD)Z
      named mouseDragged Lnet/minecraft/class_4122;mouseDragged(DDIDD)Z
    • mouseScrolled

      public boolean mouseScrolled(double double2)
      Mappings:
      Namespace Name Mixin selector
      official mouseScrolled Lchr;mouseScrolled(D)Z
      intermediary mouseScrolled Lnet/minecraft/class_4122;mouseScrolled(D)Z
      named mouseScrolled Lnet/minecraft/class_4122;mouseScrolled(D)Z
    • keyPressed

      public boolean keyPressed(int int2, int int3, int int4)
      Specified by:
      keyPressed in interface class_4122
      Specified by:
      keyPressed in interface class_4123
      Overrides:
      keyPressed in class class_4121
      Mappings:
      Namespace Name Mixin selector
      official keyPressed Lchr;keyPressed(III)Z
      intermediary keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
      named keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
    • charTyped

      public boolean charTyped(char char2, int int2)
      Mappings:
      Namespace Name Mixin selector
      official charTyped Lchr;charTyped(CI)Z
      intermediary charTyped Lnet/minecraft/class_4122;charTyped(CI)Z
      named charTyped Lnet/minecraft/class_4122;charTyped(CI)Z
    • getRowWidth

      public int getRowWidth()
      Mappings:
      Namespace Name Mixin selector
      official e Lchl;e()I
      intermediary method_6706 Lnet/minecraft/class_390;method_6706()I
      named getRowWidth Lnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
    • method_6704

      protected void method_6704(int int2, int int3, int int4, int int5, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lchl;a(IIIIF)V
      intermediary method_6704 Lnet/minecraft/class_390;method_6704(IIIIF)V
      named method_6704 Lnet/minecraft/client/gui/widget/ListWidget;method_6704(IIIIF)V
    • getScrollbarPosition

      protected int getScrollbarPosition()
      Mappings:
      Namespace Name Mixin selector
      official f Lchl;f()I
      intermediary method_1069 Lnet/minecraft/class_390;method_1069()I
      named getScrollbarPosition Lnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
    • renderHoleBackground

      protected void renderHoleBackground(int top, int bottom, int topAlpha, int bottomAlpha)
      Mappings:
      Namespace Name Mixin selector
      official d Lchl;d(IIII)V
      intermediary method_1065 Lnet/minecraft/class_390;method_1065(IIII)V
      named renderHoleBackground Lnet/minecraft/client/gui/widget/ListWidget;renderHoleBackground(IIII)V
    • setXPos

      public void setXPos(int x)
      Mappings:
      Namespace Name Mixin selector
      official f Lchl;f(I)V
      intermediary method_6709 Lnet/minecraft/class_390;method_6709(I)V
      named setXPos Lnet/minecraft/client/gui/widget/ListWidget;setXPos(I)V
    • getItemHeight

      public int getItemHeight()
      Mappings:
      Namespace Name Mixin selector
      official s Lchl;s()I
      intermediary method_6711 Lnet/minecraft/class_390;method_6711()I
      named getItemHeight Lnet/minecraft/client/gui/widget/ListWidget;getItemHeight()I