类 DeathScreen

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

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

    • delayTicker

      private int delayTicker
    • causeOfDeath

      private final Component causeOfDeath
    • hardcore

      private final boolean hardcore
    • deathScore

      private Component deathScore
    • exitButtons

      private final List<Button> exitButtons
    • exitToTitleButton

      @Nullable private Button exitToTitleButton
  • 构造器详细资料

    • DeathScreen

      public DeathScreen(@Nullable Component pCauseOfDeath, boolean pHardcore)
  • 方法详细资料

    • init

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

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

      private void handleExitToTitleScreen()
    • exitToTitleScreen

      private void exitToTitleScreen()
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • getClickedComponentStyleAt

      @Nullable private Style getClickedComponentStyleAt(int p_95918_)
    • mouseClicked

      public boolean mouseClicked(double pMouseX, double pMouseY, int pButton)
    • isPauseScreen

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

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

      private void setButtonsActive(boolean pActive)