类 TitleScreen

所有已实现的接口:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class TitleScreen extends Screen
  • 字段详细资料

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • TITLE

      private static final Component TITLE
    • DEMO_LEVEL_ID

      private static final String DEMO_LEVEL_ID
      另请参阅:
    • FADE_IN_TIME

      private static final float FADE_IN_TIME
      另请参阅:
    • splash

      @Nullable private SplashRenderer splash
    • resetDemoButton

      private Button resetDemoButton
    • realmsNotificationsScreen

      @Nullable private RealmsNotificationsScreen realmsNotificationsScreen
    • panoramaFade

      private float panoramaFade
    • fading

      private boolean fading
    • fadeInStart

      private long fadeInStart
    • logoRenderer

      private final LogoRenderer logoRenderer
    • modUpdateNotification

      private TitleScreenModUpdateIndicator modUpdateNotification
  • 构造器详细资料

    • TitleScreen

      public TitleScreen()
    • TitleScreen

      public TitleScreen(boolean p_96733_)
    • TitleScreen

      public TitleScreen(boolean p_265779_, @Nullable LogoRenderer p_265067_)
  • 方法详细资料

    • realmsNotificationsEnabled

      private boolean realmsNotificationsEnabled()
    • tick

      public void tick()
      覆盖:
      tick 在类中 Screen
    • registerTextures

      public static void registerTextures(TextureManager p_378459_)
    • isPauseScreen

      public boolean isPauseScreen()
      覆盖:
      isPauseScreen 在类中 Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      覆盖:
      shouldCloseOnEsc 在类中 Screen
    • init

      protected void init()
      覆盖:
      init 在类中 Screen
    • createTestWorldButton

      private int createTestWorldButton(int p_368793_, int p_361481_)
    • createNormalMenuOptions

      private int createNormalMenuOptions(int p_96764_, int p_96765_)
    • getMultiplayerDisabledReason

      @Nullable private Component getMultiplayerDisabledReason()
    • createDemoMenuOptions

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

      private boolean checkDemoWorldPresence()
    • render

      public void render(GuiGraphics p_282860_, int p_281753_, int p_283539_, float p_282628_)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • fadeWidgets

      private void fadeWidgets(float p_335005_)
    • renderBackground

      public void renderBackground(GuiGraphics p_301363_, int p_300303_, int p_299762_, float p_300311_)
      覆盖:
      renderBackground 在类中 Screen
    • renderPanorama

      protected void renderPanorama(GuiGraphics p_335595_, float p_331154_)
      覆盖:
      renderPanorama 在类中 Screen
    • mouseClicked

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

      public void removed()
      覆盖:
      removed 在类中 Screen
    • added

      public void added()
      覆盖:
      added 在类中 Screen
    • confirmDemo

      private void confirmDemo(boolean p_96778_)