Class RealmsInviteScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsInviteScreen extends RealmsScreen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • TITLE

      private static final Component TITLE
    • NAME_LABEL

      private static final Component NAME_LABEL
    • INVITING_PLAYER_TEXT

      private static final Component INVITING_PLAYER_TEXT
    • NO_SUCH_PLAYER_ERROR_TEXT

      private static final Component NO_SUCH_PLAYER_ERROR_TEXT
    • layout

      private final HeaderAndFooterLayout layout
    • profileName

      private EditBox profileName
    • inviteButton

      private Button inviteButton
    • serverData

      private final RealmsServer serverData
    • configureScreen

      private final RealmsConfigureWorldScreen configureScreen
    • lastScreen

      private final Screen lastScreen
    • message

      @Nullable private Component message
  • Constructor Details

  • Method Details

    • init

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

      protected void repositionElements()
      Overrides:
      repositionElements in class Screen
    • setInitialFocus

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class Screen
    • onInvite

      private void onInvite()
    • showMessage

      private void showMessage(Component pMessage)
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • 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.