com.mojang.realmsclient

public class RealmsMainScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

dqu
com.mojang.realmsclient.RealmsMainScreen
net.minecraft.class_4325
net.minecraft.client.realms.gui.screen.RealmsMainScreen
net.minecraft.src.C_3197_

Field summary

Modifier and TypeField
static final org.apache.logging.log4j.Logger
a
LOGGER
field_19475
LOGGER
f_86257_
private static final ResourceLocation
b
ON_ICON_LOCATION
field_22552
ON_ICON
f_86300_
private static final ResourceLocation
c
OFF_ICON_LOCATION
field_22553
OFF_ICON
f_86301_
private static final ResourceLocation
R
EXPIRED_ICON_LOCATION
field_22554
EXPIRED_ICON
f_86302_
private static final ResourceLocation
S
EXPIRES_SOON_ICON_LOCATION
field_22555
EXPIRES_SOON_ICON
f_86303_
private static final ResourceLocation
T
LEAVE_ICON_LOCATION
field_22556
LEAVE_ICON
f_86304_
private static final ResourceLocation
U
INVITATION_ICONS_LOCATION
field_22557
INVITATION_ICON
f_86305_
private static final ResourceLocation
V
INVITE_ICON_LOCATION
field_22558
INVITE_ICON
f_86306_
static final ResourceLocation
W
WORLDICON_LOCATION
field_22559
WORLD_ICON
f_86307_
private static final ResourceLocation
X
LOGO_LOCATION
field_22560
REALMS
f_86308_
private static final ResourceLocation
Y
CONFIGURE_LOCATION
field_22561
CONFIGURE_ICON
f_86309_
private static final ResourceLocation
Z
QUESTIONMARK_LOCATION
field_22562
QUESTIONMARK
f_86310_
private static final ResourceLocation
aa
NEWS_LOCATION
field_22563
NEWS_ICON
f_86311_
private static final ResourceLocation
ab
POPUP_LOCATION
field_22564
POPUP
f_86312_
private static final ResourceLocation
ac
DARKEN_LOCATION
field_22548
DARKEN
f_86231_
static final ResourceLocation
ad
CROSS_ICON_LOCATION
field_22549
CROSS_ICON
f_86232_
private static final ResourceLocation
ae
TRIAL_ICON_LOCATION
field_22550
TRIAL_ICON
f_86233_
static final ResourceLocation
af
BUTTON_LOCATION
field_22551
WIDGETS
f_86234_
static final Component
ag
NO_PENDING_INVITES_TEXT
field_26447
NO_PENDING_TEXT
f_86235_
static final Component
ah
PENDING_INVITES_TEXT
field_26448
PENDING_TEXT
f_86236_
static final List<Component>
ai
TRIAL_MESSAGE_LINES
field_26449
TRIAL_MESSAGE_LINES
f_86237_
static final Component
aj
SERVER_UNITIALIZED_TEXT
field_26450
UNINITIALIZED_TEXT
f_86238_
static final Component
ak
SUBSCRIPTION_EXPIRED_TEXT
field_26451
EXPIRED_LIST_TEXT
f_86239_
static final Component
al
SUBSCRIPTION_RENEW_TEXT
field_26452
EXPIRED_RENEW_TEXT
f_86240_
static final Component
am
TRIAL_EXPIRED_TEXT
field_26453
EXPIRED_TRIAL_TEXT
f_86241_
static final Component
an
SUBSCRIPTION_CREATE_TEXT
field_26454
EXPIRED_SUBSCRIBE_TEXT
f_86242_
static final Component
ao
SELECT_MINIGAME_PREFIX
field_26455
MINIGAME_TEXT
f_86243_
private static final Component
ap
POPUP_TEXT
field_26456
POPUP_TEXT
f_86244_
private static final Component
aq
SERVER_EXPIRED_TOOLTIP
field_26457
EXPIRED_TEXT
f_86245_
private static final Component
ar
SERVER_EXPIRES_SOON_TOOLTIP
field_26458
EXPIRES_SOON_TEXT
f_86246_
private static final Component
as
SERVER_EXPIRES_IN_DAY_TOOLTIP
field_26459
EXPIRES_IN_A_DAY_TEXT
f_86247_
private static final Component
at
SERVER_OPEN_TOOLTIP
field_26460
OPEN_TEXT
f_86248_
private static final Component
au
SERVER_CLOSED_TOOLTIP
field_26461
CLOSED_TEXT
f_86249_
private static final Component
av
LEAVE_SERVER_TOOLTIP
field_26462
LEAVE_TEXT
f_86250_
private static final Component
aw
CONFIGURE_SERVER_TOOLTIP
field_26463
CONFIGURE_TEXT
f_86251_
private static final Component
ax
SERVER_INFO_TOOLTIP
field_26464
INFO_TEXT
f_86252_
private static final Component
ay
NEWS_TOOLTIP
field_26465
NEWS_TEXT
f_86253_
static final Component
az
UNITIALIZED_WORLD_NARRATION
field_33776
field_33776
f_167175_
static final Component
aA
TRIAL_TEXT
field_33774
field_33774
f_167173_
private static List<ResourceLocation>
aB
teaserImages
field_21517
IMAGES
f_86254_
static final RealmsDataFetcher
aC
REALMS_DATA_FETCHER
field_19480
realmsDataFetcher
f_86255_
static boolean
aD
overrideConfigure
field_19476
overrideConfigure
f_86256_
private static int
aE
lastScrollYPosition
field_19481
lastScrollYPosition
f_86274_
static volatile boolean
aF
hasParentalConsent
field_19494
hasParentalConsent
f_86275_
static volatile boolean
aG
checkedParentalConsent
field_19495
checkedParentalConsent
f_86276_
static volatile boolean
aH
checkedClientCompatability
field_19496
checkedClientCompatibility
f_86277_
static Screen
aI
realmsGenericErrorScreen
field_19463
realmsGenericErrorScreen
f_86278_
private static boolean
aJ
regionsPinged
field_19464
regionsPinged
f_86279_
private final com.google.common.util.concurrent.RateLimiter
aK
inviteNarrationLimiter
field_19477
rateLimiter
f_86280_
private boolean
aL
dontSetConnectedToRealms
field_19478
dontSetConnectedToRealms
f_86281_
final Screen
aM
lastScreen
field_19482
lastScreen
f_86282_
volatile RealmsMainScreen$RealmSelectionList
aN
realmSelectionList
field_19483
realmSelectionList
f_86283_
private boolean
aO
realmsSelectionListAdded
field_33775
field_33775
f_167174_
long
aP
selectedServerId
field_19484
selectedServerId
f_86284_
Button
aQ
playButton
field_19485
playButton
f_86285_
private Button
aR
backButton
field_19486
backButton
f_86286_
private Button
aS
renewButton
field_19487
renewButton
f_86287_
private Button
aT
configureButton
field_19488
configureButton
f_86288_
private Button
aU
leaveButton
field_19489
leaveButton
f_86289_
private List<Component>
aV
toolTip
field_19490
toolTip
f_86290_
List<RealmsServer>
aW
realmsServers
field_19491
realmsServers
f_86291_
volatile int
aX
numberOfPendingInvites
field_19492
numberOfPendingInvites
f_86292_
int
aY
animTick
field_19493
animTick
f_86293_
private boolean
aZ
hasFetchedServers
field_19497
hasFetchedServers
f_86294_
boolean
ba
popupOpenedByUser
field_19498
popupOpenedByUser
f_86295_
private boolean
bb
justClosedPopup
field_19499
justClosedPopup
f_86296_
private volatile boolean
bc
trialsAvailable
field_19500
trialsAvailable
f_86297_
private volatile boolean
bd
createdTrial
field_19456
createdTrial
f_86298_
private volatile boolean
be
showingPopup
field_19457
showingPopup
f_86299_
volatile boolean
bf
hasUnreadNews
field_19458
hasUnreadNews
f_86258_
volatile String
bg
newsLink
field_19459
newsLink
f_86259_
private int
bh
carouselIndex
field_19460
carouselIndex
f_86260_
private int
bi
carouselTick
field_19461
carouselTick
f_86261_
private boolean
bj
hasSwitchedCarouselImage
field_19462
hasSwitchedCarouselImage
f_86262_
private List<KeyCombo>
bk
keyCombos
field_19465
keyCombos
f_86263_
int
bl
clicks
field_19466
clicks
f_86264_
private ReentrantLock
bm
connectLock
field_19467
connectLock
f_86265_
private MultiLineLabel
bn
formattedPopup
field_26466
field_26466
f_86266_
RealmsMainScreen$HoveredElement
bo
hoveredElement
field_24198
hoverState
f_86267_
private Button
bp
showPopupButton
field_19469
showPopupButton
f_86268_
private RealmsMainScreen$PendingInvitesButton
bq
pendingInvitesButton
field_19470
pendingInvitesButton
f_86269_
private Button
br
newsButton
field_19471
newsButton
f_86270_
private Button
bs
createTrialButton
field_19472
createTrialButton
f_86271_
private Button
bt
buyARealmButton
field_19473
buyARealmButton
f_86272_
private Button
bu
closeButton
field_19474
closeButton
f_86273_

