Class TitleScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget

public class TitleScreen extends Screen
  • Field Details

    • LOGGER

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

      private static final String DEMO_LEVEL_ID
      See Also:
      Constant Field Values
    • CUBE_MAP

      public static final CubeMap CUBE_MAP
    • PANORAMA_OVERLAY

      private static final ResourceLocation PANORAMA_OVERLAY
    • ACCESSIBILITY_TEXTURE

      private static final ResourceLocation ACCESSIBILITY_TEXTURE
    • minceraftEasterEgg

      private final boolean minceraftEasterEgg
    • splash

      @Nullable private String splash
    • resetDemoButton

      private Button resetDemoButton
    • MINECRAFT_EDITION

      private static final ResourceLocation MINECRAFT_EDITION
    • realmsNotificationsScreen

      private Screen realmsNotificationsScreen
    • copyrightWidth

      private int copyrightWidth
    • copyrightX

      private int copyrightX
    • panorama

      private final PanoramaRenderer panorama
    • fading

      private final boolean fading
    • fadeInStart

      private long fadeInStart
    • modUpdateNotification

      private NotificationModUpdateScreen modUpdateNotification
  • Constructor Details

    • TitleScreen

      public TitleScreen()
    • TitleScreen

      public TitleScreen(boolean p_96733_)
  • Method Details

    • realmsNotificationsEnabled

      private boolean realmsNotificationsEnabled()
    • tick

      public void tick()
      Overrides:
      tick in class Screen
    • preloadResources

      public static CompletableFuture<Void> preloadResources(TextureManager p_96755_, Executor p_96756_)
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Overrides:
      shouldCloseOnEsc in class Screen
    • init

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

      private void createNormalMenuOptions(int p_96764_, int p_96765_)
    • createDemoMenuOptions

      private void createDemoMenuOptions(int p_96773_, int p_96774_)
    • checkDemoWorldPresence

      private boolean checkDemoWorldPresence()
    • realmsButtonClicked

      private void realmsButtonClicked()
    • render

      public void render(PoseStack p_96739_, int p_96740_, int p_96741_, float p_96742_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class Screen
    • mouseClicked

      public boolean mouseClicked(double p_96735_, double p_96736_, int p_96737_)
    • removed

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

      private void confirmDemo(boolean p_96778_)