Class RealmsCreateRealmScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46706 Lnet/minecraft/class_4390;field_46706:Lnet/minecraft/class_2561;
      official a Lfjt;a:Lxv;
    • WORLD_NAME_TEXT

      private static final Text WORLD_NAME_TEXT
      Mappings:
      Namespace Name Mixin selector
      named WORLD_NAME_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;WORLD_NAME_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26487 Lnet/minecraft/class_4390;field_26487:Lnet/minecraft/class_2561;
      official b Lfjt;b:Lxv;
    • WORLD_DESCRIPTION_TEXT

      private static final Text WORLD_DESCRIPTION_TEXT
      Mappings:
      Namespace Name Mixin selector
      named WORLD_DESCRIPTION_TEXT Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;WORLD_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26488 Lnet/minecraft/class_4390;field_26488:Lnet/minecraft/class_2561;
      official c Lfjt;c:Lxv;
    • field_45243

      private static final int field_45243
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45243 Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;field_45243:I
      intermediary field_45243 Lnet/minecraft/class_4390;field_45243:I
      official C Lfjt;C:I
    • field_45244

      private static final int field_45244
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45244 Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;field_45244:I
      intermediary field_45244 Lnet/minecraft/class_4390;field_45244:I
      official D Lfjt;D:I
    • parent

      private final RealmsMainScreen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
      intermediary field_19830 Lnet/minecraft/class_4390;field_19830:Lnet/minecraft/class_4325;
      official E Lfjt;E:Lfhc;
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_45242 Lnet/minecraft/class_4390;field_45242:Lnet/minecraft/class_8132;
      official F Lfjt;F:Lfrt;
    • nameBox

      private TextFieldWidget nameBox
      Mappings:
      Namespace Name Mixin selector
      named nameBox Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;nameBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_19831 Lnet/minecraft/class_4390;field_19831:Lnet/minecraft/class_342;
      official G Lfjt;G:Lfon;
    • descriptionBox

      private TextFieldWidget descriptionBox
      Mappings:
      Namespace Name Mixin selector
      named descriptionBox Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;descriptionBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_19832 Lnet/minecraft/class_4390;field_19832:Lnet/minecraft/class_342;
      official H Lfjt;H:Lfon;
    • worldCreator

      private final Runnable worldCreator
      Mappings:
      Namespace Name Mixin selector
      named worldCreator Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;worldCreator:Ljava/lang/Runnable;
      intermediary field_46705 Lnet/minecraft/class_4390;field_46705:Ljava/lang/Runnable;
      official I Lfjt;I:Ljava/lang/Runnable;
  • Constructor Details

    • RealmsCreateRealmScreen

      public RealmsCreateRealmScreen(RealmsMainScreen parent, RealmsServer server, boolean prerelease)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;Lnet/minecraft/client/realms/dto/RealmsServer;Z)V
      intermediary <init> Lnet/minecraft/class_4390;<init>(Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;Z)V
      official <init> Lfjt;<init>(Lfhc;Lfii;Z)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
    • 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
    • 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
    • createWorld

      private void createWorld(RealmsServer realmsServer, boolean prerelease)
      Mappings:
      Namespace Name Mixin selector
      named createWorld Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createWorld(Lnet/minecraft/client/realms/dto/RealmsServer;Z)V
      intermediary method_21245 Lnet/minecraft/class_4390;method_21245(Lnet/minecraft/class_4877;Z)V
      official a Lfjt;a(Lfii;Z)V
    • createPrereleaseServer

      private static RealmsServer createPrereleaseServer(RealmsServer parent)
      Mappings:
      Namespace Name Mixin selector
      named createPrereleaseServer Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createPrereleaseServer(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/realms/dto/RealmsServer;
      intermediary method_64357 Lnet/minecraft/class_4390;method_64357(Lnet/minecraft/class_4877;)Lnet/minecraft/class_4877;
      official a Lfjt;a(Lfii;)Lfii;
    • createWorld

      private void createWorld(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      named createWorld Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createWorld(Lnet/minecraft/client/realms/dto/RealmsServer;)V
      intermediary method_64361 Lnet/minecraft/class_4390;method_64361(Lnet/minecraft/class_4877;)V
      official b Lfjt;b(Lfii;)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