Class RealmsPlayerScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsPlayerScreen extends RealmsScreen
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • OPTIONS_BACKGROUND

      private static final ResourceLocation OPTIONS_BACKGROUND
    • QUESTION_TITLE

      private static final Component QUESTION_TITLE
    • NORMAL_USER_TOOLTIP

      static final Component NORMAL_USER_TOOLTIP
    • OP_TOOLTIP

      static final Component OP_TOOLTIP
    • REMOVE_ENTRY_TOOLTIP

      static final Component REMOVE_ENTRY_TOOLTIP
    • NO_ENTRY_SELECTED

      private static final int NO_ENTRY_SELECTED
      See Also:
    • lastScreen

      private final RealmsConfigureWorldScreen lastScreen
    • serverData

      final RealmsServer serverData
    • invitedObjectSelectionList

    • column1X

      int column1X
    • columnWidth

      int columnWidth
    • removeButton

      private Button removeButton
    • opdeopButton

      private Button opdeopButton
    • playerIndex

      int playerIndex
    • stateChanged

      private boolean stateChanged
  • Constructor Details

  • Method Details

    • init

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

      void updateButtonStates()
    • shouldRemoveAndOpdeopButtonBeVisible

      private boolean shouldRemoveAndOpdeopButtonBeVisible(int p_89191_)
    • keyPressed

      public boolean keyPressed(int p_89094_, int p_89095_, int p_89096_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • backButtonClicked

      private void backButtonClicked()
    • op

      void op(int p_89193_)
    • deop

      void deop(int p_89195_)
    • updateOps

      private void updateOps(Ops p_89108_)
    • uninvite

      void uninvite(int p_89197_)
    • render

      public void render(GuiGraphics p_281762_, int p_282648_, int p_282676_, float p_281822_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen