Class PauseScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class PauseScreen extends Screen
  • Field Details

    • DRAFT_REPORT_SPRITE

      private static final ResourceLocation DRAFT_REPORT_SPRITE
    • COLUMNS

      private static final int COLUMNS
      See Also:
    • BUTTON_PADDING

      private static final int BUTTON_PADDING
      See Also:
    • BUTTON_WIDTH_FULL

      private static final int BUTTON_WIDTH_FULL
      See Also:
    • BUTTON_WIDTH_HALF

      private static final int BUTTON_WIDTH_HALF
      See Also:
    • RETURN_TO_GAME

      private static final Component RETURN_TO_GAME
    • ADVANCEMENTS

      private static final Component ADVANCEMENTS
    • STATS

      private static final Component STATS
    • SEND_FEEDBACK

      private static final Component SEND_FEEDBACK
    • REPORT_BUGS

      private static final Component REPORT_BUGS
    • FEEDBACK_SUBSCREEN

      private static final Component FEEDBACK_SUBSCREEN
    • OPTIONS

      private static final Component OPTIONS
    • SHARE_TO_LAN

      private static final Component SHARE_TO_LAN
    • PLAYER_REPORTING

      private static final Component PLAYER_REPORTING
    • RETURN_TO_MENU

      private static final Component RETURN_TO_MENU
    • SAVING_LEVEL

      private static final Component SAVING_LEVEL
    • GAME

      private static final Component GAME
    • PAUSED

      private static final Component PAUSED
    • showPauseMenu

      private final boolean showPauseMenu
    • disconnectButton

      @Nullable private Button disconnectButton
  • Constructor Details

    • PauseScreen

      public PauseScreen(boolean p_96308_)
  • Method Details

    • showsPauseMenu

      public boolean showsPauseMenu()
    • init

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

      private void createPauseMenu()
    • addFeedbackButtons

      static void addFeedbackButtons(Screen p_342955_, GridLayout.RowHelper p_344682_)
    • onDisconnect

      private void onDisconnect()
    • tick

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

      public void render(GuiGraphics p_281899_, int p_281431_, int p_283183_, float p_281435_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • renderBackground

      public void renderBackground(GuiGraphics p_299656_, int p_297892_, int p_299995_, float p_300532_)
      Overrides:
      renderBackground in class Screen
    • openScreenButton

      private Button openScreenButton(Component p_262567_, Supplier<Screen> p_262581_)
    • openLinkButton

      private static Button openLinkButton(Screen p_343161_, Component p_262593_, URI p_343969_)