com.mojang.realmsclient.client

public class RealmsClient

fgl
com.mojang.realmsclient.client.RealmsClient
net.minecraft.class_4341
net.minecraft.client.realms.RealmsClient

Field summary

Modifier and TypeField
public static final RealmsClient$Environment
a
ENVIRONMENT
field_45232
ENVIRONMENT
private static final org.slf4j.Logger
b
LOGGER
field_19578
LOGGER
private final String
c
sessionId
field_19579
sessionId
private final String
d
username
field_19580
username
private final Minecraft
e
minecraft
field_26901
client
private static final String
f
WORLDS_RESOURCE_PATH
field_32076
WORLDS_ENDPOINT
private static final String
g
INVITES_RESOURCE_PATH
field_32077
INVITES_ENDPOINT
private static final String
h
MCO_RESOURCE_PATH
field_32078
MCO_ENDPOINT
private static final String
i
SUBSCRIPTION_RESOURCE
field_32079
SUBSCRIPTIONS_ENDPOINT
private static final String
j
ACTIVITIES_RESOURCE
field_32080
ACTIVITIES_ENDPOINT
private static final String
k
OPS_RESOURCE
field_32081
OPS_ENDPOINT
private static final String
l
REGIONS_RESOURCE
field_32082
PING_STAT_ENDPOINT
private static final String
m
TRIALS_RESOURCE
field_32083
TRIAL_ENDPOINT
private static final String
n
NOTIFICATIONS_RESOURCE
field_43014
NOTIFICATIONS_ENDPOINT
private static final String
o
PATH_LIST_ALL_REALMS
field_46687
LIST_USER_WORLDS_OF_TYPE_ANY_ENDPOINT
private static final String
p
PATH_CREATE_SNAPSHOT_REALM
field_46688
CREATE_PRERELEASE_REALM_ENDPOINT
private static final String
q
PATH_SNAPSHOT_ELIGIBLE_REALMS
field_46689
LIST_PRERELEASE_ELIGIBLE_WORLDS_ENDPOINT
private static final String
r
PATH_INITIALIZE
field_32084
WORLD_INITIALIZE_ENDPOINT
private static final String
s
PATH_GET_ACTIVTIES
field_32085
WORLD_ENDPOINT
private static final String
t
PATH_GET_LIVESTATS
field_32086
LIVEPLAYERLIST_ENDPOINT
private static final String
u
PATH_GET_SUBSCRIPTION
field_32087
WORLD_ENDPOINT_2
private static final String
v
PATH_OP
field_32088
WORLD_PROFILE_ENDPOINT
private static final String
w
PATH_PUT_INTO_MINIGAMES_MODE
field_32089
MINIGAMES_ENDPOINT
private static final String
x
PATH_AVAILABLE
field_32090
AVAILABLE_ENDPOINT
private static final String
y
PATH_TEMPLATES
field_32091
TEMPLATES_ENDPOINT
private static final String
z
PATH_WORLD_JOIN
field_32092
JOIN_PC_ENDPOINT
private static final String
A
PATH_WORLD_GET
field_32093
ID_ENDPOINT
private static final String
B
PATH_WORLD_INVITES
field_32094
WORLD_ENDPOINT_3
private static final String
C
PATH_WORLD_UNINVITE
field_32095
INVITE_ENDPOINT
private static final String
D
PATH_PENDING_INVITES_COUNT
field_32058
COUNT_PENDING_ENDPOINT
private static final String
E
PATH_PENDING_INVITES
field_32059
PENDING_ENDPOINT
private static final String
F
PATH_ACCEPT_INVITE
field_32060
ACCEPT_INVITATION_ENDPOINT
private static final String
G
PATH_REJECT_INVITE
field_32061
REJECT_INVITATION_ENDPOINT
private static final String
H
PATH_UNINVITE_MYSELF
field_32062
WORLD_ENDPOINT_4
private static final String
I
PATH_WORLD_UPDATE
field_32063
WORLD_ENDPOINT_5
private static final String
J
PATH_SLOT
field_32064
WORLD_SLOT_ENDPOINT
private static final String
K
PATH_WORLD_OPEN
field_32065
WORLD_OPEN_ENDPOINT
private static final String
L
PATH_WORLD_CLOSE
field_32066
WORLD_CLOSE_ENDPOINT
private static final String
M
PATH_WORLD_RESET
field_32067
WORLD_RESET_ENDPOINT
private static final String
N
PATH_DELETE_WORLD
field_32068
WORLD_ENDPOINT_6
private static final String
O
PATH_WORLD_BACKUPS
field_32069
WORLD_BACKUPS_ENDPOINT
private static final String
P
PATH_WORLD_DOWNLOAD
field_32070
WORLD_SLOT_DOWNLOAD_ENDPOINT
private static final String
Q
PATH_WORLD_UPLOAD
field_32071
WORLD_BACKUPS_UPLOAD_ENDPOINT
private static final String
R
PATH_CLIENT_COMPATIBLE
field_32072
CLIENT_COMPATIBLE_ENDPOINT
private static final String
S
PATH_TOS_AGREED
field_32073
TOS_AGREED_ENDPOINT
private static final String
T
PATH_NEWS
field_32074
NEWS_ENDPOINT
private static final String
U
PATH_MARK_NOTIFICATIONS_SEEN
field_43012
SEEN_ENDPOINT
private static final String
V
PATH_DISMISS_NOTIFICATIONS
field_43013
DISMISS_ENDPOINT
private static final GuardedSerializer
W
GSON
field_22568
JSON

