Class MainMenuScreen

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • ACCESSIBILITY_TEXTURE

        private static final ResourceLocation ACCESSIBILITY_TEXTURE
      • minceraftEasterEgg

        private final boolean minceraftEasterEgg
      • splash

        @Nullable
        private java.lang.String splash
      • resetDemoButton

        private Button resetDemoButton
      • realmsNotificationsInitialized

        private boolean realmsNotificationsInitialized
      • realmsNotificationsScreen

        private Screen realmsNotificationsScreen
      • copyrightWidth

        private int copyrightWidth
      • copyrightX

        private int copyrightX
      • fading

        private final boolean fading
      • fadeInStart

        private long fadeInStart
    • Constructor Detail

      • MainMenuScreen

        public MainMenuScreen()
      • MainMenuScreen

        public MainMenuScreen​(boolean p_i51107_1_)
    • Method Detail

      • realmsNotificationsEnabled

        private boolean realmsNotificationsEnabled()
      • preloadResources

        public static java.util.concurrent.CompletableFuture<java.lang.Void> preloadResources​(TextureManager p_213097_0_,
                                                                                              java.util.concurrent.Executor p_213097_1_)
      • init

        protected void init()
        Overrides:
        init in class Screen
      • createNormalMenuOptions

        private void createNormalMenuOptions​(int p_73969_1_,
                                             int p_73969_2_)
      • createDemoMenuOptions

        private void createDemoMenuOptions​(int p_73972_1_,
                                           int p_73972_2_)
      • checkDemoWorldPresence

        private boolean checkDemoWorldPresence()
      • realmsButtonClicked

        private void realmsButtonClicked()
      • mouseClicked

        public boolean mouseClicked​(double p_231044_1_,
                                    double p_231044_3_,
                                    int p_231044_5_)
      • removed

        public void removed()
        Overrides:
        removed in class Screen
      • confirmDemo

        private void confirmDemo​(boolean p_213087_1_)