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 TypeFieldDescriptionstatic RealmsClient.Environment
private static final PersistenceSerializer
private static boolean
private static final org.apache.logging.log4j.Logger
private final Minecraft
private final String
private final String
-
Constructor Summary
ConstructorDescriptionRealmsClient
(String p_i244721_1_, String p_i244721_2_, Minecraft p_i244721_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptInvitation
(String p_224901_1_) void
backupsFor
(long p_224923_1_) close
(long p_224932_1_) static RealmsClient
create()
void
deleteWorld
(long p_224916_1_) private String
fetchWorldTemplates
(int p_224930_1_, int p_224930_2_, RealmsServer.ServerType p_224930_3_) getNews()
getOwnWorld
(long p_224935_1_) void
initializeWorld
(long p_224900_1_, String p_224900_3_, String p_224900_4_) private boolean
isBlocked
(PendingInvite p_244733_1_) join
(long p_224904_1_) open
(long p_224942_1_) int
putIntoMinigameMode
(long p_224905_1_, String p_224905_3_) void
rejectInvitation
(String p_224913_1_) requestDownloadInfo
(long p_224917_1_, int p_224917_3_) requestUploadInfo
(long p_224934_1_, String p_224934_3_) resetWorldWithSeed
(long p_224943_1_, String p_224943_3_, Integer p_224943_4_, boolean p_224943_5_) resetWorldWithTemplate
(long p_224924_1_, String p_224924_3_) void
restoreWorld
(long p_224928_1_, String p_224928_3_) void
sendPingResults
(PingResult p_224903_1_) subscriptionFor
(long p_224933_1_) boolean
switchSlot
(long p_224927_1_, int p_224927_3_) static void
static void
static void
void
void
uninviteMyselfFrom
(long p_224912_1_) void
void
updateSlot
(long p_224925_1_, int p_224925_3_, RealmsWorldOptions p_224925_4_) 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
-
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
-
getLiveStats
- Throws:
RealmsServiceException
-
join
- Throws:
RealmsServiceException
-
initializeWorld
public void initializeWorld(long p_224900_1_, String p_224900_3_, String p_224900_4_) 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
public void update(long p_224922_1_, String p_224922_3_, String p_224922_4_) throws RealmsServiceException - Throws:
RealmsServiceException
-
updateSlot
public void updateSlot(long p_224925_1_, int p_224925_3_, RealmsWorldOptions p_224925_4_) throws RealmsServiceException - Throws:
RealmsServiceException
-
switchSlot
- Throws:
RealmsServiceException
-
restoreWorld
- Throws:
RealmsServiceException
-
fetchWorldTemplates
public WorldTemplatePaginatedList fetchWorldTemplates(int p_224930_1_, int p_224930_2_, RealmsServer.ServerType p_224930_3_) throws RealmsServiceException - Throws:
RealmsServiceException
-
putIntoMinigameMode
public Boolean putIntoMinigameMode(long p_224905_1_, String p_224905_3_) throws RealmsServiceException - Throws:
RealmsServiceException
-
op
- Throws:
RealmsServiceException
-
deop
- Throws:
RealmsServiceException
-
open
- Throws:
RealmsServiceException
-
close
- Throws:
RealmsServiceException
-
resetWorldWithSeed
public Boolean resetWorldWithSeed(long p_224943_1_, String p_224943_3_, Integer p_224943_4_, boolean p_224943_5_) throws RealmsServiceException - Throws:
RealmsServiceException
-
resetWorldWithTemplate
public Boolean resetWorldWithTemplate(long p_224924_1_, String p_224924_3_) throws RealmsServiceException - Throws:
RealmsServiceException
-
subscriptionFor
- Throws:
RealmsServiceException
-
pendingInvitesCount
- Throws:
RealmsServiceException
-
pendingInvites
- Throws:
RealmsServiceException
-
isBlocked
-
acceptInvitation
- Throws:
RealmsServiceException
-
requestDownloadInfo
public WorldDownload requestDownloadInfo(long p_224917_1_, int p_224917_3_) throws RealmsServiceException - Throws:
RealmsServiceException
-
requestUploadInfo
@Nullable public UploadInfo requestUploadInfo(long p_224934_1_, @Nullable String p_224934_3_) 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
-