Class RealmsPendingInvitesScreen

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • ACCEPT_ICON_LOCATION

        private static final ResourceLocation ACCEPT_ICON_LOCATION
      • REJECT_ICON_LOCATION

        private static final ResourceLocation REJECT_ICON_LOCATION
      • NO_PENDING_INVITES_TEXT

        private static final ITextComponent NO_PENDING_INVITES_TEXT
      • ACCEPT_INVITE_TOOLTIP

        private static final ITextComponent ACCEPT_INVITE_TOOLTIP
      • REJECT_INVITE_TOOLTIP

        private static final ITextComponent REJECT_INVITE_TOOLTIP
      • lastScreen

        private final Screen lastScreen
      • loaded

        private boolean loaded
      • selectedInvite

        private int selectedInvite
      • acceptButton

        private Button acceptButton
      • rejectButton

        private Button rejectButton
    • Constructor Detail

      • RealmsPendingInvitesScreen

        public RealmsPendingInvitesScreen​(Screen p_i232211_1_)
    • Method Detail

      • init

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

        private void updateList​(int p_224318_1_)
      • reject

        private void reject​(int p_224321_1_)
      • accept

        private void accept​(int p_224329_1_)
      • renderMousehoverTooltip

        protected void renderMousehoverTooltip​(MatrixStack p_237866_1_,
                                               @Nullable
                                               ITextComponent p_237866_2_,
                                               int p_237866_3_,
                                               int p_237866_4_)
      • updateButtonStates

        private void updateButtonStates()
      • shouldAcceptAndRejectButtonBeVisible

        private boolean shouldAcceptAndRejectButtonBeVisible​(int p_224316_1_)