Class RealmsPendingInvitesScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsPendingInvitesScreen extends RealmsScreen
Mappings:
Namespace Name
official eoq
intermediary net/minecraft/class_4401
named net/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen
  • Field Details

    • ACCEPT_HIGHLIGHTED_ICON_TEXTURE

      static final Identifier ACCEPT_HIGHLIGHTED_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Leoq;a:Laew;
      intermediary field_45250 Lnet/minecraft/class_4401;field_45250:Lnet/minecraft/class_2960;
      named ACCEPT_HIGHLIGHTED_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • ACCEPT_ICON_TEXTURE

      static final Identifier ACCEPT_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official b Leoq;b:Laew;
      intermediary field_22702 Lnet/minecraft/class_4401;field_22702:Lnet/minecraft/class_2960;
      named ACCEPT_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • REJECT_HIGHLIGHTED_ICON_TEXTURE

      static final Identifier REJECT_HIGHLIGHTED_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official c Leoq;c:Laew;
      intermediary field_45251 Lnet/minecraft/class_4401;field_45251:Lnet/minecraft/class_2960;
      named REJECT_HIGHLIGHTED_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_HIGHLIGHTED_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • REJECT_ICON_TEXTURE

      static final Identifier REJECT_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official y Leoq;y:Laew;
      intermediary field_22703 Lnet/minecraft/class_4401;field_22703:Lnet/minecraft/class_2960;
      named REJECT_ICON_TEXTURE Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official z Leoq;z:Lorg/slf4j/Logger;
      intermediary field_19935 Lnet/minecraft/class_4401;field_19935:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;LOGGER:Lorg/slf4j/Logger;
    • NO_PENDING_TEXT

      private static final Text NO_PENDING_TEXT
      Mappings:
      Namespace Name Mixin selector
      official A Leoq;A:Ltl;
      intermediary field_26493 Lnet/minecraft/class_4401;field_26493:Lnet/minecraft/class_2561;
      named NO_PENDING_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;NO_PENDING_TEXT:Lnet/minecraft/text/Text;
    • ACCEPT_TEXT

      static final Text ACCEPT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official B Leoq;B:Ltl;
      intermediary field_26494 Lnet/minecraft/class_4401;field_26494:Lnet/minecraft/class_2561;
      named ACCEPT_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;ACCEPT_TEXT:Lnet/minecraft/text/Text;
    • REJECT_TEXT

      static final Text REJECT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official C Leoq;C:Ltl;
      intermediary field_26495 Lnet/minecraft/class_4401;field_26495:Lnet/minecraft/class_2561;
      named REJECT_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;REJECT_TEXT:Lnet/minecraft/text/Text;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official D Leoq;D:Leyk;
      intermediary field_19936 Lnet/minecraft/class_4401;field_19936:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • pendingInvites

      private final CompletableFuture<List<PendingInvite>> pendingInvites
      Mappings:
      Namespace Name Mixin selector
      official E Leoq;E:Ljava/util/concurrent/CompletableFuture;
      intermediary field_45249 Lnet/minecraft/class_4401;field_45249:Ljava/util/concurrent/CompletableFuture;
      named pendingInvites Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;pendingInvites:Ljava/util/concurrent/CompletableFuture;
    • tooltip

      @Nullable @Nullable Text tooltip
      Mappings:
      Namespace Name Mixin selector
      official F Leoq;F:Ltl;
      intermediary field_19937 Lnet/minecraft/class_4401;field_19937:Lnet/minecraft/class_2561;
      named tooltip Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;tooltip:Lnet/minecraft/text/Text;
    • pendingInvitationSelectionList

      Mappings:
      Namespace Name Mixin selector
      official G Leoq;G:Leoq$b;
      intermediary field_19939 Lnet/minecraft/class_4401;field_19939:Lnet/minecraft/class_4401$class_4402;
      named pendingInvitationSelectionList Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;pendingInvitationSelectionList:Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen$PendingInvitationSelectionList;
    • selectedInvite

      int selectedInvite
      Mappings:
      Namespace Name Mixin selector
      official H Leoq;H:I
      intermediary field_19941 Lnet/minecraft/class_4401;field_19941:I
      named selectedInvite Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;selectedInvite:I
    • acceptButton

      private ButtonWidget acceptButton
      Mappings:
      Namespace Name Mixin selector
      official I Leoq;I:Lesq;
      intermediary field_19942 Lnet/minecraft/class_4401;field_19942:Lnet/minecraft/class_4185;
      named acceptButton Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;acceptButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • rejectButton

      private ButtonWidget rejectButton
      Mappings:
      Namespace Name Mixin selector
      official J Leoq;J:Lesq;
      intermediary field_19943 Lnet/minecraft/class_4401;field_19943:Lnet/minecraft/class_4185;
      named rejectButton Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;rejectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
  • Constructor Details

    • RealmsPendingInvitesScreen

      public RealmsPendingInvitesScreen(Screen parent, Text title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leoq;<init>(Leyk;Ltl;)V
      intermediary <init> Lnet/minecraft/class_4401;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;)V
  • Method Details

    • init

      public void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official az_ Leyk;az_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • handle

      void handle(int index, boolean accepted)
      Mappings:
      Namespace Name Mixin selector
      official a Leoq;a(IZ)V
      intermediary method_52672 Lnet/minecraft/class_4401;method_52672(IZ)V
      named handle Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;handle(IZ)V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lets;a(Lesf;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • updateButtonStates

      void updateButtonStates()
      Mappings:
      Namespace Name Mixin selector
      official D Leoq;D()V
      intermediary method_21307 Lnet/minecraft/class_4401;method_21307()V
      named updateButtonStates Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;updateButtonStates()V
    • shouldAcceptAndRejectButtonBeVisible

      private boolean shouldAcceptAndRejectButtonBeVisible(int invite)
      Mappings:
      Namespace Name Mixin selector
      official a Leoq;a(I)Z
      intermediary method_21314 Lnet/minecraft/class_4401;method_21314(I)Z
      named shouldAcceptAndRejectButtonBeVisible Lnet/minecraft/client/realms/gui/screen/RealmsPendingInvitesScreen;shouldAcceptAndRejectButtonBeVisible(I)Z