com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fhd
com.mojang.realmsclient.RealmsMainScreen
net.minecraft.class_4325
net.minecraft.client.realms.gui.screen.RealmsMainScreen

Field summary

Modifier and TypeField
static final ResourceLocation
b
INFO_SPRITE
field_45201
INFO_ICON_TEXTURE
static final ResourceLocation
c
NEW_REALM_SPRITE
field_45216
NEW_REALM_ICON_TEXTURE
static final ResourceLocation
C
EXPIRED_SPRITE
field_45217
EXPIRED_STATUS_TEXTURE
static final ResourceLocation
D
EXPIRES_SOON_SPRITE
field_45218
EXPIRES_SOON_STATUS_TEXTURE
static final ResourceLocation
E
OPEN_SPRITE
field_45219
OPEN_STATUS_TEXTURE
static final ResourceLocation
F
CLOSED_SPRITE
field_45191
CLOSED_STATUS_TEXTURE
private static final ResourceLocation
G
INVITE_SPRITE
field_45192
INVITE_ICON_TEXTURE
private static final ResourceLocation
H
NEWS_SPRITE
field_45193
NEWS_ICON_TEXTURE
public static final ResourceLocation
a
HARDCORE_MODE_SPRITE
field_54806
HARDCORE_ICON_TEXTURE
static final org.slf4j.Logger
I
LOGGER
field_19475
LOGGER
private static final ResourceLocation
J
LOGO_LOCATION
field_45194
REALMS_TITLE_TEXTURE
private static final ResourceLocation
K
NO_REALMS_LOCATION
field_45195
NO_REALMS_TEXTURE
private static final Component
L
TITLE
field_45196
MENU_TEXT
private static final Component
M
LOADING_TEXT
field_45197
LOADING_TEXT
static final Component
N
SERVER_UNITIALIZED_TEXT
field_26450
UNINITIALIZED_TEXT
static final Component
O
SUBSCRIPTION_EXPIRED_TEXT
field_26451
EXPIRED_LIST_TEXT
private static final Component
P
SUBSCRIPTION_RENEW_TEXT
field_26452
EXPIRED_RENEW_TEXT
static final Component
Q
TRIAL_EXPIRED_TEXT
field_26453
EXPIRED_TRIAL_TEXT
private static final Component
R
PLAY_TEXT
field_42859
PLAY_TEXT
private static final Component
S
LEAVE_SERVER_TEXT
field_42860
LEAVE_TEXT
private static final Component
T
CONFIGURE_SERVER_TEXT
field_42861
CONFIGURE_TEXT
static final Component
U
SERVER_EXPIRED_TOOLTIP
field_26457
EXPIRED_TEXT
static final Component
V
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
EXPIRES_SOON_TEXT
static final Component
W
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
EXPIRES_IN_A_DAY_TEXT
static final Component
X
SERVER_OPEN_TOOLTIP
field_26460
OPEN_TEXT
static final Component
Y
SERVER_CLOSED_TOOLTIP
field_26461
CLOSED_TEXT
static final Component
Z
UNITIALIZED_WORLD_NARRATION
field_33776
UNINITIALIZED_BUTTON_NARRATION
private static final Component
aa
NO_REALMS_TEXT
field_45198
NO_REALMS_TEXT
private static final Component
ab
NO_PENDING_INVITES
field_45199
NO_PENDING_TOOLTIP
private static final Component
ac
PENDING_INVITES
field_45200
PENDING_TOOLTIP
private static final Component
ad
INCOMPATIBLE_POPUP_TITLE
field_51815
INCOMPATIBLE_POPUP_TITLE
private static final Component
ae
INCOMPATIBLE_RELEASE_TYPE_POPUP_MESSAGE
field_51816
INCOMPATIBLE_RELEASE_TYPE_MESSAGE
private static final int
af
BUTTON_WIDTH
field_42862
field_42862
private static final int
ag
BUTTON_COLUMNS
field_45209
field_45209
private static final int
ah
BUTTON_SPACING
field_45210
field_45210
private static final int
ai
CONTENT_WIDTH
field_45211
field_45211
private static final int
aj
LOGO_WIDTH
field_44509
field_44509
private static final int
ak
LOGO_HEIGHT
field_44510
field_44510
private static final int
al
LOGO_TEXTURE_WIDTH
field_44511
field_44511
private static final int
am
LOGO_TEXTURE_HEIGHT
field_44512
field_44512
private static final int
an
LOGO_PADDING
field_44513
field_44513
private static final int
ao
HEADER_HEIGHT
field_44514
field_44514
private static final int
ap
FOOTER_PADDING
field_45212
field_45212
private static final int
aq
NEW_REALM_SPRITE_WIDTH
field_46670
field_46670
private static final int
ar
NEW_REALM_SPRITE_HEIGHT
field_46671
field_46671
private static final int
as
ENTRY_WIDTH
field_46215
field_46215
private static final int
at
ITEM_HEIGHT
field_46216
field_46216
private static final boolean
au
SNAPSHOT
field_46672
gameOnSnapshot
private static boolean
av
snapshotToggle
field_46673
showingSnapshotRealms
private final CompletableFuture<RealmsAvailability$Result>
aw
availability
field_45213
availabilityInfo
private DataFetcher$Subscription
ax
dataSubscription
field_45214
periodicRunnersManager
private final Set<UUID>
ay
handledSeenNotifications
field_42996
seenNotifications
private static boolean
az
regionsPinged
field_19464
regionsPinged
private final com.google.common.util.concurrent.RateLimiter
aA
inviteNarrationLimiter
field_19477
rateLimiter
private final Screen
aB
lastScreen
field_19482
parent
private Button
aC
playButton
field_45215
playButton
private Button
aD
backButton
field_19486
backButton
private Button
aE
renewButton
field_19487
renewButton
private Button
aF
configureButton
field_19488
configureButton
private Button
aG
leaveButton
field_19489
leaveButton
RealmsMainScreen$RealmSelectionList
aH
realmSelectionList
field_19483
realmSelectionList
RealmsServerList
aI
serverList
field_39681
serverFilterer
List<RealmsServer>
aJ
availableSnapshotServers
field_46669
availableSnapshotServers
RealmsServerPlayerLists
aK
onlinePlayersPerRealm
field_52116
onlinePlayers
private volatile boolean
aL
trialsAvailable
field_19500
trialAvailable
private volatile String
aM
newsLink
field_45203
newsLink
long
aN
lastClickTime
field_37267
lastPlayButtonClickTime
final List<RealmsNotification>
aO
notifications
field_42997
notifications
private Button
aP
addRealmButton
field_45204
purchaseButton
private RealmsMainScreen$NotificationButton
aQ
pendingInvitesButton
field_45205
inviteButton
private RealmsMainScreen$NotificationButton
aR
newsButton
field_45206
newsButton
private RealmsMainScreen$LayoutState
aS
activeLayoutState
field_45207
loadStatus
private HeaderAndFooterLayout
aT
layout
field_45208
layout

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
aT_()
init()
method_25426()
init()
public static boolean
b()
isSnapshot()
method_54330()
isSnapshotRealmsEligible()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
aP_()
onClose()
method_25419()
close()
private void
E()
updateLayout()
method_54320()
updateLoadStatus()
private void
a(fhd$f arg0)
updateLayout(RealmsMainScreen$LayoutState arg0)
method_52635(class_4325$class_8650 arg0)
onLoadStatusChange(RealmsMainScreen$LoadStatus loadStatus)
private HeaderAndFooterLayout
b(fhd$f arg0)
createLayout(RealmsMainScreen$LayoutState arg0)
method_52641(class_4325$class_8650 arg0)
makeLayoutFor(RealmsMainScreen$LoadStatus loadStatus)
private Layout
F()
createHeader()
method_52630()
makeHeader()
private Layout
c(fhd$f arg0)
createFooter(RealmsMainScreen$LayoutState arg0)
method_52644(class_4325$class_8650 arg0)
makeInnerLayout(RealmsMainScreen$LoadStatus loadStatus)
private LinearLayout
G()
createNoRealmsContent()
method_52631()
makeNoRealmsLayout()
void
J()
updateButtonStates()
method_52632()
refreshButtons()
boolean
a(fij arg0)
shouldPlayButtonBeActive(RealmsServer arg0)
method_20874(class_4877 arg0)
shouldPlayButtonBeActive(RealmsServer server)
private boolean
b(fij arg0)
shouldRenewButtonBeActive(RealmsServer arg0)
method_20884(class_4877 arg0)
shouldRenewButtonBeActive(RealmsServer server)
private boolean
c(fij arg0)
shouldConfigureButtonBeActive(RealmsServer arg0)
method_49285(class_4877 arg0)
shouldConfigureButtonBeActive(RealmsServer server)
private boolean
d(fij arg0)
shouldLeaveButtonBeActive(RealmsServer arg0)
method_49288(class_4877 arg0)
shouldLeaveButtonBeActive(RealmsServer server)
public void
e()
tick()
method_25393()
tick()
public static void
f()
refreshPendingInvites()
method_53792()
resetPendingInvitesCount()
public static void
g()
refreshServerList()
method_53793()
resetServerList()
private void
K()
debugRefreshDataFetchers()
method_54324()
resetPeriodicCheckers()
private DataFetcher$Subscription
a(fjh arg0)
initDataFetcher(RealmsDataFetcher arg0)
method_44611(class_7578 arg0)
createPeriodicRunnersManager(RealmsPeriodicCheckers periodicCheckers)
void
a(Collection<fii> arg0)
markNotificationsAsSeen(Collection<RealmsNotification> arg0)
method_54104(Collection<class_8204> arg0)
markAsSeen(Collection<RealmsNotification> notifications)
private static <T> void
a(fhd$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)
request(RealmsMainScreen$Request<T> request, Consumer<T> resultConsumer)
private void
L()
refreshListAndLayout()
method_49550()
refresh()
private void
M()
pingRegions()
method_20922()
pingRegions()
private List<Long>
N()
getOwnedNonExpiredRealmIds()
method_20924()
getOwnedNonExpiredWorldIds()
private void
e(fij arg0)
onRenew(RealmsServer arg0)
method_20928(class_4877 arg0)
onRenew(RealmsServer realmsServer)
private void
f(fij arg0)
configureClicked(RealmsServer arg0)
method_20903(class_4877 arg0)
configureClicked(RealmsServer serverData)
private void
g(fij arg0)
leaveClicked(RealmsServer arg0)
method_20906(class_4877 arg0)
leaveClicked(RealmsServer selectedServer)
private RealmsServer
O()
getSelectedServer()
method_38503()
getSelectedServer()
private void
h(fij arg0)
leaveServer(RealmsServer arg0)
method_24991(class_4877 arg0)
leaveServer(RealmsServer server)
void
a(UUID arg0)
dismissNotification(UUID arg0)
method_49557(UUID arg0)
dismissNotification(UUID notification)
public void
h()
resetScreen()
method_38505()
removeSelection()
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public void
a(fns 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)
private void
P()
openTrialAvailablePopup()
method_53791()
showBuyRealmsScreen()
public static void
a(fij arg0, fty arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
play(RealmsServer serverData, Screen parent)
public static void
a(fij arg0, fty arg1, boolean arg2)
play(RealmsServer arg0, Screen arg1, boolean arg2)
method_54327(class_4877 arg0, class_437 arg1, boolean arg2)
play(RealmsServer server, Screen parent, boolean needsPreparation)
private static void
a(fij arg0, fty arg1, xv arg2, xv arg3, xv 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)
showCompatibilityScreen(RealmsServer server, Screen parent, Text title, Text description, Text confirmText)
private static void
b(fij arg0, fty arg1)
upgradeRealmAndPlay(RealmsServer arg0, Screen arg1)
method_60861(class_4877 arg0, class_437 arg1)
showNeedsUpgradeScreen(RealmsServer serverData, Screen parent)
public static Component
a(String arg0, boolean arg1)
getVersionComponent(String arg0, boolean arg1)
method_54562(String arg0, boolean arg1)
getVersionText(String version, boolean compatible)
public static Component
a(String arg0, int arg1)
getVersionComponent(String arg0, int arg1)
method_54561(String arg0, int arg1)
getVersionText(String version, int color)
public static Component
a(int arg0, boolean arg1)
getGameModeComponent(int arg0, boolean arg1)
method_64834(int arg0, boolean arg1)
getGameModeText(int id, boolean hardcore)
static boolean
i(fij arg0)
isSelfOwnedServer(RealmsServer arg0)
method_20909(class_4877 arg0)
isSelfOwnedServer(RealmsServer server)
private boolean
j(fij arg0)
isSelfOwnedNonExpiredServer(RealmsServer arg0)
method_25001(class_4877 arg0)
isOwnedNotExpired(RealmsServer serverData)
private void
a(fns arg0, String arg1, int arg2)
renderEnvironment(GuiGraphics arg0, String arg1, int arg2)
method_52637(class_332 arg0, String arg1, int arg2)
drawEnvironmentText(DrawContext context, String text, int color)