Class RealmsSettingsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TEXT_FIELD_WIDTH

      private static final int TEXT_FIELD_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named TEXT_FIELD_WIDTH Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;TEXT_FIELD_WIDTH:I
      intermediary field_32124 Lnet/minecraft/class_4422;field_32124:I
      official a Lfdh;a:I
    • 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/RealmsSettingsScreen;WORLD_NAME_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26514 Lnet/minecraft/class_4422;field_26514:Lnet/minecraft/class_2561;
      official b Lfdh;b:Lxp;
    • 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/RealmsSettingsScreen;WORLD_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26515 Lnet/minecraft/class_4422;field_26515:Lnet/minecraft/class_2561;
      official c Lfdh;c:Lxp;
    • parent

      private final RealmsConfigureWorldScreen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
      intermediary field_20096 Lnet/minecraft/class_4422;field_20096:Lnet/minecraft/class_4388;
      official B Lfdh;B:Lfcp;
    • serverData

      private final RealmsServer serverData
      Mappings:
      Namespace Name Mixin selector
      named serverData Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
      intermediary field_20097 Lnet/minecraft/class_4422;field_20097:Lnet/minecraft/class_4877;
      official C Lfdh;C:Lfbg;
    • descEdit

      private TextFieldWidget descEdit
      Mappings:
      Namespace Name Mixin selector
      named descEdit Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;descEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_20100 Lnet/minecraft/class_4422;field_20100:Lnet/minecraft/class_342;
      official D Lfdh;D:Lfho;
    • nameEdit

      private TextFieldWidget nameEdit
      Mappings:
      Namespace Name Mixin selector
      named nameEdit Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_20101 Lnet/minecraft/class_4422;field_20101:Lnet/minecraft/class_342;
      official E Lfdh;E:Lfho;
  • Constructor Details

    • RealmsSettingsScreen

      public RealmsSettingsScreen(RealmsConfigureWorldScreen parent, RealmsServer serverData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsServer;)V
      intermediary <init> Lnet/minecraft/class_4422;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;)V
      official <init> Lfdh;<init>(Lfcp;Lfbg;)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 setInitialFocus() to set the element that is initially focused.

      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 aM_ Lfne;aM_()V
    • setInitialFocus

      protected void setInitialFocus()
      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 aB_ Lfne;aB_()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 d Lfne;d()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 Lfii;a(Lfgs;IIF)V
    • save

      public void save()
      Mappings:
      Namespace Name Mixin selector
      named save Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;save()V
      intermediary method_21454 Lnet/minecraft/class_4422;method_21454()V
      official g Lfdh;g()V