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 ekg
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 Lekg;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 Lekg;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 Lekg;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 Lekg;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> Lekg;<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(DrawContext context, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lekg;a(Leoj;IIII)V
      intermediary method_21111 Lnet/minecraft/class_4371;method_21111(Lnet/minecraft/class_332;IIII)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/gui/DrawContext;IIII)V
    • render

      protected abstract void render(DrawContext context, int x, int y, boolean showTooltip)
      Mappings:
      Namespace Name Mixin selector
      official a Lekg;a(Leoj;IIZ)V
      intermediary method_21112 Lnet/minecraft/class_4371;method_21112(Lnet/minecraft/class_332;IIZ)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/gui/DrawContext;IIZ)V
    • getRight

      public int getRight()
      Mappings:
      Namespace Name Mixin selector
      official a Lekg;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 Lekg;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 Lekg;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(DrawContext context, List<RealmsAcceptRejectButton> buttons, RealmsObjectSelectionList<?> selectionList, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lekg;a(Leoj;Ljava/util/List;Lfzv;IIII)V
      intermediary method_21113 Lnet/minecraft/class_4371;method_21113(Lnet/minecraft/class_332;Ljava/util/List;Lnet/minecraft/class_4904;IIII)V
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/gui/DrawContext;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 Lekg;a(Lfzv;Lepn$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