类 DeathScreen

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

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

    • DRAFT_REPORT_SPRITE

      private static final ResourceLocation DRAFT_REPORT_SPRITE
    • 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 p_95911_, boolean p_95912_)
  • 方法详细资料

    • 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 p_283488_, int p_283551_, int p_283002_, float p_281981_)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • renderBackground

      public void renderBackground(GuiGraphics p_298829_, int p_300097_, int p_298737_, float p_297685_)
      覆盖:
      renderBackground 在类中 Screen
    • renderDeathBackground

      static void renderDeathBackground(GuiGraphics p_335473_, int p_330553_, int p_333774_)
    • getClickedComponentStyleAt

      @Nullable private Style getClickedComponentStyleAt(int p_95918_)
    • mouseClicked

      public boolean mouseClicked(double p_95914_, double p_95915_, int p_95916_)
    • isPauseScreen

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

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

      private void setButtonsActive(boolean p_273413_)