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 p_289685_)
    • onClose

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

      public void render(GuiGraphics p_282206_, int p_283415_, int p_282016_, float p_283011_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen