Package com.mojang.realmsclient.client
Class RealmsClient
java.lang.Object
com.mojang.realmsclient.client.RealmsClient
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static String
static RealmsClient.Environment
private static GuardedSerializer
private static boolean
private static String
private static org.apache.logging.log4j.Logger
private static String
private Minecraft
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private String
private static String
private static String
private String
private static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptInvitation(String p_87202_)
void
backupsFor(long p_87231_)
close(long p_87243_)
static RealmsClient
create()
void
deleteWorld(long p_87255_)
private String
fetchWorldTemplates(int p_87171_, int p_87172_, RealmsServer.WorldType p_87173_)
getActivity(long p_167279_)
getNews()
getOwnWorld(long p_87175_)
void
initializeWorld(long p_87192_, String p_87193_, String p_87194_)
private boolean
isBlocked(PendingInvite p_87198_)
join(long p_87208_)
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_)
static void
static void
static void
void
void
uninviteMyselfFrom(long p_87223_)
void
void
updateSlot(long p_87180_, int p_87181_, RealmsWorldOptions p_87182_)
private String
private String
-
Field Details
-
currentEnvironment
-
initialized
private static boolean initialized -
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
sessionId
-
username
-
minecraft
-
WORLDS_RESOURCE_PATH
- See Also:
- Constant Field Values
-
INVITES_RESOURCE_PATH
- See Also:
- Constant Field Values
-
MCO_RESOURCE_PATH
- See Also:
- Constant Field Values
-
SUBSCRIPTION_RESOURCE
- See Also:
- Constant Field Values
-
ACTIVITIES_RESOURCE
- See Also:
- Constant Field Values
-
OPS_RESOURCE
- See Also:
- Constant Field Values
-
REGIONS_RESOURCE
- See Also:
- Constant Field Values
-
TRIALS_RESOURCE
- See Also:
- Constant Field Values
-
PATH_INITIALIZE
- See Also:
- Constant Field Values
-
PATH_GET_ACTIVTIES
- See Also:
- Constant Field Values
-
PATH_GET_LIVESTATS
- See Also:
- Constant Field Values
-
PATH_GET_SUBSCRIPTION
- See Also:
- Constant Field Values
-
PATH_OP
- See Also:
- Constant Field Values
-
PATH_PUT_INTO_MINIGAMES_MODE
- See Also:
- Constant Field Values
-
PATH_AVAILABLE
- See Also:
- Constant Field Values
-
PATH_TEMPLATES
- See Also:
- Constant Field Values
-
PATH_WORLD_JOIN
- See Also:
- Constant Field Values
-
PATH_WORLD_GET
- See Also:
- Constant Field Values
-
PATH_WORLD_INVITES
- See Also:
- Constant Field Values
-
PATH_WORLD_UNINVITE
- See Also:
- Constant Field Values
-
PATH_PENDING_INVITES_COUNT
- See Also:
- Constant Field Values
-
PATH_PENDING_INVITES
- See Also:
- Constant Field Values
-
PATH_ACCEPT_INVITE
- See Also:
- Constant Field Values
-
PATH_REJECT_INVITE
- See Also:
- Constant Field Values
-
PATH_UNINVITE_MYSELF
- See Also:
- Constant Field Values
-
PATH_WORLD_UPDATE
- See Also:
- Constant Field Values
-
PATH_SLOT
- See Also:
- Constant Field Values
-
PATH_WORLD_OPEN
- See Also:
- Constant Field Values
-
PATH_WORLD_CLOSE
- See Also:
- Constant Field Values
-
PATH_WORLD_RESET
- See Also:
- Constant Field Values
-
PATH_DELETE_WORLD
- See Also:
- Constant Field Values
-
PATH_WORLD_BACKUPS
- See Also:
- Constant Field Values
-
PATH_WORLD_DOWNLOAD
- See Also:
- Constant Field Values
-
PATH_WORLD_UPLOAD
- See Also:
- Constant Field Values
-
PATH_CLIENT_COMPATIBLE
- See Also:
- Constant Field Values
-
PATH_TOS_AGREED
- See Also:
- Constant Field Values
-
PATH_NEWS
- See Also:
- Constant Field Values
-
PATH_STAGE_AVAILABLE
- See Also:
- Constant Field Values
-
GSON
-
-
Constructor Details
-
RealmsClient
-
-
Method Details
-
create
-
switchToStage
public static void switchToStage() -
switchToProd
public static void switchToProd() -
switchToLocal
public static void switchToLocal() -
listWorlds
- Throws:
RealmsServiceException
-
getOwnWorld
- Throws:
RealmsServiceException
-
getActivity
- Throws:
RealmsServiceException
-
getLiveStats
- Throws:
RealmsServiceException
-
join
- Throws:
RealmsServiceException
-
initializeWorld
public void initializeWorld(long p_87192_, String p_87193_, String p_87194_) throws RealmsServiceException- Throws:
RealmsServiceException
-
mcoEnabled
- Throws:
RealmsServiceException
-
stageAvailable
- 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
public Boolean resetWorldWithTemplate(long p_87251_, String p_87252_) throws RealmsServiceException- Throws:
RealmsServiceException
-
subscriptionFor
- Throws:
RealmsServiceException
-
pendingInvitesCount
- Throws:
RealmsServiceException
-
pendingInvites
- Throws:
RealmsServiceException
-
isBlocked
-
acceptInvitation
- Throws:
RealmsServiceException
-
requestDownloadInfo
public WorldDownload requestDownloadInfo(long p_87210_, int p_87211_) throws RealmsServiceException- 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
-
deleteWorld
- Throws:
RealmsServiceException
-
url
-
url
-
execute
- Throws:
RealmsServiceException
-