Class EntryListWidget

java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget
Direct Known Subclasses:
PackScreen.PackListWidget, SelectWorldScreen.WorldListWidget, StatsScreen.AbstractStatsListWidget, StatsScreen.GeneralStatsListWidget

@Environment(CLIENT) public abstract class EntryListWidget extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_97
glue class_437
server net/minecraft/class_97
client lg
named net/minecraft/client/gui/widget/EntryListWidget
  • Field Details

    • minecraft

      private final Minecraft minecraft
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1528 Lnet/minecraft/class_97;field_1528:Lnet/minecraft/client/Minecraft;
      glue field_1692 Lclass_437;field_1692:Lnet/minecraft/client/Minecraft;
      server field_1528 Lnet/minecraft/class_97;field_1528:Lnet/minecraft/client/Minecraft;
      client a Llg;a:Lnet/minecraft/client/Minecraft;
      named minecraft Lnet/minecraft/client/gui/widget/EntryListWidget;minecraft:Lnet/minecraft/client/Minecraft;
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1529 Lnet/minecraft/class_97;field_1529:I
      glue field_1693 Lclass_437;field_1693:I
      server field_1529 Lnet/minecraft/class_97;field_1529:I
      client b Llg;b:I
      named width Lnet/minecraft/client/gui/widget/EntryListWidget;width:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1530 Lnet/minecraft/class_97;field_1530:I
      glue field_1694 Lclass_437;field_1694:I
      server field_1530 Lnet/minecraft/class_97;field_1530:I
      client c Llg;c:I
      named height Lnet/minecraft/client/gui/widget/EntryListWidget;height:I
    • top

      protected final int top
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1535 Lnet/minecraft/class_97;field_1535:I
      glue field_1699 Lclass_437;field_1699:I
      server field_1535 Lnet/minecraft/class_97;field_1535:I
      client h Llg;h:I
      named top Lnet/minecraft/client/gui/widget/EntryListWidget;top:I
    • bottom

      protected final int bottom
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1536 Lnet/minecraft/class_97;field_1536:I
      glue field_1700 Lclass_437;field_1700:I
      server field_1536 Lnet/minecraft/class_97;field_1536:I
      client i Llg;i:I
      named bottom Lnet/minecraft/client/gui/widget/EntryListWidget;bottom:I
    • left

      private final int left
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1532 Lnet/minecraft/class_97;field_1532:I
      glue field_1696 Lclass_437;field_1696:I
      server field_1532 Lnet/minecraft/class_97;field_1532:I
      client e Llg;e:I
      named left Lnet/minecraft/client/gui/widget/EntryListWidget;left:I
    • itemHeight

      protected final int itemHeight
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1537 Lnet/minecraft/class_97;field_1537:I
      glue field_1701 Lclass_437;field_1701:I
      server field_1537 Lnet/minecraft/class_97;field_1537:I
      client j Llg;j:I
      named itemHeight Lnet/minecraft/client/gui/widget/EntryListWidget;itemHeight:I
    • scrollUpButtonId

      private int scrollUpButtonId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1533 Lnet/minecraft/class_97;field_1533:I
      glue field_1697 Lclass_437;field_1697:I
      server field_1533 Lnet/minecraft/class_97;field_1533:I
      client f Llg;f:I
      named scrollUpButtonId Lnet/minecraft/client/gui/widget/EntryListWidget;scrollUpButtonId:I
    • scrollDownButtonId

      private int scrollDownButtonId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1534 Lnet/minecraft/class_97;field_1534:I
      glue field_1698 Lclass_437;field_1698:I
      server field_1534 Lnet/minecraft/class_97;field_1534:I
      client g Llg;g:I
      named scrollDownButtonId Lnet/minecraft/client/gui/widget/EntryListWidget;scrollDownButtonId:I
    • mostYStart

      private float mostYStart
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1538 Lnet/minecraft/class_97;field_1538:F
      glue field_1702 Lclass_437;field_1702:F
      server field_1538 Lnet/minecraft/class_97;field_1538:F
      client k Llg;k:F
      named mostYStart Lnet/minecraft/client/gui/widget/EntryListWidget;mostYStart:F
    • scrollSpeedMultiplier

      private float scrollSpeedMultiplier
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1539 Lnet/minecraft/class_97;field_1539:F
      glue field_1703 Lclass_437;field_1703:F
      server field_1539 Lnet/minecraft/class_97;field_1539:F
      client l Llg;l:F
      named scrollSpeedMultiplier Lnet/minecraft/client/gui/widget/EntryListWidget;scrollSpeedMultiplier:F
    • scrollAmount

      private float scrollAmount
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1540 Lnet/minecraft/class_97;field_1540:F
      glue field_1704 Lclass_437;field_1704:F
      server field_1540 Lnet/minecraft/class_97;field_1540:F
      client m Llg;m:F
      named scrollAmount Lnet/minecraft/client/gui/widget/EntryListWidget;scrollAmount:F
    • pos

      private int pos
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1541 Lnet/minecraft/class_97;field_1541:I
      glue field_1705 Lclass_437;field_1705:I
      server field_1541 Lnet/minecraft/class_97;field_1541:I
      client n Llg;n:I
      named pos Lnet/minecraft/client/gui/widget/EntryListWidget;pos:I
    • time

      private long time
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1542 Lnet/minecraft/class_97;field_1542:J
      glue field_1706 Lclass_437;field_1706:J
      server field_1542 Lnet/minecraft/class_97;field_1542:J
      client o Llg;o:J
      named time Lnet/minecraft/client/gui/widget/EntryListWidget;time:J
    • renderSelectionHighlight

      private boolean renderSelectionHighlight
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1543 Lnet/minecraft/class_97;field_1543:Z
      glue field_1707 Lclass_437;field_1707:Z
      server field_1543 Lnet/minecraft/class_97;field_1543:Z
      client p Llg;p:Z
      named renderSelectionHighlight Lnet/minecraft/client/gui/widget/EntryListWidget;renderSelectionHighlight:Z
    • renderHeader

      private boolean renderHeader
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1544 Lnet/minecraft/class_97;field_1544:Z
      glue field_1708 Lclass_437;field_1708:Z
      server field_1544 Lnet/minecraft/class_97;field_1544:Z
      client q Llg;q:Z
      named renderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader:Z
    • headerHeight

      private int headerHeight
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1545 Lnet/minecraft/class_97;field_1545:I
      glue field_1709 Lclass_437;field_1709:I
      server field_1545 Lnet/minecraft/class_97;field_1545:I
      client r Llg;r:I
      named headerHeight Lnet/minecraft/client/gui/widget/EntryListWidget;headerHeight:I
  • Constructor Details

    • EntryListWidget

      public EntryListWidget(Minecraft minecraft, int width, int height, int top, int bottom, int itemHeight)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_97;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
      glue <init> Lclass_437;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
      server <init> Lnet/minecraft/class_97;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
      client <init> Llg;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
      named <init> Lnet/minecraft/client/gui/widget/EntryListWidget;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
  • Method Details

    • setRenderSelectionHighlight

      public void setRenderSelectionHighlight(boolean renderSelectionHighlight)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1260 Lnet/minecraft/class_97;method_1260(Z)V
      glue method_1602 Lclass_437;method_1602(Z)V
      server method_1260 Lnet/minecraft/class_97;method_1260(Z)V
      client a Llg;a(Z)V
      named setRenderSelectionHighlight Lnet/minecraft/client/gui/widget/EntryListWidget;setRenderSelectionHighlight(Z)V
    • setHeader

      protected void setHeader(boolean renderHeader, int headerHeight)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1261 Lnet/minecraft/class_97;method_1261(ZI)V
      glue method_1603 Lclass_437;method_1603(ZI)V
      server method_1261 Lnet/minecraft/class_97;method_1261(ZI)V
      client a Llg;a(ZI)V
      named setHeader Lnet/minecraft/client/gui/widget/EntryListWidget;setHeader(ZI)V
    • getEntryCount

      protected abstract int getEntryCount()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1266 Lnet/minecraft/class_97;method_1266()I
      glue method_458 Lclass_437;method_458()I
      server method_1266 Lnet/minecraft/class_97;method_1266()I
      client a Llg;a()I
      named getEntryCount Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryCount()I
    • entryClicked

      protected abstract void entryClicked(int index, boolean doubleClick)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1267 Lnet/minecraft/class_97;method_1267(IZ)V
      glue method_459 Lclass_437;method_459(IZ)V
      server method_1267 Lnet/minecraft/class_97;method_1267(IZ)V
      client a Llg;a(IZ)V
      named entryClicked Lnet/minecraft/client/gui/widget/EntryListWidget;entryClicked(IZ)V
    • isSelectedEntry

      protected abstract boolean isSelectedEntry(int index)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1270 Lnet/minecraft/class_97;method_1270(I)Z
      glue method_462 Lclass_437;method_462(I)Z
      server method_1270 Lnet/minecraft/class_97;method_1270(I)Z
      client c_ Llg;c_(I)Z
      named isSelectedEntry Lnet/minecraft/client/gui/widget/EntryListWidget;isSelectedEntry(I)Z
    • getEntriesHeight

      protected int getEntriesHeight()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1268 Lnet/minecraft/class_97;method_1268()I
      glue method_460 Lclass_437;method_460()I
      server method_1268 Lnet/minecraft/class_97;method_1268()I
      client b Llg;b()I
      named getEntriesHeight Lnet/minecraft/client/gui/widget/EntryListWidget;getEntriesHeight()I
    • renderBackground

      protected abstract void renderBackground()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1269 Lnet/minecraft/class_97;method_1269()V
      glue method_461 Lclass_437;method_461()V
      server method_1269 Lnet/minecraft/class_97;method_1269()V
      client c Llg;c()V
      named renderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground()V
    • renderEntry

      protected abstract void renderEntry(int index, int x, int y, int int2, Tessellator tesselator)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1264 Lnet/minecraft/class_97;method_1264(IIIILnet/minecraft/class_67;)V
      glue method_260 Lclass_437;method_260(IIIILclass_539;)V
      server method_1264 Lnet/minecraft/class_97;method_1264(IIIILnet/minecraft/class_67;)V
      client a Llg;a(IIIILnw;)V
      named renderEntry Lnet/minecraft/client/gui/widget/EntryListWidget;renderEntry(IIIILnet/minecraft/client/render/Tessellator;)V
    • renderHeader

      protected void renderHeader(int x, int y, Tessellator tessellator)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1265 Lnet/minecraft/class_97;method_1265(IILnet/minecraft/class_67;)V
      glue method_261 Lclass_437;method_261(IILclass_539;)V
      server method_1265 Lnet/minecraft/class_97;method_1265(IILnet/minecraft/class_67;)V
      client a Llg;a(IILnw;)V
      named renderHeader Lnet/minecraft/client/gui/widget/EntryListWidget;renderHeader(IILnet/minecraft/client/render/Tessellator;)V
    • headerClicked

      protected void headerClicked(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1254 Lnet/minecraft/class_97;method_1254(II)V
      glue method_1394 Lclass_437;method_1394(II)V
      server method_1254 Lnet/minecraft/class_97;method_1254(II)V
      client a Llg;a(II)V
      named headerClicked Lnet/minecraft/client/gui/widget/EntryListWidget;headerClicked(II)V
    • renderDecorations

      protected void renderDecorations(int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1255 Lnet/minecraft/class_97;method_1255(II)V
      glue method_1398 Lclass_437;method_1398(II)V
      server method_1255 Lnet/minecraft/class_97;method_1255(II)V
      client b Llg;b(II)V
      named renderDecorations Lnet/minecraft/client/gui/widget/EntryListWidget;renderDecorations(II)V
    • getEntryAt

      public int getEntryAt(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1262 Lnet/minecraft/class_97;method_1262(II)I
      glue method_1604 Lclass_437;method_1604(II)I
      server method_1262 Lnet/minecraft/class_97;method_1262(II)I
      client c Llg;c(II)I
      named getEntryAt Lnet/minecraft/client/gui/widget/EntryListWidget;getEntryAt(II)I
    • registerButtons

      public void registerButtons(List buttons, int scrollUp, int scrollDown)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1258 Lnet/minecraft/class_97;method_1258(Ljava/util/List;II)V
      glue method_1600 Lclass_437;method_1600(Ljava/util/List;II)V
      server method_1258 Lnet/minecraft/class_97;method_1258(Ljava/util/List;II)V
      client a Llg;a(Ljava/util/List;II)V
      named registerButtons Lnet/minecraft/client/gui/widget/EntryListWidget;registerButtons(Ljava/util/List;II)V
    • clampScrolling

      private void clampScrolling()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1263 Lnet/minecraft/class_97;method_1263()V
      glue method_1605 Lclass_437;method_1605()V
      server method_1263 Lnet/minecraft/class_97;method_1263()V
      client d Llg;d()V
      named clampScrolling Lnet/minecraft/client/gui/widget/EntryListWidget;clampScrolling()V
    • buttonClicked

      public void buttonClicked(ButtonWidget button)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1259 Lnet/minecraft/class_97;method_1259(Lnet/minecraft/class_33;)V
      glue method_1601 Lclass_437;method_1601(Lclass_389;)V
      server method_1259 Lnet/minecraft/class_97;method_1259(Lnet/minecraft/class_33;)V
      client a Llg;a(Lke;)V
      named buttonClicked Lnet/minecraft/client/gui/widget/EntryListWidget;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
    • render

      public void render(int mouseX, int mouseY, float float2)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1256 Lnet/minecraft/class_97;method_1256(IIF)V
      glue method_1598 Lclass_437;method_1598(IIF)V
      server method_1256 Lnet/minecraft/class_97;method_1256(IIF)V
      client a Llg;a(IIF)V
      named render Lnet/minecraft/client/gui/widget/EntryListWidget;render(IIF)V
    • renderBackground

      private void renderBackground(int int2, int int3, int int4, int int5)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1257 Lnet/minecraft/class_97;method_1257(IIII)V
      glue method_1599 Lclass_437;method_1599(IIII)V
      server method_1257 Lnet/minecraft/class_97;method_1257(IIII)V
      client a Llg;a(IIII)V
      named renderBackground Lnet/minecraft/client/gui/widget/EntryListWidget;renderBackground(IIII)V