Package com.mojang.realmsclient.client
Class RealmsClient
java.lang.Object
com.mojang.realmsclient.client.RealmsClient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
static final RealmsClient.Environment
private static final GuardedSerializer
private static final String
private static final org.slf4j.Logger
private static final String
private final Minecraft
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private final String
private static final String
private static final String
private final String
private static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptInvitation
(String p_87202_) void
backupsFor
(long p_87231_) close
(long p_87243_) static RealmsClient
create()
static RealmsClient
createSnapshotRealm
(Long p_310421_) void
deleteRealm
(long p_87255_) private String
fetchWorldTemplates
(int p_87171_, int p_87172_, RealmsServer.WorldType p_87173_) getActivity
(long p_167279_) getNews()
getOwnRealm
(long p_87175_) boolean
void
initializeRealm
(long p_87192_, String p_87193_, String p_87194_) private boolean
isBlocked
(PendingInvite p_87198_) join
(long p_87208_) void
notificationsDismiss
(List<UUID> p_275407_) void
notificationsSeen
(List<UUID> p_275212_) open
(long p_87237_) int
putIntoMinigameMode
(long p_87233_, String p_87234_) void
rejectInvitation
(String p_87220_) requestDownloadInfo
(long p_87210_, int p_87211_) requestUploadInfo
(long p_87257_, String p_87258_) resetWorldWithSeed
(long p_167276_, WorldGenerationInfo p_167277_) resetWorldWithTemplate
(long p_87251_, String p_87252_) void
restoreWorld
(long p_87225_, String p_87226_) void
sendPingResults
(PingResult p_87200_) subscriptionFor
(long p_87249_) boolean
switchSlot
(long p_87177_, int p_87178_) void
void
uninviteMyselfFrom
(long p_87223_) void
void
updateSlot
(long p_87180_, int p_87181_, RealmsWorldOptions p_87182_) private String
private String
private static com.google.gson.JsonArray
uuidListToJsonArray
(List<UUID> p_275393_)
-
Field Details
-
ENVIRONMENT
-
LOGGER
private static final org.slf4j.Logger LOGGER -
sessionId
-
username
-
minecraft
-
WORLDS_RESOURCE_PATH
- See Also:
-
INVITES_RESOURCE_PATH
- See Also:
-
MCO_RESOURCE_PATH
- See Also:
-
SUBSCRIPTION_RESOURCE
- See Also:
-
ACTIVITIES_RESOURCE
- See Also:
-
OPS_RESOURCE
- See Also:
-
REGIONS_RESOURCE
- See Also:
-
TRIALS_RESOURCE
- See Also:
-
NOTIFICATIONS_RESOURCE
- See Also:
-
PATH_LIST_ALL_REALMS
- See Also:
-
PATH_CREATE_SNAPSHOT_REALM
- See Also:
-
PATH_SNAPSHOT_ELIGIBLE_REALMS
- See Also:
-
PATH_INITIALIZE
- See Also:
-
PATH_GET_ACTIVTIES
- See Also:
-
PATH_GET_LIVESTATS
- See Also:
-
PATH_GET_SUBSCRIPTION
- See Also:
-
PATH_OP
- See Also:
-
PATH_PUT_INTO_MINIGAMES_MODE
- See Also:
-
PATH_AVAILABLE
- See Also:
-
PATH_TEMPLATES
- See Also:
-
PATH_WORLD_JOIN
- See Also:
-
PATH_WORLD_GET
- See Also:
-
PATH_WORLD_INVITES
- See Also:
-
PATH_WORLD_UNINVITE
- See Also:
-
PATH_PENDING_INVITES_COUNT
- See Also:
-
PATH_PENDING_INVITES
- See Also:
-
PATH_ACCEPT_INVITE
- See Also:
-
PATH_REJECT_INVITE
- See Also:
-
PATH_UNINVITE_MYSELF
- See Also:
-
PATH_WORLD_UPDATE
- See Also:
-
PATH_SLOT
- See Also:
-
PATH_WORLD_OPEN
- See Also:
-
PATH_WORLD_CLOSE
- See Also:
-
PATH_WORLD_RESET
- See Also:
-
PATH_DELETE_WORLD
- See Also:
-
PATH_WORLD_BACKUPS
- See Also:
-
PATH_WORLD_DOWNLOAD
- See Also:
-
PATH_WORLD_UPLOAD
- See Also:
-
PATH_CLIENT_COMPATIBLE
- See Also:
-
PATH_TOS_AGREED
- See Also:
-
PATH_NEWS
- See Also:
-
PATH_MARK_NOTIFICATIONS_SEEN
- See Also:
-
PATH_DISMISS_NOTIFICATIONS
- See Also:
-
GSON
-
-
Constructor Details
-
RealmsClient
-
-
Method Details
-
create
-
create
-
listRealms
- Throws:
RealmsServiceException
-
listSnapshotEligibleRealms
- Throws:
RealmsServiceException
-
createSnapshotRealm
- Throws:
RealmsServiceException
-
getNotifications
- Throws:
RealmsServiceException
-
uuidListToJsonArray
-
notificationsSeen
- Throws:
RealmsServiceException
-
notificationsDismiss
- Throws:
RealmsServiceException
-
getOwnRealm
- Throws:
RealmsServiceException
-
getActivity
- Throws:
RealmsServiceException
-
getLiveStats
- Throws:
RealmsServiceException
-
join
- Throws:
RealmsServiceException
-
initializeRealm
public void initializeRealm(long p_87192_, String p_87193_, String p_87194_) throws RealmsServiceException - Throws:
RealmsServiceException
-
hasParentalConsent
- Throws:
RealmsServiceException
-
clientCompatible
- Throws:
RealmsServiceException
-
uninvite
- Throws:
RealmsServiceException
-
uninviteMyselfFrom
- Throws:
RealmsServiceException
-
invite
- Throws:
RealmsServiceException
-
backupsFor
- Throws:
RealmsServiceException
-
update
- Throws:
RealmsServiceException
-
updateSlot
public void updateSlot(long p_87180_, int p_87181_, RealmsWorldOptions p_87182_) throws RealmsServiceException - Throws:
RealmsServiceException
-
switchSlot
- Throws:
RealmsServiceException
-
restoreWorld
- Throws:
RealmsServiceException
-
fetchWorldTemplates
public WorldTemplatePaginatedList fetchWorldTemplates(int p_87171_, int p_87172_, RealmsServer.WorldType p_87173_) throws RealmsServiceException - Throws:
RealmsServiceException
-
putIntoMinigameMode
- Throws:
RealmsServiceException
-
op
- Throws:
RealmsServiceException
-
deop
- Throws:
RealmsServiceException
-
open
- Throws:
RealmsServiceException
-
close
- Throws:
RealmsServiceException
-
resetWorldWithSeed
public Boolean resetWorldWithSeed(long p_167276_, WorldGenerationInfo p_167277_) throws RealmsServiceException - Throws:
RealmsServiceException
-
resetWorldWithTemplate
- Throws:
RealmsServiceException
-
subscriptionFor
- Throws:
RealmsServiceException
-
pendingInvitesCount
- Throws:
RealmsServiceException
-
pendingInvites
- Throws:
RealmsServiceException
-
isBlocked
-
acceptInvitation
- Throws:
RealmsServiceException
-
requestDownloadInfo
- Throws:
RealmsServiceException
-
requestUploadInfo
@Nullable public UploadInfo requestUploadInfo(long p_87257_, @Nullable String p_87258_) throws RealmsServiceException - Throws:
RealmsServiceException
-
rejectInvitation
- Throws:
RealmsServiceException
-
agreeToTos
- Throws:
RealmsServiceException
-
getNews
- Throws:
RealmsServiceException
-
sendPingResults
- Throws:
RealmsServiceException
-
trialAvailable
- Throws:
RealmsServiceException
-
deleteRealm
- Throws:
RealmsServiceException
-
url
-
url
-
execute
- Throws:
RealmsServiceException
-