Class RealmsSelectFileToUploadScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsSelectFileToUploadScreen extends RealmsScreen
  • Field Details

  • Constructor Details

  • Method Details

    • loadLevelList

      private void loadLevelList()
    • init

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

      public Component getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
    • upload

      private void upload()
    • render

      public void render(GuiGraphics p_281244_, int p_282772_, int p_281746_, float p_281757_)
      Description copied from class: Screen
      Neo: mixins targeting this method won't fire for container screens as AbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float) replicates this method in place of a super call to insert an event
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      p_281244_ - the GuiGraphics object used for rendering.
      p_282772_ - the x-coordinate of the mouse cursor.
      p_281746_ - the y-coordinate of the mouse cursor.
      p_281757_ - the partial tick time.
    • keyPressed

      public boolean keyPressed(int p_89506_, int p_89507_, int p_89508_)
      Description copied from interface: ContainerEventHandler
      Called when a keyboard key is pressed within the GUI element.

      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
      Parameters:
      p_89506_ - the key code of the pressed key.
      p_89507_ - the scan code of the pressed key.
      p_89508_ - the keyboard modifiers.
      Returns:
      true if the event is consumed, false otherwise.
    • gameModeName

      static Component gameModeName(LevelSummary pLevelSummary)
    • formatLastPlayed

      static String formatLastPlayed(LevelSummary pLevelSummary)