类 RealmsPendingInvitesScreen

所有已实现的接口:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class RealmsPendingInvitesScreen extends RealmsScreen
  • 字段详细资料

    • LOGGER

      static final org.slf4j.Logger LOGGER
    • ACCEPT_ICON_LOCATION

      static final ResourceLocation ACCEPT_ICON_LOCATION
    • REJECT_ICON_LOCATION

      static final ResourceLocation REJECT_ICON_LOCATION
    • NO_PENDING_INVITES_TEXT

      private static final Component NO_PENDING_INVITES_TEXT
    • ACCEPT_INVITE_TOOLTIP

      static final Component ACCEPT_INVITE_TOOLTIP
    • REJECT_INVITE_TOOLTIP

      static final Component REJECT_INVITE_TOOLTIP
    • lastScreen

      private final Screen lastScreen
    • toolTip

      @Nullable Component toolTip
    • loaded

      boolean loaded
    • pendingInvitationSelectionList

    • selectedInvite

      int selectedInvite
    • acceptButton

      private Button acceptButton
    • rejectButton

      private Button rejectButton
  • 构造器详细资料

    • RealmsPendingInvitesScreen

      public RealmsPendingInvitesScreen(Screen pLastScreen, Component pTitle)
  • 方法详细资料

    • init

      public void init()
      覆盖:
      init 在类中 Screen
    • keyPressed

      public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers)
      指定者:
      keyPressed 在接口中 ContainerEventHandler
      指定者:
      keyPressed 在接口中 GuiEventListener
      覆盖:
      keyPressed 在类中 Screen
    • updateList

      void updateList(int pIndex)
    • reject

      void reject(int pIndex)
    • accept

      void accept(int pIndex)
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      指定者:
      render 在接口中 Renderable
      覆盖:
      render 在类中 Screen
    • renderMousehoverTooltip

      protected void renderMousehoverTooltip(GuiGraphics pGuiGraphics, @Nullable Component pTooltip, int pMouseX, int pMouseY)
    • updateButtonStates

      void updateButtonStates()
    • shouldAcceptAndRejectButtonBeVisible

      private boolean shouldAcceptAndRejectButtonBeVisible(int p_88963_)