Class RealmsPendingInvitesScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsPendingInvitesScreen extends RealmsScreen
  • Field Details

  • Constructor Details

    • RealmsPendingInvitesScreen

      public RealmsPendingInvitesScreen(Screen pLastScreen, Component pTitle)
  • Method Details

    • init

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

      public void onClose()
      Overrides:
      onClose in class Screen
    • handleInvitation

      void handleInvitation(int pIndex, boolean pShouldAccept)
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      pGuiGraphics - the GuiGraphics object used for rendering.
      pMouseX - the x-coordinate of the mouse cursor.
      pMouseY - the y-coordinate of the mouse cursor.
      pPartialTick - the partial tick time.
    • updateButtonStates

      void updateButtonStates()
    • shouldAcceptAndRejectButtonBeVisible

      private boolean shouldAcceptAndRejectButtonBeVisible(int pSelectedInvite)