Constructor summary

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

Method summary

Modifier and TypeMethod
public static RealmsClient
a()
create()
method_44616()
create()
public static RealmsClient
a(flk arg0)
create(Minecraft arg0)
method_20989(class_310 arg0)
createRealmsClient(MinecraftClient client)
public RealmsServerList
b()
listRealms()
method_21015()
listWorlds()
public List<RealmsServer>
c()
listSnapshotEligibleRealms()
method_54361()
getPrereleaseEligibleServers()
public RealmsServer
a(Long arg0)
createSnapshotRealm(Long arg0)
method_54360(Long arg0)
createPrereleaseServer(Long parentWorldId)
public List<RealmsNotification>
d()
getNotifications()
method_49572()
listNotifications()
private static com.google.gson.JsonArray
c(List<UUID> arg0)
uuidListToJsonArray(List<UUID> arg0)
method_49571(List<UUID> arg0)
toJsonArray(List<UUID> uuids)
public void
a(List<UUID> arg0)
notificationsSeen(List<UUID> arg0)
method_49569(List<UUID> arg0)
markNotificationsAsSeen(List<UUID> notifications)
public void
b(List<UUID> arg0)
notificationsDismiss(List<UUID> arg0)
method_49570(List<UUID> arg0)
dismissNotifications(List<UUID> notifications)
public RealmsServer
a(long arg0)
getOwnRealm(long arg0)
method_20991(long arg0)
getOwnWorld(long worldId)
public ServerActivityList
b(long arg0)
getActivity(long arg0)
method_35684(long arg0)
getPlayerActivities(long worldId)
public RealmsServerPlayerLists
e()
getLiveStats()
method_21018()
getLiveStats()
public RealmsServerAddress
c(long arg0)
join(long arg0)
method_21009(long arg0)
join(long worldId)
public void
a(long arg0, String arg1, String arg2)
initializeRealm(long arg0, String arg1, String arg2)
method_20996(long arg0, String arg1, String arg2)
initializeWorld(long worldId, String name, String motd)
public boolean
f()
hasParentalConsent()
method_52655()
mcoEnabled()
public RealmsClient$CompatibleVersionResponse
g()
clientCompatible()
method_21027()
clientCompatible()
public void
a(long arg0, UUID arg1)
uninvite(long arg0, UUID arg1)
method_20994(long arg0, UUID arg1)
uninvite(long worldId, UUID profileUuid)
public void
d(long arg0)
uninviteMyselfFrom(long arg0)
method_21013(long arg0)
uninviteMyselfFrom(long worldId)
public RealmsServer
a(long arg0, String arg1)
invite(long arg0, String arg1)
method_21004(long arg0, String arg1)
invite(long worldId, String profileName)
public BackupList
e(long arg0)
backupsFor(long arg0)
method_21016(long arg0)
backupsFor(long worldId)
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)
public void
a(long arg0, int arg1, fhs arg2)
updateSlot(long arg0, int arg1, RealmsWorldOptions arg2)
method_20993(long arg0, int arg1, class_4883 arg2)
updateSlot(long worldId, int slot, RealmsWorldOptions options)
public boolean
a(long arg0, int arg1)
switchSlot(long arg0, int arg1)
method_20992(long arg0, int arg1)
switchSlot(long worldId, int slot)
public void
b(long arg0, String arg1)
restoreWorld(long arg0, String arg1)
method_21010(long arg0, String arg1)
restoreWorld(long worldId, String backupId)
public WorldTemplatePaginatedList
a(int arg0, int arg1, fhm$d 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)
public Boolean
c(long arg0, String arg1)
putIntoMinigameMode(long arg0, String arg1)
method_21014(long arg0, String arg1)
putIntoMinigameMode(long worldId, String minigameId)
public Ops
b(long arg0, UUID arg1)
op(long arg0, UUID arg1)
method_21017(long arg0, UUID arg1)
op(long worldId, UUID profileUuid)
public Ops
c(long arg0, UUID arg1)
deop(long arg0, UUID arg1)
method_21020(long arg0, UUID arg1)
deop(long worldId, UUID profileUuid)
public Boolean
f(long arg0)
open(long arg0)
method_21019(long arg0)
open(long worldId)
public Boolean
g(long arg0)
close(long arg0)
method_21022(long arg0)
close(long worldId)
public Boolean
d(long arg0, String arg1)
resetWorldWithTemplate(long arg0, String arg1)
method_21023(long arg0, String arg1)
resetWorldWithTemplate(long worldId, String worldTemplateId)
public Subscription
h(long arg0)
subscriptionFor(long arg0)
method_21025(long arg0)
subscriptionFor(long worldId)
public int
h()
pendingInvitesCount()
method_21029()
pendingInvitesCount()
public PendingInvitesList
i()
pendingInvites()
method_21030()
pendingInvites()
private boolean
a(fhf arg0)
isBlocked(PendingInvite arg0)
method_31381(class_4871 arg0)
isOwnerBlocked(PendingInvite invite)
public void
a(String arg0)
acceptInvitation(String arg0)
method_20999(String arg0)
acceptInvitation(String invitationId)
public WorldDownload
b(long arg0, int arg1)
requestDownloadInfo(long arg0, int arg1)
method_21003(long arg0, int arg1)
download(long worldId, int slotId)
public UploadInfo
i(long arg0)
requestUploadInfo(long arg0)
method_21026(long arg0)
upload(long worldId)
public void
b(String arg0)
rejectInvitation(String arg0)
method_21006(String arg0)
rejectInvitation(String invitationId)
public void
j()
agreeToTos()
method_21031()
agreeToTos()
public RealmsNews
k()
getNews()
method_21032()
getNews()
public void
a(fhh arg0)
sendPingResults(PingResult arg0)
method_20997(class_4873 arg0)
sendPingResults(PingResult pingResult)
public Boolean
l()
trialAvailable()
method_21033()
trialAvailable()
public void
j(long arg0)
deleteRealm(long arg0)
method_21028(long arg0)
deleteWorld(long worldId)
private String
c(String arg0)
url(String arg0)
method_21011(String arg0)
url(String path)
private String
a(String arg0, String arg1)
url(String arg0, String arg1)
method_21007(String arg0, String arg1)
url(String path, String queryString)
private String
a(fgo<?> arg0)
execute(Request<?> arg0)
method_20998(class_4346<?> arg0)
execute(Request<?> r)