com.mojang.realmsclient.client

public class RealmsClient

eai
com.mojang.realmsclient.client.RealmsClient
net.minecraft.class_4341
net.minecraft.client.realms.RealmsClient
net.minecraft.src.C_3223_

Field summary

Modifier and TypeField
public static RealmsClient$Environment
a
currentEnvironment
field_19576
currentEnvironment
f_87157_
private static boolean
b
initialized
field_19577
initialized
f_87158_
private static final org.slf4j.Logger
c
LOGGER
field_19578
LOGGER
f_87159_
private final String
d
sessionId
field_19579
sessionId
f_87160_
private final String
e
username
field_19580
username
f_87161_
private final Minecraft
f
minecraft
field_26901
client
f_87162_
private static final String
g
WORLDS_RESOURCE_PATH
field_32076
WORLDS_ENDPOINT
f_167255_
private static final String
h
INVITES_RESOURCE_PATH
field_32077
INVITES_ENDPOINT
f_167256_
private static final String
i
MCO_RESOURCE_PATH
field_32078
MCO_ENDPOINT
f_167257_
private static final String
j
SUBSCRIPTION_RESOURCE
field_32079
SUBSCRIPTIONS_ENDPOINT
f_167258_
private static final String
k
ACTIVITIES_RESOURCE
field_32080
ACTIVITIES_ENDPOINT
f_167259_
private static final String
l
OPS_RESOURCE
field_32081
OPS_ENDPOINT
f_167260_
private static final String
m
REGIONS_RESOURCE
field_32082
PING_STAT_ENDPOINT
f_167261_
private static final String
n
TRIALS_RESOURCE
field_32083
TRIAL_ENDPOINT
f_167262_
private static final String
o
PATH_INITIALIZE
field_32084
WORLD_INITIALIZE_ENDPOINT
f_167263_
private static final String
p
PATH_GET_ACTIVTIES
field_32085
WORLD_ENDPOINT
f_167264_
private static final String
q
PATH_GET_LIVESTATS
field_32086
LIVEPLAYERLIST_ENDPOINT
f_167265_
private static final String
r
PATH_GET_SUBSCRIPTION
field_32087
WORLD_ENDPOINT_2
f_167266_
private static final String
s
PATH_OP
field_32088
WORLD_PROFILE_ENDPOINT
f_167267_
private static final String
t
PATH_PUT_INTO_MINIGAMES_MODE
field_32089
MINIGAMES_ENDPOINT
f_167268_
private static final String
u
PATH_AVAILABLE
field_32090
AVAILABLE_ENDPOINT
f_167269_
private static final String
v
PATH_TEMPLATES
field_32091
TEMPLATES_ENDPOINT
f_167270_
private static final String
w
PATH_WORLD_JOIN
field_32092
JOIN_PC_ENDPOINT
f_167271_
private static final String
x
PATH_WORLD_GET
field_32093
ID_ENDPOINT
f_167272_
private static final String
y
PATH_WORLD_INVITES
field_32094
WORLD_ENDPOINT_3
f_167273_
private static final String
z
PATH_WORLD_UNINVITE
field_32095
INVITE_ENDPOINT
f_167274_
private static final String
A
PATH_PENDING_INVITES_COUNT
field_32058
COUNT_PENDING_ENDPOINT
f_167237_
private static final String
B
PATH_PENDING_INVITES
field_32059
PENDING_ENDPOINT
f_167238_
private static final String
C
PATH_ACCEPT_INVITE
field_32060
ACCEPT_INVITATION_ENDPOINT
f_167239_
private static final String
D
PATH_REJECT_INVITE
field_32061
REJECT_INVITATION_ENDPOINT
f_167240_
private static final String
E
PATH_UNINVITE_MYSELF
field_32062
WORLD_ENDPOINT_4
f_167241_
private static final String
F
PATH_WORLD_UPDATE
field_32063
WORLD_ENDPOINT_5
f_167242_
private static final String
G
PATH_SLOT
field_32064
WORLD_SLOT_ENDPOINT
f_167243_
private static final String
H
PATH_WORLD_OPEN
field_32065
WORLD_OPEN_ENDPOINT
f_167244_
private static final String
I
PATH_WORLD_CLOSE
field_32066
WORLD_CLOSE_ENDPOINT
f_167245_
private static final String
J
PATH_WORLD_RESET
field_32067
WORLD_RESET_ENDPOINT
f_167246_
private static final String
K
PATH_DELETE_WORLD
field_32068
WORLD_ENDPOINT_6
f_167247_
private static final String
L
PATH_WORLD_BACKUPS
field_32069
WORLD_BACKUPS_ENDPOINT
f_167248_
private static final String
M
PATH_WORLD_DOWNLOAD
field_32070
WORLD_SLOT_DOWNLOAD_ENDPOINT
f_167249_
private static final String
N
PATH_WORLD_UPLOAD
field_32071
WORLD_BACKUPS_UPLOAD_ENDPOINT
f_167250_
private static final String
O
PATH_CLIENT_COMPATIBLE
field_32072
CLIENT_COMPATIBLE_ENDPOINT
f_167251_
private static final String
P
PATH_TOS_AGREED
field_32073
TOS_AGREED_ENDPOINT
f_167252_
private static final String
Q
PATH_NEWS
field_32074
NEWS_ENDPOINT
f_167253_
private static final String
R
PATH_STAGE_AVAILABLE
field_32075
STAGE_AVAILABLE_ENDPOINT
f_167254_
private static final GuardedSerializer
S
GSON
field_22568
JSON
f_87163_

