Class RealmsInviteScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_19878 Lnet/minecraft/class_4395;field_19878:Lorg/slf4j/Logger;
      official a Lfjw;a:Lorg/slf4j/Logger;
    • INVITE_TEXT

      private static final Text INVITE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INVITE_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_49459 Lnet/minecraft/class_4395;field_49459:Lnet/minecraft/class_2561;
      official b Lfjw;b:Lxv;
    • INVITE_PROFILE_NAME_TEXT

      private static final Text INVITE_PROFILE_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INVITE_PROFILE_NAME_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITE_PROFILE_NAME_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26489 Lnet/minecraft/class_4395;field_26489:Lnet/minecraft/class_2561;
      official c Lfjw;c:Lxv;
    • INVITING_TEXT

      private static final Text INVITING_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INVITING_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;INVITING_TEXT:Lnet/minecraft/text/Text;
      intermediary field_44943 Lnet/minecraft/class_4395;field_44943:Lnet/minecraft/class_2561;
      official C Lfjw;C:Lxv;
    • PLAYER_ERROR_TEXT

      private static final Text PLAYER_ERROR_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PLAYER_ERROR_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;PLAYER_ERROR_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26490 Lnet/minecraft/class_4395;field_26490:Lnet/minecraft/class_2561;
      official D Lfjw;D:Lxv;
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49457 Lnet/minecraft/class_4395;field_49457:Lnet/minecraft/class_8132;
      official E Lfjw;E:Lfrt;
    • nameWidget

      private TextFieldWidget nameWidget
      Mappings:
      Namespace Name Mixin selector
      named nameWidget Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;nameWidget:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_22696 Lnet/minecraft/class_4395;field_22696:Lnet/minecraft/class_342;
      official F Lfjw;F:Lfon;
    • inviteButton

      private ButtonWidget inviteButton
      Mappings:
      Namespace Name Mixin selector
      named inviteButton Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;inviteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_49458 Lnet/minecraft/class_4395;field_49458:Lnet/minecraft/class_4185;
      official G Lfjw;G:Lfoe;
    • serverData

      private final RealmsServer serverData
      Mappings:
      Namespace Name Mixin selector
      named serverData Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
      intermediary field_19880 Lnet/minecraft/class_4395;field_19880:Lnet/minecraft/class_4877;
      official H Lfjw;H:Lfii;
    • configureScreen

      private final RealmsConfigureWorldScreen configureScreen
      Mappings:
      Namespace Name Mixin selector
      named configureScreen Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;configureScreen:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
      intermediary field_19881 Lnet/minecraft/class_4395;field_19881:Lnet/minecraft/class_4388;
      official I Lfjw;I:Lfjr;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_19882 Lnet/minecraft/class_4395;field_19882:Lnet/minecraft/class_437;
      official J Lfjw;J:Lftx;
    • errorMessage

      @Nullable private @Nullable Text errorMessage
      Mappings:
      Namespace Name Mixin selector
      named errorMessage Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;errorMessage:Lnet/minecraft/text/Text;
      intermediary field_19887 Lnet/minecraft/class_4395;field_19887:Lnet/minecraft/class_2561;
      official K Lfjw;K:Lxv;
  • Constructor Details

    • RealmsInviteScreen

      public RealmsInviteScreen(RealmsConfigureWorldScreen configureScreen, Screen parent, RealmsServer serverData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;)V
      intermediary <init> Lnet/minecraft/class_4395;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_437;Lnet/minecraft/class_4877;)V
      official <init> Lfjw;<init>(Lfjr;Lftx;Lfii;)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.

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

      protected void refreshWidgetPositions()
      Overrides:
      refreshWidgetPositions in class Screen
      Mappings:
      Namespace Name Mixin selector
      named refreshWidgetPositions Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lftx;c()V
    • setInitialFocus

      protected void setInitialFocus()
      This should be overridden with a call to Screen.setInitialFocus(Element) to set the element that is initially focused.
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aG_ Lftx;aG_()V
    • onInvite

      private void onInvite()
      Mappings:
      Namespace Name Mixin selector
      named onInvite Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;onInvite()V
      intermediary method_21284 Lnet/minecraft/class_4395;method_21284()V
      official E Lfjw;E()V
    • showError

      private void showError(Text errorMessage)
      Mappings:
      Namespace Name Mixin selector
      named showError Lnet/minecraft/client/realms/gui/screen/RealmsInviteScreen;showError(Lnet/minecraft/text/Text;)V
      intermediary method_21286 Lnet/minecraft/class_4395;method_21286(Lnet/minecraft/class_2561;)V
      official a Lfjw;a(Lxv;)V
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aP_ Lftx;aP_()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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V