com.mojang.realmsclient.client

public class RealmsClient

emf
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 final RealmsClient$Environment
a
ENVIRONMENT
field_45232
ENVIRONMENT
f_291356_
private static final org.slf4j.Logger
b
LOGGER
field_19578
LOGGER
f_87159_
private final String
c
sessionId
field_19579
sessionId
f_87160_
private final String
d
username
field_19580
username
f_87161_
private final Minecraft
e
minecraft
field_26901
client
f_87162_
private static final String
f
WORLDS_RESOURCE_PATH
field_32076
WORLDS_ENDPOINT
f_167255_
private static final String
g
INVITES_RESOURCE_PATH
field_32077
INVITES_ENDPOINT
f_167256_
private static final String
h
MCO_RESOURCE_PATH
field_32078
MCO_ENDPOINT
f_167257_
private static final String
i
SUBSCRIPTION_RESOURCE
field_32079
SUBSCRIPTIONS_ENDPOINT
f_167258_
private static final String
j
ACTIVITIES_RESOURCE
field_32080
ACTIVITIES_ENDPOINT
f_167259_
private static final String
k
OPS_RESOURCE
field_32081
OPS_ENDPOINT
f_167260_
private static final String
l
REGIONS_RESOURCE
field_32082
PING_STAT_ENDPOINT
f_167261_
private static final String
m
TRIALS_RESOURCE
field_32083
TRIAL_ENDPOINT
f_167262_
private static final String
n
NOTIFICATIONS_RESOURCE
field_43014
NOTIFICATIONS_ENDPOINT
f_273928_
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_MARK_NOTIFICATIONS_SEEN
field_43012
SEEN_ENDPOINT
f_273827_
private static final String
S
PATH_DISMISS_NOTIFICATIONS
field_43013
DISMISS_ENDPOINT
f_273877_
private static final GuardedSerializer
T
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_44616()
create()
m_87169_()
public static RealmsClient
a(eqv arg0)
create(Minecraft arg0)
method_20989(class_310 arg0)
createRealmsClient(MinecraftClient client)
m_239151_(C_3391_ p_239152_)
public RealmsServerList
b()
listWorlds()
method_21015()
listWorlds()
m_87235_()
public List<RealmsNotification>
c()
getNotifications()
method_49572()
listNotifications()
m_274314_()
private static com.google.gson.JsonArray
c(List<UUID> arg0)
uuidListToJsonArray(List<UUID> arg0)
method_49571(List<UUID> arg0)
toJsonArray(List<UUID> uuids)
m_274462_(List<UUID> p_275393_)
public void
a(List<UUID> arg0)
notificationsSeen(List<UUID> arg0)
method_49569(List<UUID> arg0)
markNotificationsAsSeen(List<UUID> notifications)
m_274582_(List<UUID> arg0)
public void
b(List<UUID> arg0)
notificationsDismiss(List<UUID> arg0)
method_49570(List<UUID> arg0)
dismissNotifications(List<UUID> notifications)
m_274401_(List<UUID> arg0)
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
d()
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
e()
hasParentalConsent()
method_52655()
mcoEnabled()
m_293015_()
public RealmsClient$CompatibleVersionResponse
f()
clientCompatible()
method_21027()
clientCompatible()
m_87259_()
public void
a(long arg0, UUID arg1)
uninvite(long arg0, UUID arg1)
method_20994(long arg0, UUID arg1)
uninvite(long worldId, UUID profileUuid)
m_87183_(long p_300114_, UUID arg1)
public void
d(long arg0)
uninviteMyselfFrom(long arg0)
method_21013(long arg0)
uninviteMyselfFrom(long worldId)
m_87222_(long arg0)
public RealmsServer
a(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, end 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
b(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, emw$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_3244_$C_3247_ arg2)
public Boolean
c(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
b(long arg0, UUID arg1)
op(long arg0, UUID arg1)
method_21017(long arg0, UUID arg1)
op(long worldId, UUID profileUuid)
m_87238_(long p_297634_, UUID arg1)
public Ops
c(long arg0, UUID arg1)
deop(long arg0, UUID arg1)
method_21020(long arg0, UUID arg1)
deop(long worldId, UUID profileUuid)
m_87244_(long p_298989_, UUID 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, epp 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
d(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
g()
pendingInvitesCount()
method_21029()
pendingInvitesCount()
m_87260_()
public PendingInvitesList
h()
pendingInvites()
method_21030()
pendingInvites()
m_87261_()
private boolean
a(emp arg0)
isBlocked(PendingInvite arg0)
method_31381(class_4871 arg0)
isOwnerBlocked(PendingInvite invite)
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
e(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
i()
agreeToTos()
method_21031()
agreeToTos()
m_87262_()
public RealmsNews
j()
getNews()
method_21032()
getNews()
m_87263_()
public void
a(emr arg0)
sendPingResults(PingResult arg0)
method_20997(class_4873 arg0)
sendPingResults(PingResult pingResult)
m_87199_(C_3240_ arg0)
public Boolean
k()
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(emi<?> arg0)
execute(Request<?> arg0)
method_20998(class_4346<?> arg0)
execute(Request<?> r)
m_87195_(C_3228_<?> arg0)