com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

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

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
aN_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
public static boolean
b()
isSnapshot()
method_54330()
m_qhhosbao()
isSnapshotRealmsEligible()
m_307170_()
protected void
c()
repositionElements()
method_48640()
m_htvzhlss()
initTabNavigation()
repositionElements()
m_267719_()
private void
D()
updateLayout()
method_54320()
m_vpsrhejw()
updateLoadStatus()
m_304653_()
private void
a(eqm$f arg0)
updateLayout(RealmsMainScreen$LayoutState arg0)
method_52635(class_4325$class_8650 arg0)
m_clfgqcju(C_uncfwjlr$C_ojhyljtj arg0)
onLoadStatusChange(RealmsMainScreen$LoadStatus loadStatus)
m_293990_(C_3197_$C_290240_ arg0)
private HeaderAndFooterLayout
b(eqm$f arg0)
createLayout(RealmsMainScreen$LayoutState arg0)
method_52641(class_4325$class_8650 arg0)
m_xixvhmyu(C_uncfwjlr$C_ojhyljtj arg0)
makeLayoutFor(RealmsMainScreen$LoadStatus loadStatus)
m_293610_(C_3197_$C_290240_ arg0)
private Layout
E()
createHeader()
method_52630()
m_irfiecbu()
makeHeader()
m_292856_()
private Layout
c(eqm$f arg0)
createFooter(RealmsMainScreen$LayoutState arg0)
method_52644(class_4325$class_8650 arg0)
m_ssulbyvp(C_uncfwjlr$C_ojhyljtj arg0)
makeInnerLayout(RealmsMainScreen$LoadStatus loadStatus)
m_294892_(C_3197_$C_290240_ arg0)
private LinearLayout
H()
createNoRealmsContent()
method_52631()
m_byigiajp()
makeNoRealmsLayout()
m_292821_()
void
I()
updateButtonStates()
method_52632()
m_mzhwlfdb()
refreshButtons()
updateButtonStates()
m_86393_()
boolean
a(eri 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(eri 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(eri 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(eri 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
d()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
public static void
e()
refreshPendingInvites()
method_53792()
m_gwjurvjx()
resetPendingInvitesCount()
m_294569_()
public static void
f()
refreshServerList()
method_53793()
m_smqnphhm()
resetServerList()
m_294350_()
private void
J()
debugRefreshDataFetchers()
method_54324()
m_tjyokdrg()
resetPeriodicCheckers()
m_305162_()
private DataFetcher$Subscription
a(esh 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<erh> arg0)
markNotificationsAsSeen(Collection<RealmsNotification> arg0)
method_54104(Collection<class_8204> arg0)
m_cmcurybp(Collection<C_auzifczy> arg0)
markAsSeen(Collection<RealmsNotification> notifications)
m_305244_(Collection<C_273792_> arg0)
private static <T> void
a(eqm$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
K()
refreshListAndLayout()
method_49550()
m_oteeiouk()
refresh()
m_274604_()
private boolean
a(erh arg0)
addListEntriesForNotification(RealmsNotification arg0)
method_49551(class_8204 arg0)
m_ytcxemjx(C_auzifczy arg0)
addNotificationEntry(RealmsNotification notification)
m_307520_(C_273792_ arg0)
private void
L()
pingRegions()
method_20922()
m_lgrkydux()
pingRegions()
pingRegions()
m_86327_()
private List<Long>
M()
getOwnedNonExpiredWorldIds()
method_20924()
m_oeqmmjus()
getOwnedNonExpiredWorldIds()
getOwnedNonExpiredWorldIds()
m_86330_()
private void
e(eri 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(eri 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(eri 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
N()
getSelectedServer()
method_38503()
m_suxyugra()
findServer()
getSelectedServer()
m_193481_()
private void
a(boolean arg0, eri 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
g()
resetScreen()
method_38505()
m_zdaeiqos()
removeSelection()
removeSelection()
m_193498_()
public Component
h()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public void
a(ewu 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
O()
openTrialAvailablePopup()
method_53791()
m_andcgpqp()
showBuyRealmsScreen()
m_294891_()
public static void
a(eri arg0, fdb 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)
m_86515_(C_3244_ p_86516_, C_3583_ p_86517_)
public static void
a(eri arg0, fdb 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)
m_307704_(C_3244_ p_312669_, C_3583_ p_310591_, boolean p_309776_)
private static void
a(eri arg0, fdb arg1, vf arg2, vf arg3, vf 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)
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)
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)
m_305180_(String p_311695_, int p_311083_)
boolean
h(eri 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(eri 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(ewu 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)
m_lwwrcldu(GuiGraphics graphics, String arg1, int arg2)
m_294361_(C_279497_ p_299597_, String p_300122_, int arg2)