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
named net/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton
intermediary net/minecraft/class_4371
official fdk
  • Field Details

    • width

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

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

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

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

    • RealmsAcceptRejectButton

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

    • render

      public void render(DrawContext context, int x, int y, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;render(Lnet/minecraft/client/gui/DrawContext;IIII)V
      intermediary method_21111 Lnet/minecraft/class_4371;method_21111(Lnet/minecraft/class_332;IIII)V
      official a Lfdk;a(Lfht;IIII)V
    • render

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

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

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

      public abstract void handleClick(int index)
      Mappings:
      Namespace Name Mixin selector
      named handleClick Lnet/minecraft/client/realms/gui/screen/RealmsAcceptRejectButton;handleClick(I)V
      intermediary method_21110 Lnet/minecraft/class_4371;method_21110(I)V
      official a Lfdk;a(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
      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
      intermediary method_21113 Lnet/minecraft/class_4371;method_21113(Lnet/minecraft/class_332;Ljava/util/List;Lnet/minecraft/class_4904;IIII)V
      official a Lfdk;a(Lfht;Ljava/util/List;Lgwi;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
      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
      intermediary method_21114 Lnet/minecraft/class_4371;method_21114(Lnet/minecraft/class_4904;Lnet/minecraft/class_4280$class_4281;Ljava/util/List;IDD)V
      official a Lfdk;a(Lgwi;Lfjc$a;Ljava/util/List;IDD)V