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 fjk
  • 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 Lfjk;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 Lfjk;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 Lfjk;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 Lfjk;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> Lfjk;<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 Lfjk;a(Lfnr;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 Lfjk;a(Lfnr;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 Lfjk;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 Lfjk;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 Lfjk;a(I)V
    • render

      public static void render(DrawContext context, List<RealmsAcceptRejectButton> buttons, EntryListWidget<?> 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/gui/widget/EntryListWidget;IIII)V
      intermediary method_21113 Lnet/minecraft/class_4371;method_21113(Lnet/minecraft/class_332;Ljava/util/List;Lnet/minecraft/class_350;IIII)V
      official a Lfjk;a(Lfnr;Ljava/util/List;Lfnz;IIII)V
    • handleClick

      public static void handleClick(EntryListWidget<?> 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/gui/widget/EntryListWidget;Lnet/minecraft/client/gui/widget/AlwaysSelectedEntryListWidget$Entry;Ljava/util/List;IDD)V
      intermediary method_21114 Lnet/minecraft/class_4371;method_21114(Lnet/minecraft/class_350;Lnet/minecraft/class_4280$class_4281;Ljava/util/List;IDD)V
      official a Lfjk;a(Lfnz;Lfpb$a;Ljava/util/List;IDD)V