Class RealmsBackupScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsBackupScreen extends RealmsScreen
  • Field Details

  • Constructor Details

  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
    • generateChangeList

      void generateChangeList()
    • addToChangeList

      private void addToChangeList(Backup p_88147_, String p_88148_)
    • updateButtonStates

      void updateButtonStates()
    • shouldChangesButtonBeVisible

      private boolean shouldChangesButtonBeVisible()
    • shouldRestoreButtonBeVisible

      private boolean shouldRestoreButtonBeVisible()
    • keyPressed

      public boolean keyPressed(int p_88133_, int p_88134_, int p_88135_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • restoreClicked

      void restoreClicked(int p_88167_)
    • downloadClicked

      private void downloadClicked()
    • downloadWorldData

      private void downloadWorldData()
    • restore

      private void restore()
    • render

      public void render(PoseStack p_88137_, int p_88138_, int p_88139_, float p_88140_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • renderMousehoverTooltip

      protected void renderMousehoverTooltip(PoseStack p_88142_, @Nullable Component p_88143_, int p_88144_, int p_88145_)