Package com.mojang.realmsclient.client
Class RealmsClient
java.lang.Object
com.mojang.realmsclient.client.RealmsClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic RealmsClient.Environmentprivate static final PersistenceSerializerprivate static booleanprivate static final org.apache.logging.log4j.Loggerprivate final Minecraftprivate final Stringprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionRealmsClient(String p_i244721_1_, String p_i244721_2_, Minecraft p_i244721_3_) -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptInvitation(String p_224901_1_) voidbackupsFor(long p_224923_1_) close(long p_224932_1_) static RealmsClientcreate()voiddeleteWorld(long p_224916_1_) private StringfetchWorldTemplates(int p_224930_1_, int p_224930_2_, RealmsServer.ServerType p_224930_3_) getNews()getOwnWorld(long p_224935_1_) voidinitializeWorld(long p_224900_1_, String p_224900_3_, String p_224900_4_) private booleanisBlocked(PendingInvite p_244733_1_) join(long p_224904_1_) open(long p_224942_1_) intputIntoMinigameMode(long p_224905_1_, String p_224905_3_) voidrejectInvitation(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_) voidrestoreWorld(long p_224928_1_, String p_224928_3_) voidsendPingResults(PingResult p_224903_1_) subscriptionFor(long p_224933_1_) booleanswitchSlot(long p_224927_1_, int p_224927_3_) static voidstatic voidstatic voidvoidvoiduninviteMyselfFrom(long p_224912_1_) voidvoidupdateSlot(long p_224925_1_, int p_224925_3_, RealmsWorldOptions p_224925_4_) private Stringprivate 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
-