com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

eiu
com.mojang.realmsclient.RealmsMainScreen
net.minecraft.class_4325
net.minecraft.client.realms.gui.screen.RealmsMainScreen
net.minecraft.src.C_3197_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_19475
LOGGER
f_86257_
private static final ResourceLocation
b
ON_ICON_LOCATION
field_22552
ON_ICON
f_86300_
private static final ResourceLocation
c
OFF_ICON_LOCATION
field_22553
OFF_ICON
f_86301_
private static final ResourceLocation
G
EXPIRED_ICON_LOCATION
field_22554
EXPIRED_ICON
f_86302_
private static final ResourceLocation
H
EXPIRES_SOON_ICON_LOCATION
field_22555
EXPIRES_SOON_ICON
f_86303_
static final ResourceLocation
I
INVITATION_ICONS_LOCATION
field_22557
INVITATION_ICON
f_86305_
static final ResourceLocation
J
INVITE_ICON_LOCATION
field_22558
INVITE_ICON
f_86306_
static final ResourceLocation
K
WORLDICON_LOCATION
field_22559
WORLD_ICON
f_86307_
private static final ResourceLocation
L
LOGO_LOCATION
field_22560
REALMS
f_86308_
private static final ResourceLocation
M
NEWS_LOCATION
field_22563
NEWS_ICON
f_86311_
private static final ResourceLocation
N
POPUP_LOCATION
field_22564
POPUP
f_86312_
private static final ResourceLocation
O
DARKEN_LOCATION
field_22548
DARKEN
f_86231_
static final ResourceLocation
P
CROSS_ICON_LOCATION
field_22549
CROSS_ICON
f_86232_
private static final ResourceLocation
Q
TRIAL_ICON_LOCATION
field_22550
TRIAL_ICON
f_86233_
static final ResourceLocation
R
INFO_ICON_LOCATION
field_42995
INFO_ICON
f_273868_
static final List<Component>
S
TRIAL_MESSAGE_LINES
field_26449
TRIAL_MESSAGE_LINES
f_86237_
static final Component
T
SERVER_UNITIALIZED_TEXT
field_26450
UNINITIALIZED_TEXT
f_86238_
static final Component
U
SUBSCRIPTION_EXPIRED_TEXT
field_26451
EXPIRED_LIST_TEXT
f_86239_
private static final Component
V
SUBSCRIPTION_RENEW_TEXT
field_26452
EXPIRED_RENEW_TEXT
f_86240_
static final Component
W
TRIAL_EXPIRED_TEXT
field_26453
EXPIRED_TRIAL_TEXT
f_86241_
static final Component
X
SELECT_MINIGAME_PREFIX
field_26455
MINIGAME_TEXT
f_86243_
private static final Component
Y
POPUP_TEXT
field_26456
POPUP_TEXT
f_86244_
private static final Component
Z
PLAY_TEXT
field_42859
PLAY_TEXT
f_271303_
private static final Component
aa
LEAVE_SERVER_TEXT
field_42860
LEAVE_TEXT
f_271231_
private static final Component
ab
CONFIGURE_SERVER_TEXT
field_42861
CONFIGURE_TEXT
f_271441_
private static final Component
ac
SERVER_EXPIRED_TOOLTIP
field_26457
EXPIRED_TEXT
f_86245_
private static final Component
ad
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
EXPIRES_SOON_TEXT
f_86246_
private static final Component
ae
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
EXPIRES_IN_A_DAY_TEXT
f_86247_
private static final Component
af
SERVER_OPEN_TOOLTIP
field_26460
OPEN_TEXT
f_86248_
private static final Component
ag
SERVER_CLOSED_TOOLTIP
field_26461
CLOSED_TEXT
f_86249_
private static final Component
ah
NEWS_TOOLTIP
field_26465
NEWS_TEXT
f_86253_
static final Component
ai
UNITIALIZED_WORLD_NARRATION
field_33776
UNINITIALIZED_BUTTON_NARRATION
f_167175_
static final Component
aj
TRIAL_TEXT
field_33774
TRIAL_NARRATION
f_167173_
private static final int
ak
BUTTON_WIDTH
field_42862
field_42862
f_271378_
private static final int
al
BUTTON_TOP_ROW_WIDTH
field_42863
field_42863
f_271412_
private static final int
am
BUTTON_BOTTOM_ROW_WIDTH
field_42864
field_42864
f_271271_
private static final int
an
FOOTER_HEIGHT
field_42865
field_42865
f_271314_
private static final int
ao
LOGO_WIDTH
field_44509
field_44509
f_278420_
private static final int
ap
LOGO_HEIGHT
field_44510
field_44510
f_278497_
private static final int
aq
LOGO_TEXTURE_WIDTH
field_44511
field_44511
f_278430_
private static final int
ar
LOGO_TEXTURE_HEIGHT
field_44512
field_44512
f_278488_
private static final int
as
LOGO_PADDING
field_44513
field_44513
f_278451_
private static final int
at
HEADER_HEIGHT
field_44514
field_44514
f_278457_
private static List<ResourceLocation>
au
teaserImages
field_21517
IMAGES
f_86254_
private DataFetcher$Subscription
av
dataSubscription
field_39680
periodicRunnersManager
f_238705_
private RealmsServerList
aw
serverList
field_39681
serverFilterer
f_238533_
private final Set<UUID>
ax
handledSeenNotifications
field_42996
seenNotifications
f_273876_
private static boolean
ay
overrideConfigure
field_19476
overrideConfigure
f_86256_
private static int
az
lastScrollYPosition
field_19481
lastScrollYPosition
f_86274_
static volatile boolean
aA
hasParentalConsent
field_19494
hasParentalConsent
f_86275_
static volatile boolean
aB
checkedParentalConsent
field_19495
checkedParentalConsent
f_86276_
static volatile boolean
aC
checkedClientCompatability
field_19496
checkedClientCompatibility
f_86277_
static Screen
aD
realmsGenericErrorScreen
field_19463
realmsGenericErrorScreen
f_86278_
private static boolean
aE
regionsPinged
field_19464
regionsPinged
f_86279_
private final com.google.common.util.concurrent.RateLimiter
aF
inviteNarrationLimiter
field_19477
rateLimiter
f_86280_
private boolean
aG
dontSetConnectedToRealms
field_19478
dontSetConnectedToRealms
f_86281_
final Screen
aH
lastScreen
field_19482
parent
f_86282_
RealmsMainScreen$RealmSelectionList
aI
realmSelectionList
field_19483
realmSelectionList
f_86283_
private boolean
aJ
realmsSelectionListAdded
field_33775
hasSelectionList
f_167174_
private Button
aK
playButton
field_19485
playButton
f_86285_
private Button
aL
backButton
field_19486
backButton
f_86286_
private Button
aM
renewButton
field_19487
renewButton
f_86287_
private Button
aN
configureButton
field_19488
configureButton
f_86288_
private Button
aO
leaveButton
field_19489
leaveButton
f_86289_
private List<RealmsServer>
aP
realmsServers
field_19491
realmsServers
f_86291_
volatile int
aQ
numberOfPendingInvites
field_19492
pendingInvitesCount
f_86292_
int
aR
animTick
field_19493
animTick
f_86293_
private boolean
aS
hasFetchedServers
field_19497
hasFetchedServers
f_86294_
boolean
aT
popupOpenedByUser
field_19498
popupOpenedByUser
f_86295_
private boolean
aU
justClosedPopup
field_19499
justClosedPopup
f_86296_
private volatile boolean
aV
trialsAvailable
field_19500
trialAvailable
f_86297_
private volatile boolean
aW
createdTrial
field_19456
createdTrial
f_86298_
private volatile boolean
aX
showingPopup
field_19457
showingPopup
f_86299_
volatile boolean
aY
hasUnreadNews
field_19458
hasUnreadNews
f_86258_
volatile String
aZ
newsLink
field_19459
newsLink
f_86259_
private int
ba
carouselIndex
field_19460
carouselIndex
f_86260_
private int
bb
carouselTick
field_19461
carouselTick
f_86261_
private boolean
bc
hasSwitchedCarouselImage
field_19462
hasSwitchedCarouselImage
f_86262_
private List<KeyCombo>
bd
keyCombos
field_19465
keyCombos
f_86263_
long
be
lastClickTime
field_37267
lastPlayButtonClickTime
f_212359_
private ReentrantLock
bf
connectLock
field_19467
connectLock
f_86265_
private MultiLineLabel
bg
formattedPopup
field_26466
popupText
f_86266_
private final List<RealmsNotification>
bh
notifications
field_42997
notifications
f_273903_
private Button
bi
showPopupButton
field_19469
showPopupButton
f_86268_
private RealmsMainScreen$PendingInvitesButton
bj
pendingInvitesButton
field_19470
pendingInvitesButton
f_86269_
private Button
bk
newsButton
field_19471
newsButton
f_86270_
private Button
bl
createTrialButton
field_19472
createTrialButton
f_86271_
private Button
bm
buyARealmButton
field_19473
buyARealmButton
f_86272_
private Button
bn
closeButton
field_19474
closeButton
f_86273_

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
private boolean
B()
shouldShowMessageInList()
method_20842()
shouldShowMessageInList()
m_86318_()
public boolean
a()
shouldShowPopup()
method_20870()
shouldShowPopup()
m_86528_()
public void
b()
init()
method_25426()
init()
m_7856_()
private static boolean
C()
hasParentalConsent()
method_20918()
hasParentalConsent()
m_86321_()
public void
c()
addTopButtons()
method_48171()
addInvitesAndNewsButtons()
m_264589_()
public void
d()
addMiddleButtons()
method_48173()
addPurchaseButtons()
m_264302_()
public void
e()
addFooterButtons()
method_49287()
addLowerButtons()
m_272189_()
void
a(ejq arg0)
updateButtonStates(RealmsServer arg0)
method_20852(class_4877 arg0)
updateButtonStates(RealmsServer server)
m_86513_(C_3244_ arg0)
private boolean
D()
shouldShowPopupButton()
method_20920()
shouldShowPopupButton()
m_86324_()
boolean
b(ejq arg0)
shouldPlayButtonBeActive(RealmsServer arg0)
method_20874(class_4877 arg0)
shouldPlayButtonBeActive(RealmsServer server)
m_86562_(C_3244_ arg0)
private boolean
c(ejq arg0)
shouldRenewButtonBeActive(RealmsServer arg0)
method_20884(class_4877 arg0)
shouldRenewButtonBeActive(RealmsServer server)
m_86594_(C_3244_ arg0)
private boolean
d(ejq arg0)
shouldConfigureButtonBeActive(RealmsServer arg0)
method_49285(class_4877 arg0)
shouldConfigureButtonBeActive(RealmsServer server)
m_86619_(C_3244_ arg0)
private boolean
e(ejq arg0)
shouldLeaveButtonBeActive(RealmsServer arg0)
method_49288(class_4877 arg0)
shouldLeaveButtonBeActive(RealmsServer server)
m_86644_(C_3244_ arg0)
public void
f()
tick()
method_25393()
tick()
m_86600_()
private DataFetcher$Subscription
a(ekq arg0)
initDataFetcher(RealmsDataFetcher arg0)
method_44611(class_7578 arg0)
createPeriodicRunnersManager(RealmsPeriodicCheckers periodicCheckers)
m_86354_(C_3271_ arg0)
private static <T> void
a(eiu$i<T> arg0, Consumer<T> arg1)
callRealmsClient(RealmsMainScreen$RealmsCall<T> arg0, Consumer<T> arg1)
method_49553(class_4325$class_8203<T> arg0, Consumer<T> arg1)
request(RealmsMainScreen$Request<T> request, Consumer<T> resultConsumer)
m_274332_(C_3197_$C_273795_<T> p_275561_, Consumer<T> p_275686_)
private void
E()
refreshRealmsSelectionList()
method_49550()
refresh()
m_274604_()
private void
a(eiu$h arg0, ejp arg1)
addEntriesForNotification(RealmsMainScreen$RealmSelectionList arg0, RealmsNotification arg1)
method_49551(class_4325$class_4329 arg0, class_8204 arg1)
addNotificationEntry(RealmsMainScreen$RealmSelectionList selectionList, RealmsNotification notification)
m_274411_(C_3197_$C_3208_ p_275492_, C_273792_ arg1)
void
F()
refreshFetcher()
method_44609()
resetPeriodicRunnersManager()
m_240107_()
private void
G()
pingRegions()
method_20922()
pingRegions()
m_86327_()
private List<Long>
H()
getOwnedNonExpiredWorldIds()
method_20924()
getOwnedNonExpiredWorldIds()
m_86330_()
public void
a(boolean arg0)
setCreatedTrial(boolean arg0)
method_35682(boolean arg0)
setCreatedTrial(boolean createdTrial)
m_167190_(boolean arg0)
private void
f(ejq arg0)
onRenew(RealmsServer arg0)
method_20928(class_4877 arg0)
onRenew(RealmsServer realmsServer)
m_193499_(C_3244_ arg0)
private void
I()
checkClientCompatability()
method_20932()
checkClientCompatibility()
m_86336_()
void
J()
checkParentalConsent()
method_20936()
checkParentalConsent()
m_86342_()
private void
K()
switchToStage()
method_20938()
switchToStage()
m_86345_()
private void
L()
switchToLocal()
method_20940()
switchToLocal()
m_86348_()
private void
M()
switchToProd()
method_20941()
switchToProd()
m_86351_()
private void
g(ejq arg0)
configureClicked(RealmsServer arg0)
method_20903(class_4877 arg0)
configureClicked(RealmsServer serverData)
m_86656_(C_3244_ arg0)
private void
h(ejq arg0)
leaveClicked(RealmsServer arg0)
method_20906(class_4877 arg0)
leaveClicked(RealmsServer selectedServer)
m_86669_(C_3244_ arg0)
private void
N()
saveListScrollPosition()
method_20943()
saveListScrollPosition()
m_86357_()
private RealmsServer
O()
getSelectedServer()
method_38503()
findServer()
m_193481_()
private void
a(boolean arg0, ejq arg1)
leaveServer(boolean arg0, RealmsServer arg1)
method_24991(boolean arg0, class_4877 arg1)
leaveServer(boolean confirmed, RealmsServer realmsServer)
m_193493_(boolean p_193495_, C_3244_ arg1)
void
i(ejq arg0)
removeServer(RealmsServer arg0)
method_31174(class_4877 arg0)
removeServer(RealmsServer serverData)
m_86676_(C_3244_ arg0)
void
a(UUID arg0)
dismissNotification(UUID arg0)
method_49557(UUID arg0)
dismissNotification(UUID notification)
m_274580_(UUID arg0)
public void
g()
resetScreen()
method_38505()
removeSelection()
m_193498_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_86402_, int p_86403_, int arg2)
void
P()
onClosePopup()
method_20834()
onClosePopup()
m_86360_()
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_5534_(char p_86389_, int arg1)
public void
a(eox arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_283347_, int p_282480_, int p_283485_, float arg3)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_86398_, double arg1, int arg2)
private boolean
a(double arg0, double arg1)
isOutsidePopup(double arg0, double arg1)
method_20844(double arg0, double arg1)
isOutsidePopup(double xm, double ym)
m_86393_(double p_86395_, double arg1)
private void
c(eox arg0, int arg1, int arg2, float arg3)
drawPopup(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_20872(class_332 arg0, int arg1, int arg2, float arg3)
drawPopup(DrawContext context, int mouseX, int mouseY, float delta)
m_280475_(C_279497_ p_290033_, int p_290032_, int p_290030_, float arg3)
int
Q()
popupX0()
method_20835()
popupX0()
m_86363_()
int
R()
popupY0()
method_20836()
popupY0()
m_86366_()
public void
a(ejq arg0, euq arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
play(RealmsServer serverData, Screen parent)
m_86515_(C_3244_ p_86517_, C_3583_ arg1)
boolean
j(ejq arg0)
isSelfOwnedServer(RealmsServer arg0)
method_20909(class_4877 arg0)
isSelfOwnedServer(RealmsServer serverData)
m_86683_(C_3244_ arg0)
private boolean
k(ejq arg0)
isSelfOwnedNonExpiredServer(RealmsServer arg0)
method_25001(class_4877 arg0)
isOwnedNotExpired(RealmsServer serverData)
m_86688_(C_3244_ arg0)
void
a(eox arg0, int arg1, int arg2, int arg3, int arg4)
drawExpired(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_20846(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawExpired(DrawContext context, int x, int y, int mouseX, int mouseY)
m_280597_(C_279497_ p_283367_, int p_283231_, int p_281593_, int p_281773_, int arg4)
void
a(eox arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawExpiring(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_24987(class_332 arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawExpiring(DrawContext context, int x, int y, int mouseX, int mouseY, int remainingDays)
m_280377_(C_279497_ p_282134_, int p_283200_, int p_281673_, int p_282920_, int p_282554_, int arg5)
void
b(eox arg0, int arg1, int arg2, int arg3, int arg4)
drawOpen(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_20873(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawOpen(DrawContext context, int x, int y, int mouseX, int mouseY)
m_280236_(C_279497_ p_281895_, int p_283564_, int p_281543_, int p_282977_, int arg4)
void
c(eox arg0, int arg1, int arg2, int arg3, int arg4)
drawClose(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_20883(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawClose(DrawContext context, int x, int y, int mouseX, int mouseY)
m_280129_(C_279497_ p_282388_, int p_282489_, int p_281732_, int p_283445_, int arg4)
void
a(eox arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
renderNews(GuiGraphics arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
method_20850(class_332 arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
renderNews(DrawContext context, int mouseX, int mouseY, boolean hasUnread, int x, int y, boolean hovered, boolean active)
m_280162_(C_279497_ p_283627_, int p_282268_, int p_282717_, boolean p_282793_, int p_283443_, int p_282143_, boolean p_282764_, boolean arg7)
private void
c(eox arg0)
renderLocal(GuiGraphics arg0)
method_20837(class_332 arg0)
renderLocal(DrawContext context)
m_86626_(C_279497_ arg0)
private void
d(eox arg0)
renderStage(GuiGraphics arg0)
method_20838(class_332 arg0)
renderStage(DrawContext context)
m_86601_(C_279497_ arg0)
public RealmsMainScreen
h()
newScreen()
method_20902()
newScreen()
m_86660_()
public static void
a(akx arg0)
updateTeaserImages(ResourceManager arg0)
method_23765(class_3300 arg0)
loadImages(ResourceManager manager)
m_86406_(C_77_ p_86407_)