Class ScrollableBase

java.lang.Object
net.minecraft.client.gui.widgets.ScrollableBase
Direct Known Subclasses:
SelectWorld.WorldList, Stats.GeneralTab, Stats.StatsItemTabBase, TexturePacks.TexturePackList

@Environment(CLIENT) public abstract class ScrollableBase 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/widgets/ScrollableBase
  • 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/widgets/ScrollableBase;minecraft:Lnet/minecraft/client/Minecraft;
    • x

      private final int x
      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 x Lnet/minecraft/client/gui/widgets/ScrollableBase;x:I
    • y

      private final int y
      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 y Lnet/minecraft/client/gui/widgets/ScrollableBase;y:I
    • width

      protected final int width
      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 width Lnet/minecraft/client/gui/widgets/ScrollableBase;width:I
    • height

      protected final int height
      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 height Lnet/minecraft/client/gui/widgets/ScrollableBase;height:I
    • alsoX

      private final int alsoX
      Mappings:
      Namespace Name Mixin selector
      intermediary field_1531 Lnet/minecraft/class_97;field_1531:I
      glue field_1695 Lclass_437;field_1695:I
      server field_1531 Lnet/minecraft/class_97;field_1531:I
      client d Llg;d:I
      named alsoX Lnet/minecraft/client/gui/widgets/ScrollableBase;alsoX:I
    • field_1532

      private final int field_1532
      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 field_1532 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1532:I
    • entryHeight

      protected final int entryHeight
      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 entryHeight Lnet/minecraft/client/gui/widgets/ScrollableBase;entryHeight:I
    • field_1533

      private int field_1533
      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 field_1533 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1533:I
    • field_1534

      private int field_1534
      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 field_1534 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1534:I
    • field_1538

      private float field_1538
      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 field_1538 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1538:F
    • field_1539

      private float field_1539
      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 field_1539 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1539: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/widgets/ScrollableBase;scrollAmount:F
    • field_1541

      private int field_1541
      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 field_1541 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1541:I
    • field_1542

      private long field_1542
      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 field_1542 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1542:J
    • isDrawingSelectionBackground

      private boolean isDrawingSelectionBackground
      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 isDrawingSelectionBackground Lnet/minecraft/client/gui/widgets/ScrollableBase;isDrawingSelectionBackground:Z
    • field_1544

      private boolean field_1544
      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 field_1544 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1544:Z
    • field_1545

      private int field_1545
      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 field_1545 Lnet/minecraft/client/gui/widgets/ScrollableBase;field_1545:I
  • Constructor Details

    • ScrollableBase

      public ScrollableBase(Minecraft minecraft, int x, int y, int width, int height, int entryHeight)
      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/widgets/ScrollableBase;<init>(Lnet/minecraft/client/Minecraft;IIIII)V
  • Method Details

    • setDrawingSelectionBackground

      public void setDrawingSelectionBackground(boolean value)
      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 setDrawingSelectionBackground Lnet/minecraft/client/gui/widgets/ScrollableBase;setDrawingSelectionBackground(Z)V
    • method_1261

      protected void method_1261(boolean bool, int int2)
      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 method_1261 Lnet/minecraft/client/gui/widgets/ScrollableBase;method_1261(ZI)V
    • getSize

      protected abstract int getSize()
      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 getSize Lnet/minecraft/client/gui/widgets/ScrollableBase;getSize()I
    • entryClicked

      protected abstract void entryClicked(int entryIndex, boolean doLoad)
      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/widgets/ScrollableBase;entryClicked(IZ)V
    • isEntrySelected

      protected abstract boolean isEntrySelected(int entryID)
      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 isEntrySelected Lnet/minecraft/client/gui/widgets/ScrollableBase;isEntrySelected(I)Z
    • getTotalRenderHeight

      protected int getTotalRenderHeight()
      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 getTotalRenderHeight Lnet/minecraft/client/gui/widgets/ScrollableBase;getTotalRenderHeight()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/widgets/ScrollableBase;renderBackground()V
    • renderEntry

      protected abstract void renderEntry(int entryID, int x, int y, int int2, Tessellator tessellator)
      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/widgets/ScrollableBase;renderEntry(IIIILnet/minecraft/client/render/Tessellator;)V
    • renderStatItemSlot

      protected void renderStatItemSlot(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 renderStatItemSlot Lnet/minecraft/client/gui/widgets/ScrollableBase;renderStatItemSlot(IILnet/minecraft/client/render/Tessellator;)V
    • mouseClicked

      protected void mouseClicked(int int2, int int3)
      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 mouseClicked Lnet/minecraft/client/gui/widgets/ScrollableBase;mouseClicked(II)V
    • method_1255

      protected void method_1255(int int2, int int3)
      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 method_1255 Lnet/minecraft/client/gui/widgets/ScrollableBase;method_1255(II)V
    • method_1262

      public int method_1262(int int2, int int3)
      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 method_1262 Lnet/minecraft/client/gui/widgets/ScrollableBase;method_1262(II)I
    • registerButtons

      public void registerButtons(List list, int int2, int int3)
      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/widgets/ScrollableBase;registerButtons(Ljava/util/List;II)V
    • method_1263

      private void method_1263()
      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 method_1263 Lnet/minecraft/client/gui/widgets/ScrollableBase;method_1263()V
    • buttonClicked

      public void buttonClicked(Button 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/widgets/ScrollableBase;buttonClicked(Lnet/minecraft/client/gui/widgets/Button;)V
    • render

      public void render(int mouseX, int mouseY, float delta)
      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/widgets/ScrollableBase;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/widgets/ScrollableBase;renderBackground(IIII)V