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 p_282206_, int p_283415_, int p_282016_, float p_283011_)
      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_282206_ - the GuiGraphics object used for rendering.
      p_283415_ - the x-coordinate of the mouse cursor.
      p_282016_ - the y-coordinate of the mouse cursor.
      p_283011_ - the partial tick time.