com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fak
com.mojang.realmsclient.RealmsMainScreen
net.minecraft.class_4325
net.minecraft.unmapped.C_uncfwjlr
net.minecraft.client.realms.gui.screen.RealmsMainScreen
net.minecraft.client.gui.screen.realms.RealmsMainScreen
net.minecraft.src.C_3197_

Field summary

Modifier and TypeField
static final ResourceLocation
a
INFO_SPRITE
field_45201
f_oqxqenyz
INFO_ICON_TEXTURE
INFO_ICON_TEXTURE
f_291684_
static final ResourceLocation
b
NEW_REALM_SPRITE
field_45216
f_dixtpcdf
NEW_REALM_ICON_TEXTURE
NEW_REALM_ICON_TEXTURE
f_290854_
static final ResourceLocation
c
EXPIRED_SPRITE
field_45217
f_gleimzay
EXPIRED_STATUS_TEXTURE
REALM_EXPIRED_TEXTURE
f_290924_
static final ResourceLocation
B
EXPIRES_SOON_SPRITE
field_45218
f_ubelrngz
EXPIRES_SOON_STATUS_TEXTURE
REALM_EXPIRES_SOON_TEXTURE
f_291137_
static final ResourceLocation
C
OPEN_SPRITE
field_45219
f_rrnyjqqf
OPEN_STATUS_TEXTURE
REALM_OPEN_TEXTURE
f_290678_
static final ResourceLocation
D
CLOSED_SPRITE
field_45191
f_ycjqhwln
CLOSED_STATUS_TEXTURE
REALM_CLOSED_TEXTURE
f_290414_
private static final ResourceLocation
E
INVITE_SPRITE
field_45192
f_fyvtvtkl
INVITE_ICON_TEXTURE
INVITE_ICON_TEXTURE
f_290673_
private static final ResourceLocation
F
NEWS_SPRITE
field_45193
f_yyfnnvvc
NEWS_ICON_TEXTURE
NEWS_ICON_TEXTURE
f_291632_
static final org.slf4j.Logger
G
LOGGER
field_19475
f_xvmvgoxe
LOGGER
LOGGER
f_86257_
private static final ResourceLocation
H
LOGO_LOCATION
field_45194
f_xudjgmlt
REALMS_TITLE_TEXTURE
LOGO_TEXTURE
f_86308_
private static final ResourceLocation
I
NO_REALMS_LOCATION
field_45195
f_ydhsfxmv
NO_REALMS_TEXTURE
NO_REALMS_TEXTURE
f_291111_
private static final Component
J
TITLE
field_45196
f_rctqjdxb
MENU_TEXT
ONLINE
f_290532_
private static final Component
K
LOADING_TEXT
field_45197
f_kmjtkmrs
LOADING_TEXT
LOADING
f_291739_
static final Component
L
SERVER_UNITIALIZED_TEXT
field_26450
f_gzcxhpth
UNINITIALIZED_TEXT
UNINITIALIZED
f_86238_
static final Component
M
SUBSCRIPTION_EXPIRED_TEXT
field_26451
f_syexzmor
EXPIRED_LIST_TEXT
EXPIRED_LIST
f_86239_
private static final Component
N
SUBSCRIPTION_RENEW_TEXT
field_26452
f_bbiuqgtd
EXPIRED_RENEW_TEXT
EXPIRED_RENEW
f_86240_
static final Component
O
TRIAL_EXPIRED_TEXT
field_26453
f_thhypwcm
EXPIRED_TRIAL_TEXT
EXPIRED_TRIAL
f_86241_
private static final Component
P
PLAY_TEXT
field_42859
f_oxlapymb
PLAY_TEXT
PLAY
f_271303_
private static final Component
Q
LEAVE_SERVER_TEXT
field_42860
f_guxnafrw
LEAVE_TEXT
LEAVE
f_271231_
private static final Component
R
CONFIGURE_SERVER_TEXT
field_42861
f_qhyldita
CONFIGURE_TEXT
CONFIGURE
f_271441_
static final Component
S
SERVER_EXPIRED_TOOLTIP
field_26457
f_xqcveclg
EXPIRED_TEXT
EXPIRED
f_86245_
static final Component
T
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
f_alvmhryd
EXPIRES_SOON_TEXT
EXPIRES_SOON
f_86246_
static final Component
U
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
f_ajtnxorc
EXPIRES_IN_A_DAY_TEXT
EXPIRES_IN_A_DAY
f_86247_
static final Component
V
SERVER_OPEN_TOOLTIP
field_26460
f_geledlrq
OPEN_TEXT
OPEN
f_86248_
static final Component
W
SERVER_CLOSED_TOOLTIP
field_26461
f_prftbqsx
CLOSED_TEXT
CLOSED
f_86249_
static final Component
X
UNITIALIZED_WORLD_NARRATION
field_33776
f_pnacbfus
UNINITIALIZED_BUTTON_NARRATION
UNINITIALIZED_BUTTON_NARRATION
f_167175_
private static final Component
Y
NO_REALMS_TEXT
field_45198
f_lwnbwnwd
NO_REALMS_TEXT
NO_REALMS
f_290707_
private static final Component
Z
NO_PENDING_INVITES
field_45199
f_vcnffqmd
NO_PENDING_TOOLTIP
NO_PENDING_INVITES_TOOLTIP
f_291641_
private static final Component
aa
PENDING_INVITES
field_45200
f_lzszrazz
PENDING_TOOLTIP
PENDING_INVITES_TOOLTIP
f_290929_
private static final int
ab
BUTTON_WIDTH
field_42862
f_zuretgvo
field_42862
BUTTON_WIDTH
f_271378_
private static final int
ac
BUTTON_COLUMNS
field_45209
f_vfupxign
field_45209
BUTTON_COLUMNS
f_290754_
private static final int
ad
BUTTON_SPACING
field_45210
f_wwmlethk
field_45210
BUTTON_SPACING
f_291666_
private static final int
ae
CONTENT_WIDTH
field_45211
f_urifkidm
field_45211
CONTENT_WIDTH
f_290880_
private static final int
af
LOGO_WIDTH
field_44509
f_bhdqfszn
field_44509
LOGO_WIDTH
f_278420_
private static final int
ag
LOGO_HEIGHT
field_44510
f_jtfehbdt
field_44510
LOGO_HEIGHT
f_278497_
private static final int
ah
LOGO_TEXTURE_WIDTH
field_44511
f_lvbzhuvg
field_44511
LOGO_TEXTURE_WIDTH
f_278430_
private static final int
ai
LOGO_TEXTURE_HEIGHT
field_44512
f_nkjxtixw
field_44512
LOGO_TEXTURE_HEIGHT
f_278488_
private static final int
aj
LOGO_PADDING
field_44513
f_stbkrlli
field_44513
LOGO_PADDING
f_278451_
private static final int
ak
HEADER_HEIGHT
field_44514
f_sppzvyyb
field_44514
HEADER_HEIGHT
f_278457_
private static final int
al
FOOTER_PADDING
field_45212
f_tmscnyma
field_45212
FOOTER_PADDING
f_290986_
private static final int
am
NEW_REALM_SPRITE_WIDTH
field_46670
f_jubfftip
field_46670
NEW_REALM_ICON_WIDTH
f_303294_
private static final int
an
NEW_REALM_SPRITE_HEIGHT
field_46671
f_vgfdfrzs
field_46671
NEW_REALM_ICON_HEIGHT
f_303305_
private static final int
ao
ENTRY_WIDTH
field_46215
f_pcfjzgdu
field_46215
ENTRY_WIDTH
f_301848_
private static final int
ap
ITEM_HEIGHT
field_46216
f_qiukxtcq
field_46216
ITEM_HEIGHT
f_301849_
private static final boolean
aq
SNAPSHOT
field_46672
f_yqetxhnb
gameOnSnapshot
SNAPSHOT
f_302464_
private static boolean
ar
snapshotToggle
field_46673
f_laokacvd
showingSnapshotRealms
showSnapshots
f_303830_
private final CompletableFuture<RealmsAvailability$Result>
as
availability
field_45213
f_ueblbptz
availabilityInfo
joinError
f_290846_
private DataFetcher$Subscription
at
dataSubscription
field_45214
f_tqlxeqov
periodicRunnersManager
fetchTaskListener
f_238705_
private final Set<UUID>
au
handledSeenNotifications
field_42996
f_nobpynue
seenNotifications
seenNotifications
f_273876_
private static boolean
av
regionsPinged
field_19464
f_zragakdv
regionsPinged
regionsPinged
f_86279_
private final com.google.common.util.concurrent.RateLimiter
aw
inviteNarrationLimiter
field_19477
f_obtmnkgu
rateLimiter
rateLimiter
f_86280_
private final Screen
ax
lastScreen
field_19482
f_xdaouetn
parent
lastScreen
f_86282_
private Button
ay
playButton
field_45215
f_skqraqqm
playButton
playButton
f_86285_
private Button
az
backButton
field_19486
f_qpvmcjoh
backButton
backButton
f_86286_
private Button
aA
renewButton
field_19487
f_zllvwnxo
renewButton
renewButton
f_86287_
private Button
aB
configureButton
field_19488
f_pfqxdhxj
configureButton
configureButton
f_86288_
private Button
aC
leaveButton
field_19489
f_kjcwkfau
leaveButton
leaveButton
f_86289_
RealmsMainScreen$RealmSelectionList
aD
realmSelectionList
field_19483
f_vfumkxne
realmSelectionList
realmSelectionList
f_86283_
private RealmsServerList
aE
serverList
field_39681
f_jlcpctfb
serverFilterer
serverList
f_238533_
private List<RealmsServer>
aF
availableSnapshotServers
field_46669
f_cyjqjdsa
availableSnapshotServers
availableSnapshotServers
f_302288_
private volatile boolean
aG
trialsAvailable
field_19500
f_sxomdhen
trialAvailable
trialAvailable
f_86297_
private volatile String
aH
newsLink
field_45203
f_puvilcjl
newsLink
newsLink
f_86259_
long
aI
lastClickTime
field_37267
f_zwappgmo
lastPlayButtonClickTime
lastPlayButtonClickTime
f_212359_
private final List<RealmsNotification>
aJ
notifications
field_42997
f_zfclovwg
notifications
notifications
f_273903_
private Button
aK
addRealmButton
field_45204
f_lphdprbf
purchaseButton
purchaseButton
f_291106_
private RealmsMainScreen$NotificationButton
aL
pendingInvitesButton
field_45205
f_bzicbrdl
inviteButton
pendingInvitesButton
f_86269_
private RealmsMainScreen$NotificationButton
aM
newsButton
field_45206
f_fdgnfevv
newsButton
newsButton
f_86270_
private RealmsMainScreen$LayoutState
aN
activeLayoutState
field_45207
f_nrqmokvf
loadStatus
loadStatus
f_291447_
private HeaderAndFooterLayout
aO
layout
field_45208
f_fhewopod
layout
layout
f_290558_

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
aM_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
public static boolean
b()
isSnapshot()
method_54330()
m_qhhosbao()
isSnapshotRealmsEligible()
isSnapshot()
m_307170_()
protected void
c()
repositionElements()
method_48640()
m_htvzhlss()
initTabNavigation()
repositionElements()
m_267719_()
public void
d()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()
m_7379_()
private void
E()
updateLayout()
method_54320()
m_vpsrhejw()
updateLoadStatus()
updateLayout()
m_304653_()
private void
a(fak$f arg0)
updateLayout(RealmsMainScreen$LayoutState arg0)
method_52635(class_4325$class_8650 arg0)
m_clfgqcju(C_uncfwjlr$C_ojhyljtj arg0)
onLoadStatusChange(RealmsMainScreen$LoadStatus loadStatus)
updateLayout(RealmsMainScreen$LoadStatus loadStatus)
m_293990_(C_3197_$C_290240_ arg0)
private HeaderAndFooterLayout
b(fak$f arg0)
createLayout(RealmsMainScreen$LayoutState arg0)
method_52641(class_4325$class_8650 arg0)
m_xixvhmyu(C_uncfwjlr$C_ojhyljtj arg0)
makeLayoutFor(RealmsMainScreen$LoadStatus loadStatus)
createLayout(RealmsMainScreen$LoadStatus loadStatus)
m_293610_(C_3197_$C_290240_ arg0)
private Layout
F()
createHeader()
method_52630()
m_irfiecbu()
makeHeader()
createHeader()
m_292856_()
private Layout
c(fak$f arg0)
createFooter(RealmsMainScreen$LayoutState arg0)
method_52644(class_4325$class_8650 arg0)
m_ssulbyvp(C_uncfwjlr$C_ojhyljtj arg0)
makeInnerLayout(RealmsMainScreen$LoadStatus loadStatus)
createFooter(RealmsMainScreen$LoadStatus loadStatus)
m_294892_(C_3197_$C_290240_ arg0)
private LinearLayout
I()
createNoRealmsContent()
method_52631()
m_byigiajp()
makeNoRealmsLayout()
noRealmsWidget()
m_292821_()
void
J()
updateButtonStates()
method_52632()
m_mzhwlfdb()
refreshButtons()
updateButtonStates()
m_86393_()
boolean
a(fbg arg0)
shouldPlayButtonBeActive(RealmsServer arg0)
method_20874(class_4877 arg0)
m_ytletlev(C_pwmwypfb arg0)
shouldPlayButtonBeActive(RealmsServer server)
shouldPlayButtonBeActive(RealmsServer server)
m_86562_(C_3244_ arg0)
private boolean
b(fbg arg0)
shouldRenewButtonBeActive(RealmsServer arg0)
method_20884(class_4877 arg0)
m_ildtwubj(C_pwmwypfb arg0)
shouldRenewButtonBeActive(RealmsServer server)
shouldRenewButtonBeActive(RealmsServer server)
m_86594_(C_3244_ arg0)
private boolean
c(fbg arg0)
shouldConfigureButtonBeActive(RealmsServer arg0)
method_49285(class_4877 arg0)
m_iiyaspdq(C_pwmwypfb arg0)
shouldConfigureButtonBeActive(RealmsServer server)
shouldConfigureButtonBeActive(RealmsServer server)
m_86619_(C_3244_ arg0)
private boolean
d(fbg arg0)
shouldLeaveButtonBeActive(RealmsServer arg0)
method_49288(class_4877 arg0)
m_uwkoxluc(C_pwmwypfb arg0)
shouldLeaveButtonBeActive(RealmsServer server)
shouldLeaveButtonBeActive(RealmsServer server)
m_86644_(C_3244_ arg0)
public void
e()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
public static void
f()
refreshPendingInvites()
method_53792()
m_gwjurvjx()
resetPendingInvitesCount()
resetPendingInvites()
m_294569_()
public static void
g()
refreshServerList()
method_53793()
m_smqnphhm()
resetServerList()
resetServerList()
m_294350_()
private void
K()
debugRefreshDataFetchers()
method_54324()
m_tjyokdrg()
resetPeriodicCheckers()
resetDataFetchTasks()
m_305162_()
private DataFetcher$Subscription
a(fcf arg0)
initDataFetcher(RealmsDataFetcher arg0)
method_44611(class_7578 arg0)
m_rtkzebzs(C_yyprjalz arg0)
createPeriodicRunnersManager(RealmsPeriodicCheckers periodicCheckers)
setupDataFetcher(RealmsDataFetchers dataFetcher)
m_86354_(C_3271_ arg0)
private void
a(Collection<fbf> arg0)
markNotificationsAsSeen(Collection<RealmsNotification> arg0)
method_54104(Collection<class_8204> arg0)
m_cmcurybp(Collection<C_auzifczy> arg0)
markAsSeen(Collection<RealmsNotification> notifications)
markNotificationsAsSeen(Collection<RealmsNotification> notifications)
m_305244_(Collection<C_273792_> arg0)
private static <T> void
a(fak$k<T> arg0, Consumer<T> arg1)
callRealmsClient(RealmsMainScreen$RealmsCall<T> arg0, Consumer<T> arg1)
method_49553(class_4325$class_8203<T> arg0, Consumer<T> arg1)
m_avdxjgja(C_uncfwjlr$C_oiabdumy<T> arg0, Consumer<T> arg1)
request(RealmsMainScreen$Request<T> request, Consumer<T> resultConsumer)
callRealmsService(RealmsMainScreen$RealmsRequest<T> request, Consumer<T> resultConsumer)
m_274332_(C_3197_$C_273795_<T> p_275561_, Consumer<T> p_275686_)
private void
L()
refreshListAndLayout()
method_49550()
m_oteeiouk()
refresh()
refresh()
m_274604_()
private boolean
a(fbf arg0)
addListEntriesForNotification(RealmsNotification arg0)
method_49551(class_8204 arg0)
m_ytcxemjx(C_auzifczy arg0)
addNotificationEntry(RealmsNotification notification)
addNotificationEntries(RealmsNotification notification)
m_307520_(C_273792_ arg0)
private void
M()
pingRegions()
method_20922()
m_lgrkydux()
pingRegions()
pingRegions()
m_86327_()
private List<Long>
N()
getOwnedNonExpiredRealmIds()
method_20924()
m_ymlzuivp()
getOwnedNonExpiredWorldIds()
getOwnedNonExpiredWorldIds()
m_86330_()
private void
e(fbg arg0)
onRenew(RealmsServer arg0)
method_20928(class_4877 arg0)
m_nykjkgxr(C_pwmwypfb arg0)
onRenew(RealmsServer realmsServer)
onRenew(RealmsServer server)
m_193499_(C_3244_ arg0)
private void
f(fbg arg0)
configureClicked(RealmsServer arg0)
method_20903(class_4877 arg0)
m_uyfoaanv(C_pwmwypfb arg0)
configureClicked(RealmsServer serverData)
configureClicked(RealmsServer serverData)
m_86656_(C_3244_ arg0)
private void
g(fbg arg0)
leaveClicked(RealmsServer arg0)
method_20906(class_4877 arg0)
m_ymxvcgqq(C_pwmwypfb arg0)
leaveClicked(RealmsServer selectedServer)
leaveClicked(RealmsServer selectedServer)
m_86669_(C_3244_ arg0)
private RealmsServer
O()
getSelectedServer()
method_38503()
m_suxyugra()
findServer()
getSelectedServer()
m_193481_()
private void
a(boolean arg0, fbg arg1)
leaveServer(boolean arg0, RealmsServer arg1)
method_24991(boolean arg0, class_4877 arg1)
m_qbrpgnib(boolean arg0, C_pwmwypfb arg1)
leaveServer(boolean confirmed, RealmsServer realmsServer)
leaveServer(boolean confirmed, RealmsServer server)
m_193493_(boolean p_193495_, C_3244_ arg1)
void
a(UUID arg0)
dismissNotification(UUID arg0)
method_49557(UUID arg0)
m_qwnzuazr(UUID arg0)
dismissNotification(UUID notification)
dismissNotification(UUID notificationUuid)
m_274580_(UUID arg0)
public void
h()
resetScreen()
method_38505()
m_zdaeiqos()
removeSelection()
removeSelection()
m_193498_()
public Component
i()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public void
a(fgs 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)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_283347_, int p_282480_, int p_283485_, float arg3)
private void
P()
openTrialAvailablePopup()
method_53791()
m_andcgpqp()
showBuyRealmsScreen()
openTrialAvailablePopupScreen()
m_294891_()
public static void
a(fbg arg0, fne arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
m_jvvhompn(C_pwmwypfb arg0, C_wrmtlwqx arg1)
play(RealmsServer serverData, Screen parent)
play(RealmsServer server, Screen screen)
m_86515_(C_3244_ p_86516_, C_3583_ p_86517_)
public static void
a(fbg arg0, fne arg1, boolean arg2)
play(RealmsServer arg0, Screen arg1, boolean arg2)
method_54327(class_4877 arg0, class_437 arg1, boolean arg2)
m_yemkrboo(C_pwmwypfb arg0, C_wrmtlwqx arg1, boolean arg2)
play(RealmsServer serverData, Screen parent, boolean needsPreparation)
play(RealmsServer server, Screen screen, boolean allowSnapshot)
m_307704_(C_3244_ p_312669_, C_3583_ p_310591_, boolean p_309776_)
private static void
a(fbg arg0, fne arg1, xp arg2, xp arg3, xp arg4)
confirmToPlay(RealmsServer arg0, Screen arg1, Component arg2, Component arg3, Component arg4)
method_54326(class_4877 arg0, class_437 arg1, class_2561 arg2, class_2561 arg3, class_2561 arg4)
m_zxhakhrx(C_pwmwypfb arg0, C_wrmtlwqx arg1, C_rdaqiwdt arg2, C_rdaqiwdt arg3, C_rdaqiwdt arg4)
showCompatibilityScreen(RealmsServer serverData, Screen parent, Text title, Text description, Text confirmText)
showPlayConfirmationScreen(RealmsServer server, Screen screen, Text title, Text message, Text yesTranslated)
m_306234_(C_3244_ p_311893_, C_3583_ p_310296_, C_4996_ p_309987_, C_4996_ p_309434_, C_4996_ p_311253_)
public static Component
a(String arg0, boolean arg1)
getVersionComponent(String arg0, boolean arg1)
method_54562(String arg0, boolean arg1)
m_yjygqnjl(String arg0, boolean arg1)
getVersionText(String version, boolean compatible)
getVersionText(String version, boolean compatible)
m_305395_(String p_312049_, boolean p_312280_)
public static Component
a(String arg0, int arg1)
getVersionComponent(String arg0, int arg1)
method_54561(String arg0, int arg1)
m_nzxelnxl(String arg0, int arg1)
getVersionText(String version, int color)
getVersionText(String version, int color)
m_305180_(String p_311695_, int p_311083_)
boolean
h(fbg arg0)
isSelfOwnedServer(RealmsServer arg0)
method_20909(class_4877 arg0)
m_veeacmfr(C_pwmwypfb arg0)
isSelfOwnedServer(RealmsServer server)
isSelfOwnedServer(RealmsServer serverData)
m_86683_(C_3244_ arg0)
private boolean
i(fbg arg0)
isSelfOwnedNonExpiredServer(RealmsServer arg0)
method_25001(class_4877 arg0)
m_bgzsbxbo(C_pwmwypfb arg0)
isOwnedNotExpired(RealmsServer serverData)
isOwnedNotExpired(RealmsServer serverData)
m_86688_(C_3244_ arg0)
private void
a(fgs arg0, String arg1, int arg2)
renderEnvironment(GuiGraphics arg0, String arg1, int arg2)
method_52637(class_332 arg0, String arg1, int arg2)
m_lwwrcldu(C_sedilmty arg0, String arg1, int arg2)
drawEnvironmentText(DrawContext context, String text, int color)
drawEnvironmentText(GuiGraphics graphics, String message, int color)
m_294361_(C_279497_ p_299597_, String p_300122_, int arg2)