Class TitleScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class TitleScreen extends Screen
  • Field Details

  • Constructor Details

    • TitleScreen

      public TitleScreen()
    • TitleScreen

      public TitleScreen(boolean p_96733_)
    • TitleScreen

      public TitleScreen(boolean p_265779_, @Nullable LogoRenderer p_265067_)
  • 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_)
    • getMultiplayerDisabledReason

      @Nullable private Component getMultiplayerDisabledReason()
    • 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 Renderable
      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
    • added

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

      private void confirmDemo(boolean p_96778_)