com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TickableWidget, Widget

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

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_19475
LOGGER
field_224012_a
private static final ResourceLocation
b
ON_ICON_LOCATION
field_22552
ON_ICON
field_237540_b_
private static final ResourceLocation
c
OFF_ICON_LOCATION
field_22553
OFF_ICON
field_237541_c_
private static final ResourceLocation
p
EXPIRED_ICON_LOCATION
field_22554
EXPIRED_ICON
field_237542_p_
private static final ResourceLocation
q
EXPIRES_SOON_ICON_LOCATION
field_22555
EXPIRES_SOON_ICON
field_237543_q_
private static final ResourceLocation
r
LEAVE_ICON_LOCATION
field_22556
LEAVE_ICON
field_237544_r_
private static final ResourceLocation
s
INVITATION_ICONS_LOCATION
field_22557
INVITATION_ICON
field_237545_s_
private static final ResourceLocation
t
INVITE_ICON_LOCATION
field_22558
INVITE_ICON
field_237546_t_
private static final ResourceLocation
u
WORLDICON_LOCATION
field_22559
WORLD_ICON
field_237547_u_
private static final ResourceLocation
v
LOGO_LOCATION
field_22560
REALMS
field_237548_v_
private static final ResourceLocation
w
CONFIGURE_LOCATION
field_22561
CONFIGURE_ICON
field_237549_w_
private static final ResourceLocation
x
QUESTIONMARK_LOCATION
field_22562
QUESTIONMARK
field_237550_x_
private static final ResourceLocation
y
NEWS_LOCATION
field_22563
NEWS_ICON
field_237551_y_
private static final ResourceLocation
z
POPUP_LOCATION
field_22564
POPUP
field_237552_z_
private static final ResourceLocation
A
DARKEN_LOCATION
field_22548
DARKEN
field_237534_A_
private static final ResourceLocation
B
CROSS_ICON_LOCATION
field_22549
CROSS_ICON
field_237535_B_
private static final ResourceLocation
C
TRIAL_ICON_LOCATION
field_22550
TRIAL_ICON
field_237536_C_
private static final ResourceLocation
D
BUTTON_LOCATION
field_22551
WIDGETS
field_237537_D_
private static final Component
E
NO_PENDING_INVITES_TEXT
field_26447
field_26447
field_243000_E
private static final Component
F
PENDING_INVITES_TEXT
field_26448
field_26448
field_243001_F
private static final List<Component>
G
TRIAL_MESSAGE_LINES
field_26449
field_26449
field_243002_G
private static final Component
H
SERVER_UNITIALIZED_TEXT
field_26450
field_26450
field_243003_H
private static final Component
I
SUBSCRIPTION_EXPIRED_TEXT
field_26451
field_26451
field_243004_I
private static final Component
J
SUBSCRIPTION_RENEW_TEXT
field_26452
field_26452
field_243005_J
private static final Component
K
TRIAL_EXPIRED_TEXT
field_26453
field_26453
field_243006_K
private static final Component
L
SUBSCRIPTION_CREATE_TEXT
field_26454
field_26454
field_243007_L
private static final Component
M
SELECT_MINIGAME_PREFIX
field_26455
field_26455
field_243008_M
private static final Component
N
POPUP_TEXT
field_26456
field_26456
field_243009_N
private static final Component
O
SERVER_EXPIRED_TOOLTIP
field_26457
field_26457
field_243010_O
private static final Component
P
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
field_26458
field_243011_P
private static final Component
Q
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
field_26459
field_243012_Q
private static final Component
R
SERVER_OPEN_TOOLTIP
field_26460
field_26460
field_243013_R
private static final Component
S
SERVER_CLOSED_TOOLTIP
field_26461
field_26461
field_243014_S
private static final Component
T
LEAVE_SERVER_TOOLTIP
field_26462
field_26462
field_243015_T
private static final Component
U
CONFIGURE_SERVER_TOOLTIP
field_26463
field_26463
field_243016_U
private static final Component
V
SERVER_INFO_TOOLTIP
field_26464
field_26464
field_243017_V
private static final Component
W
NEWS_TOOLTIP
field_26465
field_26465
field_243018_W
private static List<ResourceLocation>
X
teaserImages
field_21517
IMAGES
field_227918_e_
private static final RealmsDataFetcher
Y
REALMS_DATA_FETCHER
field_19480
realmsDataFetcher
field_224017_f
private static boolean
Z
overrideConfigure
field_19476
overrideConfigure
field_224013_b
private static int
aa
lastScrollYPosition
field_19481
lastScrollYPosition
field_224018_g
private static volatile boolean
ab
hasParentalConsent
field_19494
hasParentalConsent
field_224031_t
private static volatile boolean
ac
checkedParentalConsent
field_19495
checkedParentalConsent
field_224032_u
private static volatile boolean
ad
checkedClientCompatability
field_19496
checkedClientCompatability
field_224033_v
private static Screen
ae
realmsGenericErrorScreen
field_19463
realmsGenericErrorScreen
field_224000_H
private static boolean
af
regionsPinged
field_19464
regionsPinged
field_224001_I
private final com.google.common.util.concurrent.RateLimiter
ag
inviteNarrationLimiter
field_19477
rateLimiter
field_224014_c
private boolean
ah
dontSetConnectedToRealms
field_19478
dontSetConnectedToRealms
field_224015_d
private final Screen
ai
lastScreen
field_19482
lastScreen
field_224019_h
private volatile RealmsMainScreen$RealmSelectionList
aj
realmSelectionList
field_19483
realmSelectionList
field_224020_i
private long
ak
selectedServerId
field_19484
selectedServerId
field_224021_j
private Button
al
playButton
field_19485
playButton
field_224022_k
private Button
am
backButton
field_19486
backButton
field_224023_l
private Button
an
renewButton
field_19487
renewButton
field_224024_m
private Button
ao
configureButton
field_19488
configureButton
field_224025_n
private Button
ap
leaveButton
field_19489
leaveButton
field_224026_o
private List<Component>
aq
toolTip
field_19490
toolTip
field_224027_p
private List<RealmsServer>
ar
realmsServers
field_19491
realmsServers
field_224028_q
private volatile int
as
numberOfPendingInvites
field_19492
numberOfPendingInvites
field_224029_r
private int
at
animTick
field_19493
animTick
field_224030_s
private boolean
au
hasFetchedServers
field_19497
hasFetchedServers
field_224034_w
private boolean
av
popupOpenedByUser
field_19498
popupOpenedByUser
field_224035_x
private boolean
aw
justClosedPopup
field_19499
justClosedPopup
field_224036_y
private volatile boolean
ax
trialsAvailable
field_19500
trialsAvailable
field_224037_z
private volatile boolean
ay
createdTrial
field_19456
createdTrial
field_223993_A
private volatile boolean
az
showingPopup
field_19457
showingPopup
field_223994_B
private volatile boolean
aA
hasUnreadNews
field_19458
hasUnreadNews
field_223995_C
private volatile String
aB
newsLink
field_19459
newsLink
field_223996_D
private int
aC
carouselIndex
field_19460
carouselIndex
field_223997_E
private int
aD
carouselTick
field_19461
carouselTick
field_223998_F
private boolean
aE
hasSwitchedCarouselImage
field_19462
hasSwitchedCarouselImage
field_223999_G
private List<KeyCombo>
aF
keyCombos
field_19465
keyCombos
field_224002_J
private int
aG
clicks
field_19466
clicks
field_224003_K
private ReentrantLock
aH
connectLock
field_19467
connectLock
field_224004_L
private MultiLineLabel
aI
formattedPopup
field_26466
field_26466
field_243019_aI
private RealmsMainScreen$HoveredElement
aJ
hoveredElement
field_24198
hoverState
field_237539_ap_
private Button
aK
showPopupButton
field_19469
showPopupButton
field_224006_N
private Button
aL
pendingInvitesButton
field_19470
pendingInvitesButton
field_224007_O
private Button
aM
newsButton
field_19471
newsButton
field_224008_P
private Button
aN
createTrialButton
field_19472
createTrialButton
field_224009_Q
private Button
aO
buyARealmButton
field_19473
buyARealmButton
field_224010_R
private Button
aP
closeButton
field_19474
closeButton
field_224011_S

