Class RealmsAcceptRejectButton

java.lang.Object
net.minecraft.client.realms.gui.screen.RealmsAcceptRejectButton
Direct Known Subclasses:
RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.AcceptButton, RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry.RejectButton

@Environment(CLIENT) public abstract class RealmsAcceptRejectButton extends Object
Mappings:
Namespace Name
official egl
intermediary net/minecraft/class_4371
named net/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton
  • Field Details

    • width

      public final int width
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a:I
      intermediary field_19690 Lnet/minecraft/class_4371;field_19690:I
      named width Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;width:I
    • height

      public final int height
      Mappings:
      Namespace Name Mixin selector
      official b Legl;b:I
      intermediary field_19691 Lnet/minecraft/class_4371;field_19691:I
      named height Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;height:I
    • x

      public final int x
      Mappings:
      Namespace Name Mixin selector
      official c Legl;c:I
      intermediary field_19692 Lnet/minecraft/class_4371;field_19692:I
      named x Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;x:I
    • y

      public final int y
      Mappings:
      Namespace Name Mixin selector
      official d Legl;d:I
      intermediary field_19693 Lnet/minecraft/class_4371;field_19693:I
      named y Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;y:I
  • Constructor Details

    • RealmsAcceptRejectButton

      public RealmsAcceptRejectButton(int width, int height, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Legl;<init>(IIII)V
      intermediary <init> Lnet/minecraft/class_4371;<init>(IIII)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;<init>(IIII)V
  • Method Details

    • render

      public void render(MatrixStack matrices, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a(Leed;IIII)V
      intermediary method_21111 Lnet/minecraft/class_4371;method_21111(Lnet/minecraft/class_4587;IIII)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/util/math/MatrixStack;IIII)V
    • render

      protected abstract void render(MatrixStack matrices, int x, int y, boolean showTooltip)
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a(Leed;IIZ)V
      intermediary method_21112 Lnet/minecraft/class_4371;method_21112(Lnet/minecraft/class_4587;IIZ)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/util/math/MatrixStack;IIZ)V
    • getRight

      public int getRight()
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a()I
      intermediary method_21109 Lnet/minecraft/class_4371;method_21109()I
      named getRight Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;getRight()I
    • getBottom

      public int getBottom()
      Mappings:
      Namespace Name Mixin selector
      official b Legl;b()I
      intermediary method_21115 Lnet/minecraft/class_4371;method_21115()I
      named getBottom Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;getBottom()I
    • handleClick

      public abstract void handleClick(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a(I)V
      intermediary method_21110 Lnet/minecraft/class_4371;method_21110(I)V
      named handleClick Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;handleClick(I)V
    • render

      public static void render(MatrixStack matrices, List<RealmsAcceptRejectButton> buttons, RealmsObjectSelectionList<?> selectionList, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a(Leed;Ljava/util/List;Lfua;IIII)V
      intermediary method_21113 Lnet/minecraft/class_4371;method_21113(Lnet/minecraft/class_4587;Ljava/util/List;Lnet/minecraft/class_4904;IIII)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;Lnet/minecraft/client/realms/RealmsObjectSelectionList;IIII)V
    • handleClick

      public static void handleClick(RealmsObjectSelectionList<?> selectionList, AlwaysSelectedEntryListWidget.Entry<?> entry, List<RealmsAcceptRejectButton> buttons, int button, double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Legl;a(Lfua;Lelt$a;Ljava/util/List;IDD)V
      intermediary method_21114 Lnet/minecraft/class_4371;method_21114(Lnet/minecraft/class_4904;Lnet/minecraft/class_4280$class_4281;Ljava/util/List;IDD)V
      named handleClick Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;handleClick(Lnet/minecraft/client/realms/RealmsObjectSelectionList;Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;Ljava/util/List;IDD)V