Constructor summary

ModifierConstructor
public (Screen arg0)

Method summary

Modifier and TypeMethod
private boolean
w()
shouldShowMessageInList()
method_20842()
shouldShowMessageInList()
m_86318_()
public boolean
a()
shouldShowPopup()
method_20870()
shouldShowPopup()
m_86528_()
public void
b()
init()
method_25426()
init()
m_7856_()
private static boolean
x()
hasParentalConsent()
method_20918()
hasParentalConsent()
m_86321_()
public void
c()
addButtons()
method_20882()
addButtons()
m_86570_()
void
a(drp arg0)
updateButtonStates(RealmsServer arg0)
method_20852(class_4877 arg0)
updateButtonStates(RealmsServer server)
m_86513_(C_3244_ arg0)
private boolean
y()
shouldShowPopupButton()
method_20920()
shouldShowPopupButton()
m_86324_()
private boolean
b(drp arg0)
shouldPlayButtonBeActive(RealmsServer arg0)
method_20874(class_4877 arg0)
shouldPlayButtonBeActive(RealmsServer server)
m_86562_(C_3244_ arg0)
private boolean
c(drp arg0)
shouldRenewButtonBeActive(RealmsServer arg0)
method_20884(class_4877 arg0)
shouldRenewButtonBeActive(RealmsServer server)
m_86594_(C_3244_ arg0)
private boolean
d(drp arg0)
shouldConfigureButtonBeVisible(RealmsServer arg0)
method_20892(class_4877 arg0)
shouldConfigureButtonBeVisible(RealmsServer server)
m_86619_(C_3244_ arg0)
private boolean
e(drp arg0)
shouldLeaveButtonBeVisible(RealmsServer arg0)
method_20899(class_4877 arg0)
shouldLeaveButtonBeVisible(RealmsServer server)
m_86644_(C_3244_ arg0)
public void
d()
tick()
method_25393()
tick()
m_96624_()
private void
z()
pingRegions()
method_20922()
pingRegions()
m_86327_()
private List<Long>
A()
getOwnedNonExpiredWorldIds()
method_20924()
getOwnedNonExpiredWorldIds()
m_86330_()
public void
e()
removed()
method_25432()
removed()
m_7861_()
public void
a(boolean arg0)
setCreatedTrial(boolean arg0)
method_35682(boolean arg0)
method_35682(boolean arg0)
m_167190_(boolean arg0)
void
B()
onRenew()
method_20928()
onRenew()
m_86333_()
private void
C()
checkClientCompatability()
method_20932()
checkClientCompatibility()
m_86336_()
private void
D()
checkUnreadNews()
method_20934()
checkUnreadNews()
m_86339_()
void
E()
checkParentalConsent()
method_20936()
checkParentalConsent()
m_86342_()
private void
F()
switchToStage()
method_20938()
switchToStage()
m_86345_()
private void
G()
switchToLocal()
method_20940()
switchToLocal()
m_86348_()
private void
H()
switchToProd()
method_20941()
switchToProd()
m_86351_()
private void
I()
stopRealmsFetcher()
method_20942()
stopRealmsFetcher()
m_86354_()
void
f(drp arg0)
configureClicked(RealmsServer arg0)
method_20903(class_4877 arg0)
configureClicked(RealmsServer arg0)
m_86656_(C_3244_ arg0)
void
g(drp arg0)
leaveClicked(RealmsServer arg0)
method_20906(class_4877 arg0)
leaveClicked(RealmsServer selectedServer)
m_86669_(C_3244_ arg0)
private void
J()
saveListScrollPosition()
method_20943()
saveListScrollPosition()
m_86357_()
RealmsServer
a(long arg0)
findServer(long arg0)
method_20851(long arg0)
findServer(long id)
m_86404_(long arg0)
private void
c(boolean arg0)
leaveServer(boolean arg0)
method_24991(boolean arg0)
method_24991(boolean arg0)
m_86623_(boolean arg0)
void
h(drp arg0)
removeServer(RealmsServer arg0)
method_31174(class_4877 arg0)
method_31174(RealmsServer arg0)
m_86676_(C_3244_ arg0)
public void
f()
removeSelection()
method_20897()
removeSelection()
m_86529_()
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)
m_7933_(int p_86402_, int p_86403_, int arg2)
void
K()
onClosePopup()
method_20834()
onClosePopup()
m_86360_()
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_5534_(char p_86389_, int arg1)
public void
a(dqk 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)
m_6305_(C_3181_ p_86414_, int p_86415_, int p_86416_, float arg3)
private void
a(dqk 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)
m_86408_(C_3181_ p_86410_, int p_86411_, 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)
m_6375_(double p_86398_, 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)
m_86393_(double p_86395_, double arg1)
private void
b(dqk 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)
m_86533_(C_3181_ p_86535_, int p_86536_, int arg2)
int
L()
popupX0()
method_20835()
popupX0()
m_86363_()
int
M()
popupY0()
method_20836()
popupY0()
m_86366_()
void
a(dqk 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)
m_86424_(C_3181_ p_86426_, int p_86427_, int p_86428_, int p_86429_, int p_86430_, boolean p_86431_, 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)
m_86571_(double p_86573_, double arg1)
public void
a(drp arg0, eap arg1)
play(RealmsServer arg0, Screen arg1)
method_20853(class_4877 arg0, class_437 arg1)
play(RealmsServer arg0, Screen arg1)
m_86515_(C_3244_ p_86517_, C_3583_ arg1)
boolean
i(drp arg0)
isSelfOwnedServer(RealmsServer arg0)
method_20909(class_4877 arg0)
isSelfOwnedServer(RealmsServer serverData)
m_86683_(C_3244_ arg0)
private boolean
j(drp arg0)
isSelfOwnedNonExpiredServer(RealmsServer arg0)
method_25001(class_4877 arg0)
method_25001(RealmsServer arg0)
m_86688_(C_3244_ arg0)
void
c(dqk 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)
m_86576_(C_3181_ p_86578_, int p_86579_, int p_86580_, int p_86581_, int arg4)
void
b(dqk 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)
m_86537_(C_3181_ p_86539_, int p_86540_, int p_86541_, int p_86542_, int p_86543_, int arg5)
void
d(dqk 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)
m_86601_(C_3181_ p_86603_, int p_86604_, int p_86605_, int p_86606_, int arg4)
void
e(dqk 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)
m_86626_(C_3181_ p_86628_, int p_86629_, int p_86630_, int p_86631_, int arg4)
void
f(dqk 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)
m_86648_(C_3181_ p_86650_, int p_86651_, int p_86652_, int p_86653_, int arg4)
void
g(dqk 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)
m_86661_(C_3181_ p_86663_, int p_86664_, int p_86665_, int p_86666_, int arg4)
protected void
a(dqk arg0, List<os> 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)
m_86441_(C_3181_ p_86443_, List<C_4996_> p_86444_, int p_86445_, int arg3)
void
a(dqk 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)
m_86417_(C_3181_ p_86419_, int p_86420_, int p_86421_, int p_86422_, int p_86423_, boolean arg5)
void
a(dqk 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)
m_86432_(C_3181_ p_86434_, int p_86435_, int p_86436_, boolean p_86437_, int p_86438_, int p_86439_, boolean p_86440_, boolean arg7)
private void
b(dqk arg0)
renderLocal(PoseStack arg0)
method_20837(class_4587 arg0)
renderLocal(MatrixStack arg0)
m_86531_(C_3181_ arg0)
private void
c(dqk arg0)
renderStage(PoseStack arg0)
method_20838(class_4587 arg0)
renderStage(MatrixStack arg0)
m_86574_(C_3181_ arg0)
public RealmsMainScreen
g()
newScreen()
method_20902()
newScreen()
m_86660_()
public void
h()
closePopup()
method_35683()
method_35683()
m_167200_()
public static void
a(adt arg0)
updateTeaserImages(ResourceManager arg0)
method_23765(class_3300 arg0)
method_23765(ResourceManager manager)
m_86406_(C_77_ p_86407_)
void
a(os... arg0)
setTooltip(Component... arg0)
method_27452(class_2561... arg0)
method_27452(Text... arg0)
m_86526_(C_4996_... arg0)
private void
a(Iterable<os> arg0)
setTooltip(Iterable<Component> arg0)
method_35681(Iterable<class_2561> arg0)
method_35681(Iterable<Text> arg0)
m_167188_(Iterable<C_4996_> arg0)
private void
a(dwz arg0)
pendingButtonPress(Button arg0)
method_24985(class_4185 arg0)
method_24985(ButtonWidget arg0)
m_86518_(C_3451_ arg0)