Class TitleScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class TitleScreen extends Screen
Mappings:
Namespace Name
official eeb
intermediary net/minecraft/class_442
named net/minecraft/client/gui/screen/TitleScreen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Leeb;c:Lorg/slf4j/Logger;
      intermediary field_23775 Lnet/minecraft/class_442;field_23775:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/TitleScreen;LOGGER:Lorg/slf4j/Logger;
    • DEMO_WORLD_NAME

      private static final String DEMO_WORLD_NAME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Leeb;n:Ljava/lang/String;
      intermediary field_32272 Lnet/minecraft/class_442;field_32272:Ljava/lang/String;
      named DEMO_WORLD_NAME Lnet/minecraft/client/gui/screen/TitleScreen;DEMO_WORLD_NAME:Ljava/lang/String;
    • PANORAMA_CUBE_MAP

      public static final CubeMapRenderer PANORAMA_CUBE_MAP
      Mappings:
      Namespace Name Mixin selector
      official b Leeb;b:Leqg;
      intermediary field_17774 Lnet/minecraft/class_442;field_17774:Lnet/minecraft/class_751;
      named PANORAMA_CUBE_MAP Lnet/minecraft/client/gui/screen/TitleScreen;PANORAMA_CUBE_MAP:Lnet/minecraft/client/gui/CubeMapRenderer;
    • PANORAMA_OVERLAY

      private static final Identifier PANORAMA_OVERLAY
      Mappings:
      Namespace Name Mixin selector
      official o Leeb;o:Lyt;
      intermediary field_17775 Lnet/minecraft/class_442;field_17775:Lnet/minecraft/class_2960;
      named PANORAMA_OVERLAY Lnet/minecraft/client/gui/screen/TitleScreen;PANORAMA_OVERLAY:Lnet/minecraft/util/Identifier;
    • ACCESSIBILITY_ICON_TEXTURE

      private static final Identifier ACCESSIBILITY_ICON_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official p Leeb;p:Lyt;
      intermediary field_19102 Lnet/minecraft/class_442;field_19102:Lnet/minecraft/class_2960;
      named ACCESSIBILITY_ICON_TEXTURE Lnet/minecraft/client/gui/screen/TitleScreen;ACCESSIBILITY_ICON_TEXTURE:Lnet/minecraft/util/Identifier;
    • MINECRAFT_TITLE_TEXTURE

      private static final Identifier MINECRAFT_TITLE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official t Leeb;t:Lyt;
      intermediary field_2583 Lnet/minecraft/class_442;field_2583:Lnet/minecraft/class_2960;
      named MINECRAFT_TITLE_TEXTURE Lnet/minecraft/client/gui/screen/TitleScreen;MINECRAFT_TITLE_TEXTURE:Lnet/minecraft/util/Identifier;
    • EDITION_TITLE_TEXTURE

      private static final Identifier EDITION_TITLE_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official u Leeb;u:Lyt;
      intermediary field_2594 Lnet/minecraft/class_442;field_2594:Lnet/minecraft/class_2960;
      named EDITION_TITLE_TEXTURE Lnet/minecraft/client/gui/screen/TitleScreen;EDITION_TITLE_TEXTURE:Lnet/minecraft/util/Identifier;
    • isMinceraft

      private final boolean isMinceraft
      Mappings:
      Namespace Name Mixin selector
      official q Leeb;q:Z
      intermediary field_17776 Lnet/minecraft/class_442;field_17776:Z
      named isMinceraft Lnet/minecraft/client/gui/screen/TitleScreen;isMinceraft:Z
    • splashText

      @Nullable private @Nullable String splashText
      Mappings:
      Namespace Name Mixin selector
      official r Leeb;r:Ljava/lang/String;
      intermediary field_2586 Lnet/minecraft/class_442;field_2586:Ljava/lang/String;
      named splashText Lnet/minecraft/client/gui/screen/TitleScreen;splashText:Ljava/lang/String;
    • buttonResetDemo

      private ButtonWidget buttonResetDemo
      Mappings:
      Namespace Name Mixin selector
      official s Leeb;s:Leae;
      intermediary field_2590 Lnet/minecraft/class_442;field_2590:Lnet/minecraft/class_4185;
      named buttonResetDemo Lnet/minecraft/client/gui/screen/TitleScreen;buttonResetDemo:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • realmsNotificationGui

      private Screen realmsNotificationGui
      Mappings:
      Namespace Name Mixin selector
      official v Leeb;v:Ledw;
      intermediary field_2592 Lnet/minecraft/class_442;field_2592:Lnet/minecraft/class_437;
      named realmsNotificationGui Lnet/minecraft/client/gui/screen/TitleScreen;realmsNotificationGui:Lnet/minecraft/client/gui/screen/Screen;
    • backgroundRenderer

      private final RotatingCubeMapRenderer backgroundRenderer
      Mappings:
      Namespace Name Mixin selector
      official w Leeb;w:Lequ;
      intermediary field_2585 Lnet/minecraft/class_442;field_2585:Lnet/minecraft/class_766;
      named backgroundRenderer Lnet/minecraft/client/gui/screen/TitleScreen;backgroundRenderer:Lnet/minecraft/client/gui/RotatingCubeMapRenderer;
    • doBackgroundFade

      private final boolean doBackgroundFade
      Mappings:
      Namespace Name Mixin selector
      official x Leeb;x:Z
      intermediary field_18222 Lnet/minecraft/class_442;field_18222:Z
      named doBackgroundFade Lnet/minecraft/client/gui/screen/TitleScreen;doBackgroundFade:Z
    • backgroundFadeStart

      private long backgroundFadeStart
      Mappings:
      Namespace Name Mixin selector
      official y Leeb;y:J
      intermediary field_17772 Lnet/minecraft/class_442;field_17772:J
      named backgroundFadeStart Lnet/minecraft/client/gui/screen/TitleScreen;backgroundFadeStart:J
    • deprecationNotice

      Mappings:
      Namespace Name Mixin selector
      official z Leeb;z:Leeb$a;
      intermediary field_37209 Lnet/minecraft/class_442;field_37209:Lnet/minecraft/class_442$class_7063;
      named deprecationNotice Lnet/minecraft/client/gui/screen/TitleScreen;deprecationNotice:Lnet/minecraft/client/gui/screen/TitleScreen$DeprecationNotice;
    • realms

      private RealmsClient realms
      Mappings:
      Namespace Name Mixin selector
      official A Leeb;A:Ldub;
      intermediary field_37210 Lnet/minecraft/class_442;field_37210:Lnet/minecraft/class_4341;
      named realms Lnet/minecraft/client/gui/screen/TitleScreen;realms:Lnet/minecraft/client/realms/RealmsClient;
    • displayedRealms32BitWarning

      private boolean displayedRealms32BitWarning
      Mappings:
      Namespace Name Mixin selector
      official B Leeb;B:Z
      intermediary field_37211 Lnet/minecraft/class_442;field_37211:Z
      named displayedRealms32BitWarning Lnet/minecraft/client/gui/screen/TitleScreen;displayedRealms32BitWarning:Z
  • Constructor Details

    • TitleScreen

      public TitleScreen()
    • TitleScreen

      public TitleScreen(boolean doBackgroundFade)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leeb;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_442;<init>(Z)V
      named <init> Lnet/minecraft/client/gui/screen/TitleScreen;<init>(Z)V
  • Method Details

    • areRealmsNotificationsEnabled

      private boolean areRealmsNotificationsEnabled()
      Mappings:
      Namespace Name Mixin selector
      official h Leeb;h()Z
      intermediary method_2253 Lnet/minecraft/class_442;method_2253()Z
      named areRealmsNotificationsEnabled Lnet/minecraft/client/gui/screen/TitleScreen;areRealmsNotificationsEnabled()Z
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      official d Ledw;d()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • tryShowRealms32BitWarning

      private void tryShowRealms32BitWarning()
      Mappings:
      Namespace Name Mixin selector
      official v Leeb;v()V
      intermediary method_41158 Lnet/minecraft/class_442;method_41158()V
      named tryShowRealms32BitWarning Lnet/minecraft/client/gui/screen/TitleScreen;tryShowRealms32BitWarning()V
    • loadTexturesAsync

      public static CompletableFuture<Void> loadTexturesAsync(TextureManager textureManager, Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Leeb;a(Lfaz;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_18105 Lnet/minecraft/class_442;method_18105(Lnet/minecraft/class_1060;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
      named loadTexturesAsync Lnet/minecraft/client/gui/screen/TitleScreen;loadTexturesAsync(Lnet/minecraft/client/texture/TextureManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
    • shouldPause

      public boolean shouldPause()
      Overrides:
      shouldPause in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aj_ Ledw;aj_()Z
      intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
      named shouldPause Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ah_ Ledw;ah_()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
    • init

      protected 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
      official b Ledw;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • fetchRealmsSubscribed

      private boolean fetchRealmsSubscribed()
      Mappings:
      Namespace Name Mixin selector
      official w Leeb;w()Z
      intermediary method_41159 Lnet/minecraft/class_442;method_41159()Z
      named fetchRealmsSubscribed Lnet/minecraft/client/gui/screen/TitleScreen;fetchRealmsSubscribed()Z
    • initWidgetsNormal

      private void initWidgetsNormal(int y, int spacingY)
      Mappings:
      Namespace Name Mixin selector
      official a Leeb;a(II)V
      intermediary method_2249 Lnet/minecraft/class_442;method_2249(II)V
      named initWidgetsNormal Lnet/minecraft/client/gui/screen/TitleScreen;initWidgetsNormal(II)V
    • initWidgetsDemo

      private void initWidgetsDemo(int y, int spacingY)
      Mappings:
      Namespace Name Mixin selector
      official b Leeb;b(II)V
      intermediary method_2251 Lnet/minecraft/class_442;method_2251(II)V
      named initWidgetsDemo Lnet/minecraft/client/gui/screen/TitleScreen;initWidgetsDemo(II)V
    • canReadDemoWorldData

      private boolean canReadDemoWorldData()
      Mappings:
      Namespace Name Mixin selector
      official x Leeb;x()Z
      intermediary method_31129 Lnet/minecraft/class_442;method_31129()Z
      named canReadDemoWorldData Lnet/minecraft/client/gui/screen/TitleScreen;canReadDemoWorldData()Z
    • switchToRealms

      private void switchToRealms()
      Mappings:
      Namespace Name Mixin selector
      official y Leeb;y()V
      intermediary method_2252 Lnet/minecraft/class_442;method_2252()V
      named switchToRealms Lnet/minecraft/client/gui/screen/TitleScreen;switchToRealms()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leba;a(Ldtm;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lebd;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      official e Ledw;e()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • onDemoDeletionConfirmed

      private void onDemoDeletionConfirmed(boolean delete)
      Mappings:
      Namespace Name Mixin selector
      official c Leeb;c(Z)V
      intermediary method_20375 Lnet/minecraft/class_442;method_20375(Z)V
      named onDemoDeletionConfirmed Lnet/minecraft/client/gui/screen/TitleScreen;onDemoDeletionConfirmed(Z)V