Constructor summary

ModifierConstructor
public (Screen arg0)

Method summary

Modifier and TypeMethod
private boolean
B()
shouldShowMessageInList()
method_20842()
shouldShowMessageInList()
func_223928_a()
public boolean
aq_()
shouldShowPopup()
method_20870()
shouldShowPopup()
func_223990_b()
public void
b()
init()
method_25426()
init()
func_231160_c_()
private static boolean
C()
hasParentalConsent()
method_20918()
hasParentalConsent()
func_223968_l()
public void
c()
addButtons()
method_20882()
addButtons()
func_223901_c()
private void
a(dgn arg0)
updateButtonStates(RealmsServer arg0)
method_20852(class_4877 arg0)
updateButtonStates(RealmsServer server)
func_223915_a(RealmsServer arg0)
private boolean
D()
shouldShowPopupButton()
method_20920()
shouldShowPopupButton()
func_223977_m()
private boolean
b(dgn arg0)
shouldPlayButtonBeActive(RealmsServer arg0)
method_20874(class_4877 arg0)
shouldPlayButtonBeActive(RealmsServer server)
func_223897_b(RealmsServer arg0)
private boolean
c(dgn arg0)
shouldRenewButtonBeActive(RealmsServer arg0)
method_20884(class_4877 arg0)
shouldRenewButtonBeActive(RealmsServer server)
func_223920_c(RealmsServer arg0)
private boolean
d(dgn arg0)
shouldConfigureButtonBeVisible(RealmsServer arg0)
method_20892(class_4877 arg0)
shouldConfigureButtonBeVisible(RealmsServer server)
func_223941_d(RealmsServer arg0)
private boolean
e(dgn arg0)
shouldLeaveButtonBeVisible(RealmsServer arg0)
method_20899(class_4877 arg0)
shouldLeaveButtonBeVisible(RealmsServer server)
func_223959_e(RealmsServer arg0)
public void
d()
tick()
method_25393()
tick()
func_231023_e_()
private void
E()
pingRegions()
method_20922()
pingRegions()
func_223944_n()
private List<Long>
F()
getOwnedNonExpiredWorldIds()
method_20924()
getOwnedNonExpiredWorldIds()
func_223952_o()
public void
e()
removed()
method_25432()
removed()
func_231164_f_()
private void
G()
onRenew()
method_20928()
onRenew()
func_223930_q()
private void
H()
checkClientCompatability()
method_20932()
checkClientCompatability()
func_223895_s()
private void
I()
checkUnreadNews()
method_20934()
checkUnreadNews()
func_223965_t()
private void
J()
checkParentalConsent()
method_20936()
checkParentalConsent()
func_223975_u()
private void
K()
switchToStage()
method_20938()
switchToStage()
func_223884_v()
private void
L()
switchToLocal()
method_20940()
switchToLocal()
func_223962_w()
private void
M()
switchToProd()
method_20941()
switchToProd()
func_223973_x()
private void
N()
stopRealmsFetcher()
method_20942()
stopRealmsFetcher()
func_223939_y()
private void
f(dgn arg0)
configureClicked(RealmsServer arg0)
method_20903(class_4877 arg0)
configureClicked(RealmsServer arg0)
func_223966_f(RealmsServer arg0)
private void
g(dgn arg0)
leaveClicked(RealmsServer arg0)
method_20906(class_4877 arg0)
leaveClicked(RealmsServer selectedServer)
func_223906_g(RealmsServer arg0)
private void
O()
saveListScrollPosition()
method_20943()
saveListScrollPosition()
func_223949_z()
private RealmsServer
a(long arg0)
findServer(long arg0)
method_20851(long arg0)
findServer(long id)
func_223967_a(long arg0)
private void
d(boolean arg0)
leaveServer(boolean arg0)
method_24991(boolean arg0)
method_24991(boolean arg0)
func_237625_d_(boolean arg0)
private void
h(dgn arg0)
removeServer(RealmsServer arg0)
method_31174(class_4877 arg0)
method_31174(RealmsServer arg0)
func_243059_h(RealmsServer arg0)
public void
ar_()
removeSelection()
method_20897()
removeSelection()
func_223978_e()
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)
func_231046_a_(int arg0, int arg1, int arg2)
private void
P()
onClosePopup()
method_20834()
onClosePopup()
func_223955_A()
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
func_231042_a_(char arg0, int arg1)
public void
a(dfj arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
private void
a(dfj arg0, int arg1, int arg2)
drawRealmsLogo(PoseStack arg0, int arg1, int arg2)
method_20845(class_4587 arg0, int arg1, int arg2)
drawRealmsLogo(MatrixStack matrices, int x, int y)
func_237579_a_(MatrixStack arg0, int arg1, int arg2)
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)
func_231044_a_(double arg0, 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)
func_223979_a(double arg0, double arg1)
private void
b(dfj arg0, int arg1, int arg2)
drawPopup(PoseStack arg0, int arg1, int arg2)
method_20872(class_4587 arg0, int arg1, int arg2)
drawPopup(MatrixStack matrices, int mouseX, int mouseY)
func_237605_b_(MatrixStack arg0, int arg1, int arg2)
private int
Q()
popupX0()
method_20835()
popupX0()
func_223989_B()
private int
R()
popupY0()
method_20836()
popupY0()
func_223932_C()
private void
a(dfj arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6)
drawInvitationPendingIcon(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6)
method_20849(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6)
drawInvitationPendingIcon(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6)
func_237581_a_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5, boolean arg6)
private boolean
c(double arg0, double arg1)
inPendingInvitationArea(double arg0, double arg1)
method_20871(double arg0, double arg1)
inPendingInvitationArea(double xm, double ym)
func_223931_b(double arg0, double arg1)
public void
a(dgn arg0, doq arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
play(RealmsServer arg0, Screen arg1)
func_223911_a(RealmsServer arg0, Screen arg1)
private boolean
i(dgn arg0)
isSelfOwnedServer(RealmsServer arg0)
method_20909(class_4877 arg0)
isSelfOwnedServer(RealmsServer serverData)
func_223885_h(RealmsServer arg0)
private boolean
j(dgn arg0)
isSelfOwnedNonExpiredServer(RealmsServer arg0)
method_25001(class_4877 arg0)
method_25001(RealmsServer arg0)
func_223991_i(RealmsServer arg0)
private void
c(dfj arg0, int arg1, int arg2, int arg3, int arg4)
drawExpired(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_20846(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawExpired(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
func_237614_c_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
private void
b(dfj arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawExpiring(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_24987(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_24987(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
func_237606_b_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
private void
d(dfj arg0, int arg1, int arg2, int arg3, int arg4)
drawOpen(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_20873(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawOpen(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
func_237620_d_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
private void
e(dfj arg0, int arg1, int arg2, int arg3, int arg4)
drawClose(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_20883(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawClose(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
func_237626_e_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
private void
f(dfj arg0, int arg1, int arg2, int arg3, int arg4)
drawLeave(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_20891(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawLeave(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
func_237630_f_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
private void
g(dfj arg0, int arg1, int arg2, int arg3, int arg4)
drawConfigure(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_20898(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawConfigure(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
func_237633_g_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
protected void
a(dfj arg0, List<nr> arg1, int arg2, int arg3)
renderMousehoverTooltip(PoseStack arg0, List<Component> arg1, int arg2, int arg3)
method_20867(class_4587 arg0, List<class_2561> arg1, int arg2, int arg3)
renderMousehoverTooltip(MatrixStack arg0, List<Text> arg1, int arg2, int arg3)
func_237583_a_(MatrixStack arg0, List<ITextComponent> arg1, int arg2, int arg3)
private void
a(dfj arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
renderMoreInfo(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_20848(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
renderMoreInfo(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
func_237580_a_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
private void
a(dfj arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
renderNews(PoseStack arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
method_20850(class_4587 arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
renderNews(MatrixStack arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
func_237582_a_(MatrixStack arg0, int arg1, int arg2, boolean arg3, int arg4, int arg5, boolean arg6, boolean arg7)
private void
b(dfj arg0)
renderLocal(PoseStack arg0)
method_20837(class_4587 arg0)
renderLocal(MatrixStack arg0)
func_237604_b_(MatrixStack arg0)
private void
c(dfj arg0)
renderStage(PoseStack arg0)
method_20838(class_4587 arg0)
renderStage(MatrixStack arg0)
func_237613_c_(MatrixStack arg0)
public RealmsMainScreen
g()
newScreen()
method_20902()
newScreen()
func_223942_f()
public static void
a(acf arg0)
updateTeaserImages(ResourceManager arg0)
method_23765(class_3300 arg0)
method_23765(ResourceManager manager)
func_227932_a_(IResourceManager arg0)
private void
a(nr... arg0)
setTooltip(Component... arg0)
method_27452(class_2561... arg0)
method_27452(Text... arg0)
func_237603_a_(ITextComponent... arg0)
private void
a(dlg arg0)
pendingButtonPress(Button arg0)
method_24985(class_4185 arg0)
method_24985(ButtonWidget arg0)
func_237598_a_(Button arg0)