Class ListButton

java.lang.Object
com.mojang.realmsclient.gui.ListButton
Direct Known Subclasses:
RealmsPendingInvitesScreen.InvitationEntry.AcceptButton, RealmsPendingInvitesScreen.InvitationEntry.RejectButton

public abstract class ListButton extends Object
  • Field Details

    • width

      public final int width
    • height

      public final int height
    • xOffset

      public final int xOffset
    • yOffset

      public final int yOffset
  • Constructor Details

    • ListButton

      public ListButton(int p_i51779_1_, int p_i51779_2_, int p_i51779_3_, int p_i51779_4_)
  • Method Details

    • drawForRowAt

      public void drawForRowAt(MatrixStack p_237726_1_, int p_237726_2_, int p_237726_3_, int p_237726_4_, int p_237726_5_)
    • draw

      protected abstract void draw(MatrixStack p_230435_1_, int p_230435_2_, int p_230435_3_, boolean p_230435_4_)
    • getRight

      public int getRight()
    • getBottom

      public int getBottom()
    • onClick

      public abstract void onClick(int p_225121_1_)
    • drawButtonsInRow

      public static void drawButtonsInRow(MatrixStack p_237727_0_, List<ListButton> p_237727_1_, RealmsObjectSelectionList<?> p_237727_2_, int p_237727_3_, int p_237727_4_, int p_237727_5_, int p_237727_6_)
    • rowButtonMouseClicked

      public static void rowButtonMouseClicked(RealmsObjectSelectionList<?> p_237728_0_, ExtendedList.AbstractListEntry<?> p_237728_1_, List<ListButton> p_237728_2_, int p_237728_3_, double p_237728_4_, double p_237728_6_)