com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

ema
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
y
EXPIRES_SOON_SPRITE
field_45218
f_ubelrngz
EXPIRES_SOON_STATUS_TEXTURE
REALM_EXPIRES_SOON_TEXTURE
f_291137_
static final ResourceLocation
z
OPEN_SPRITE
field_45219
f_rrnyjqqf
OPEN_STATUS_TEXTURE
REALM_OPEN_TEXTURE
f_290678_
static final ResourceLocation
A
CLOSED_SPRITE
field_45191
f_ycjqhwln
CLOSED_STATUS_TEXTURE
REALM_CLOSED_TEXTURE
f_290414_
private static final ResourceLocation
B
INVITE_SPRITE
field_45192
f_fyvtvtkl
INVITE_ICON_TEXTURE
INVITE_ICON_TEXTURE
f_290673_
private static final ResourceLocation
C
NEWS_SPRITE
field_45193
f_yyfnnvvc
NEWS_ICON_TEXTURE
NEWS_ICON_TEXTURE
f_291632_
static final org.slf4j.Logger
D
LOGGER
field_19475
f_xvmvgoxe
LOGGER
LOGGER
f_86257_
private static final ResourceLocation
E
LOGO_LOCATION
field_45194
f_xudjgmlt
REALMS_TITLE_TEXTURE
LOGO_TEXTURE
f_86308_
private static final ResourceLocation
F
NO_REALMS_LOCATION
field_45195
f_ydhsfxmv
NO_REALMS_TEXTURE
NO_REALMS_TEXTURE
f_291111_
private static final Component
G
TITLE
field_45196
f_rctqjdxb
MENU_TEXT
ONLINE
f_290532_
private static final Component
H
LOADING_TEXT
field_45197
f_kmjtkmrs
LOADING_TEXT
LOADING
f_291739_
static final Component
I
SERVER_UNITIALIZED_TEXT
field_26450
f_gzcxhpth
UNINITIALIZED_TEXT
UNINITIALIZED
f_86238_
static final Component
J
SUBSCRIPTION_EXPIRED_TEXT
field_26451
f_syexzmor
EXPIRED_LIST_TEXT
EXPIRED_LIST
f_86239_
private static final Component
K
SUBSCRIPTION_RENEW_TEXT
field_26452
f_bbiuqgtd
EXPIRED_RENEW_TEXT
EXPIRED_RENEW
f_86240_
static final Component
L
TRIAL_EXPIRED_TEXT
field_26453
f_thhypwcm
EXPIRED_TRIAL_TEXT
EXPIRED_TRIAL
f_86241_
static final Component
M
SELECT_MINIGAME_PREFIX
field_26455
f_krhyfzuv
MINIGAME_TEXT
MINIGAME
f_86243_
private static final Component
N
PLAY_TEXT
field_42859
f_oxlapymb
PLAY_TEXT
PLAY
f_271303_
private static final Component
O
LEAVE_SERVER_TEXT
field_42860
f_guxnafrw
LEAVE_TEXT
LEAVE
f_271231_
private static final Component
P
CONFIGURE_SERVER_TEXT
field_42861
f_qhyldita
CONFIGURE_TEXT
CONFIGURE
f_271441_
static final Component
Q
SERVER_EXPIRED_TOOLTIP
field_26457
f_xqcveclg
EXPIRED_TEXT
EXPIRED
f_86245_
static final Component
R
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
f_alvmhryd
EXPIRES_SOON_TEXT
EXPIRES_SOON
f_86246_
static final Component
S
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
f_ajtnxorc
EXPIRES_IN_A_DAY_TEXT
EXPIRES_IN_A_DAY
f_86247_
static final Component
T
SERVER_OPEN_TOOLTIP
field_26460
f_geledlrq
OPEN_TEXT
OPEN
f_86248_
static final Component
U
SERVER_CLOSED_TOOLTIP
field_26461
f_prftbqsx
CLOSED_TEXT
CLOSED
f_86249_
static final Component
V
UNITIALIZED_WORLD_NARRATION
field_33776
f_pnacbfus
UNINITIALIZED_BUTTON_NARRATION
UNINITIALIZED_BUTTON_NARRATION
f_167175_
private static final Component
W
NO_REALMS_TEXT
field_45198
f_lwnbwnwd
NO_REALMS_TEXT
NO_REALMS
f_290707_
private static final Tooltip
X
NO_PENDING_INVITES
field_45199
f_vcnffqmd
NO_PENDING_TOOLTIP
NO_PENDING_INVITES_TOOLTIP
f_291641_
private static final Tooltip
Y
PENDING_INVITES
field_45200
f_lzszrazz
PENDING_TOOLTIP
PENDING_INVITES_TOOLTIP
f_290929_
private static final int
Z
BUTTON_WIDTH
field_42862
f_zuretgvo
field_42862
BUTTON_WIDTH
f_271378_
private static final int
aa
BUTTON_COLUMNS
field_45209
f_vfupxign
field_45209
f_290754_
private static final int
ab
BUTTON_SPACING
field_45210
f_wwmlethk
field_45210
f_291666_
private static final int
ac
CONTENT_WIDTH
field_45211
f_urifkidm
field_45211
f_290880_
private static final int
ad
LOGO_WIDTH
field_44509
f_bhdqfszn
field_44509
LOGO_WIDTH
f_278420_
private static final int
ae
LOGO_HEIGHT
field_44510
f_jtfehbdt
field_44510
LOGO_HEIGHT
f_278497_
private static final int
af
LOGO_TEXTURE_WIDTH
field_44511
f_lvbzhuvg
field_44511
LOGO_TEXTURE_WIDTH
f_278430_
private static final int
ag
LOGO_TEXTURE_HEIGHT
field_44512
f_nkjxtixw
field_44512
LOGO_TEXTURE_HEIGHT
f_278488_
private static final int
ah
LOGO_PADDING
field_44513
f_stbkrlli
field_44513
LOGO_PADDING
f_278451_
private static final int
ai
HEADER_HEIGHT
field_44514
f_sppzvyyb
field_44514
HEADER_HEIGHT
f_278457_
private static final int
aj
FOOTER_PADDING
field_45212
f_tmscnyma
field_45212
f_290986_
private static final int
ak
ENTRY_WIDTH
field_46215
f_pcfjzgdu
field_46215
f_301848_
private static final int
al
ITEM_HEIGHT
field_46216
f_qiukxtcq
field_46216
f_301849_
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_
private 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 volatile boolean
az
trialsAvailable
field_19500
f_sxomdhen
trialAvailable
trialsAvailable
f_86297_
private volatile String
aA
newsLink
field_45203
f_puvilcjl
newsLink
newsLink
f_86259_
long
aB
lastClickTime
field_37267
f_zwappgmo
lastPlayButtonClickTime
lastPlayButtonClickTime
f_212359_
private final List<RealmsNotification>
aC
notifications
field_42997
f_zfclovwg
notifications
notifications
f_273903_
private Button
aD
addRealmButton
field_45204
f_lphdprbf
purchaseButton
f_291106_
private RealmsMainScreen$NotificationButton
aE
pendingInvitesButton
field_45205
f_bzicbrdl
inviteButton
pendingInvitesButton
f_86269_
private RealmsMainScreen$NotificationButton
aF
newsButton
field_45206
f_fdgnfevv
newsButton
newsButton
f_86270_
private RealmsMainScreen$LayoutState
aG
activeLayoutState
field_45207
f_nrqmokvf
loadStatus
f_291447_
private HeaderAndFooterLayout
aH
layout
field_45208
f_fhewopod
layout
f_290558_

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
aH_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
protected void
b()
repositionElements()
method_48640()
m_htvzhlss()
initTabNavigation()
repositionElements()
m_267719_()
private void
a(ema$e arg0)
updateLayout(RealmsMainScreen$LayoutState arg0)
method_52635(class_4325$class_8650 arg0)
m_yjdiznun(C_uncfwjlr$C_ojhyljtj arg0)
onLoadStatusChange(RealmsMainScreen$LoadStatus loadStatus)
m_293990_(C_3197_$C_290240_ arg0)
private HeaderAndFooterLayout
b(ema$e 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
D()
createHeader()
method_52630()
m_irfiecbu()
makeHeader()
m_292856_()
private Layout
c(ema$e 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
E()
createNoRealmsContent()
method_52631()
m_byigiajp()
makeNoRealmsLayout()
m_292821_()
void
F()
updateButtonStates()
method_52632()
m_mzhwlfdb()
refreshButtons()
updateButtonStates()
m_86393_()
boolean
a(emw 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(emw 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(emw 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(emw 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
c()
tick()
method_25393()
m_ndigxngy()
tick()
tick()
m_86600_()
public static void
d()
refreshPendingInvites()
method_53792()
m_gwjurvjx()
resetPendingInvitesCount()
m_294569_()
public void
e()
refreshServerList()
method_53793()
m_smqnphhm()
resetServerList()
m_294350_()
private DataFetcher$Subscription
a(env 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 static <T> void
a(ema$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)
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
G()
refreshRealmsSelectionList()
method_49550()
m_ostyeovx()
refresh()
refreshRealmSelectionList()
m_274604_()
private void
a(ema$h arg0, emv arg1)
addEntriesForNotification(RealmsMainScreen$RealmSelectionList arg0, RealmsNotification arg1)
method_49551(class_4325$class_4329 arg0, class_8204 arg1)
m_rnkodhsd(C_uncfwjlr$C_nwsdpuom arg0, C_auzifczy arg1)
addNotificationEntry(RealmsMainScreen$RealmSelectionList selectionList, RealmsNotification notification)
addNotificationEntries(RealmsMainScreen$RealmEntryListWidget selectionList, RealmsNotification notification)
m_274411_(C_3197_$C_3208_ p_275492_, C_273792_ arg1)
private void
H()
pingRegions()
method_20922()
m_lgrkydux()
pingRegions()
pingRegions()
m_86327_()
private List<Long>
I()
getOwnedNonExpiredWorldIds()
method_20924()
m_oeqmmjus()
getOwnedNonExpiredWorldIds()
getOwnedNonExpiredWorldIds()
m_86330_()
private void
e(emw 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(emw 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(emw 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
J()
getSelectedServer()
method_38503()
m_suxyugra()
findServer()
getSelectedServer()
m_193481_()
private void
a(boolean arg0, emw 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
h(emw arg0)
removeServer(RealmsServer arg0)
method_31174(class_4877 arg0)
m_frtpqxgb(C_pwmwypfb arg0)
removeServer(RealmsServer serverData)
removeServer(RealmsServer serverData)
m_86676_(C_3244_ arg0)
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
f()
resetScreen()
method_38505()
m_zdaeiqos()
removeSelection()
removeSelection()
m_193498_()
public Component
g()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public void
a(esf 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
K()
openTrialAvailablePopup()
method_53791()
m_andcgpqp()
showBuyRealmsScreen()
m_294891_()
public static void
a(emw arg0, eyk arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
m_urzauiuq(C_pwmwypfb arg0, C_wrmtlwqx arg1)
play(RealmsServer serverData, Screen parent)
play(RealmsServer arg0, Screen serverData)
m_86515_(C_3244_ p_86516_, C_3583_ p_86517_)
boolean
i(emw 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
j(emw 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(esf 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)