Constructor summary

ModifierConstructor
public (String sessionId, String username, Minecraft client)

Method summary

Modifier and TypeMethod
public static RealmsClient
a()
create()
method_20989()
createRealmsClient()
m_87169_()
public static void
b()
switchToStage()
method_21001()
switchToStage()
m_87206_()
public static void
c()
switchToProd()
method_21008()
switchToProd()
m_87221_()
public static void
d()
switchToLocal()
method_21012()
switchToLocal()
m_87229_()
public RealmsServerList
e()
listWorlds()
method_21015()
listWorlds()
m_87235_()
public RealmsServer
a(long arg0)
getOwnWorld(long arg0)
method_20991(long arg0)
getOwnWorld(long worldId)
m_87174_(long arg0)
public ServerActivityList
b(long arg0)
getActivity(long arg0)
method_35684(long arg0)
getPlayerActivities(long worldId)
m_167278_(long arg0)
public RealmsServerPlayerLists
f()
getLiveStats()
method_21018()
getLiveStats()
m_87241_()
public RealmsServerAddress
c(long arg0)
join(long arg0)
method_21009(long arg0)
join(long worldId)
m_87207_(long arg0)
public void
a(long arg0, String arg1, String arg2)
initializeWorld(long arg0, String arg1, String arg2)
method_20996(long arg0, String arg1, String arg2)
initializeWorld(long worldId, String name, String motd)
m_87191_(long p_87193_, String arg1, String arg2)
public Boolean
g()
mcoEnabled()
method_21021()
mcoEnabled()
m_87247_()
public Boolean
h()
stageAvailable()
method_21024()
stageAvailable()
m_87253_()
public RealmsClient$CompatibleVersionResponse
i()
clientCompatible()
method_21027()
clientCompatible()
m_87259_()
public void
a(long arg0, String arg1)
uninvite(long arg0, String arg1)
method_20994(long arg0, String arg1)
uninvite(long worldId, String profileUuid)
m_87183_(long p_87185_, String arg1)
public void
d(long arg0)
uninviteMyselfFrom(long arg0)
method_21013(long arg0)
uninviteMyselfFrom(long worldId)
m_87222_(long arg0)
public RealmsServer
b(long arg0, String arg1)
invite(long arg0, String arg1)
method_21004(long arg0, String arg1)
invite(long worldId, String profileName)
m_87212_(long p_87214_, String arg1)
public BackupList
e(long arg0)
backupsFor(long arg0)
method_21016(long arg0)
backupsFor(long worldId)
m_87230_(long arg0)
public void
b(long arg0, String arg1, String arg2)
update(long arg0, String arg1, String arg2)
method_21005(long arg0, String arg1, String arg2)
update(long worldId, String name, String motd)
m_87215_(long p_87217_, String arg1, String arg2)
public void
a(long arg0, int arg1, ebe arg2)
updateSlot(long arg0, int arg1, RealmsWorldOptions arg2)
method_20993(long arg0, int arg1, class_4883 arg2)
updateSlot(long worldId, int slot, RealmsWorldOptions options)
m_87179_(long p_87181_, int arg1, C_3253_ arg2)
public boolean
a(long arg0, int arg1)
switchSlot(long arg0, int arg1)
method_20992(long arg0, int arg1)
switchSlot(long worldId, int slot)
m_87176_(long p_87178_, int arg1)
public void
c(long arg0, String arg1)
restoreWorld(long arg0, String arg1)
method_21010(long arg0, String arg1)
restoreWorld(long worldId, String backupId)
m_87224_(long p_87226_, String arg1)
public WorldTemplatePaginatedList
a(int arg0, int arg1, eay$c arg2)
fetchWorldTemplates(int arg0, int arg1, RealmsServer$WorldType arg2)
method_20990(int arg0, int arg1, class_4877$class_4321 arg2)
fetchWorldTemplates(int page, int pageSize, RealmsServer$WorldType type)
m_87170_(int p_87172_, int p_87173_, C_3247_ arg2)
public Boolean
d(long arg0, String arg1)
putIntoMinigameMode(long arg0, String arg1)
method_21014(long arg0, String arg1)
putIntoMinigameMode(long worldId, String minigameId)
m_87232_(long p_87234_, String arg1)
public Ops
e(long arg0, String arg1)
op(long arg0, String arg1)
method_21017(long arg0, String arg1)
op(long worldId, String profileUuid)
m_87238_(long p_87240_, String arg1)
public Ops
f(long arg0, String arg1)
deop(long arg0, String arg1)
method_21020(long arg0, String arg1)
deop(long worldId, String profileUuid)
m_87244_(long p_87246_, String arg1)
public Boolean
f(long arg0)
open(long arg0)
method_21019(long arg0)
open(long worldId)
m_87236_(long arg0)
public Boolean
g(long arg0)
close(long arg0)
method_21022(long arg0)
close(long worldId)
m_87242_(long arg0)
public Boolean
a(long arg0, edq arg1)
resetWorldWithSeed(long arg0, WorldGenerationInfo arg1)
method_20995(long arg0, class_4413 arg1)
resetWorldWithSeed(long worldId, ResetWorldInfo resetWorldInfo)
m_167275_(long p_167277_, C_141567_ arg1)
public Boolean
g(long arg0, String arg1)
resetWorldWithTemplate(long arg0, String arg1)
method_21023(long arg0, String arg1)
resetWorldWithTemplate(long worldId, String worldTemplateId)
m_87250_(long p_87252_, String arg1)
public Subscription
h(long arg0)
subscriptionFor(long arg0)
method_21025(long arg0)
subscriptionFor(long worldId)
m_87248_(long arg0)
public int
j()
pendingInvitesCount()
method_21029()
pendingInvitesCount()
m_87260_()
public PendingInvitesList
k()
pendingInvites()
method_21030()
pendingInvites()
m_87261_()
private boolean
a(eas arg0)
isBlocked(PendingInvite arg0)
method_31381(class_4871 arg0)
isOwnerBlocked(PendingInvite pendingInvite)
m_87197_(C_3238_ arg0)
public void
a(String arg0)
acceptInvitation(String arg0)
method_20999(String arg0)
acceptInvitation(String invitationId)
m_87201_(String arg0)
public WorldDownload
b(long arg0, int arg1)
requestDownloadInfo(long arg0, int arg1)
method_21003(long arg0, int arg1)
download(long worldId, int slotId)
m_87209_(long p_87211_, int arg1)
public UploadInfo
h(long arg0, String arg1)
requestUploadInfo(long arg0, String arg1)
method_21026(long arg0, String arg1)
upload(long worldId, String token)
m_87256_(long p_87258_, String arg1)
public void
b(String arg0)
rejectInvitation(String arg0)
method_21006(String arg0)
rejectInvitation(String invitationId)
m_87219_(String arg0)
public void
l()
agreeToTos()
method_21031()
agreeToTos()
m_87262_()
public RealmsNews
m()
getNews()
method_21032()
getNews()
m_87263_()
public void
a(eau arg0)
sendPingResults(PingResult arg0)
method_20997(class_4873 arg0)
sendPingResults(PingResult pingResult)
m_87199_(C_3240_ arg0)
public Boolean
n()
trialAvailable()
method_21033()
trialAvailable()
m_87264_()
public void
i(long arg0)
deleteWorld(long arg0)
method_21028(long arg0)
deleteWorld(long worldId)
m_87254_(long arg0)
private String
c(String arg0)
url(String arg0)
method_21011(String arg0)
url(String path)
m_87227_(String arg0)
private String
a(String arg0, String arg1)
url(String arg0, String arg1)
method_21007(String arg0, String arg1)
url(String path, String queryString)
m_87203_(String p_87205_, String arg1)
private String
a(eal<?> arg0)
execute(Request<?> arg0)
method_20998(class_4346<?> arg0)
execute(Request<?> r)
m_87195_(C_3228_<?> arg0)
private static String
a(int arg0)
getHttpCodeDescription(int arg0)
method_39979(int arg0)
getErrorMessage(int httpResultCode)
m_200936_(int p_200937_)