Package net.minecraft.client.realms
Class FileDownload
java.lang.Object
net.minecraft.client.realms.FileDownload
- Mappings:
Namespace Name named net/minecraft/client/realms/FileDownloadintermediary net/minecraft/class_4333official fye
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()static OptionalLongcontentLength(String string) voiddownloadWorld(WorldDownload worldDownload, String message, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, LevelStorage storage) static StringfindAvailableFolderName(String folder) booleanisError()booleanbooleanprivate voidmethod_76235(RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, File file, WorldDownload worldDownload) private voidmethod_76236(RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, HttpClient httpClient, String string, File file) private voidmethod_76237(String string, File file, LevelStorage levelStorage, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus) private <T> @Nullable Tmethod_76238(CompletableFuture<T> completableFuture) private static HttpRequest.Buildermethod_76239(String string) private static HttpClientprivate voiduntarGzipArchive(String name, @Nullable File archive, LevelStorage storage)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/FileDownload;LOGGER:Lorg/slf4j/Logger;intermediary field_19522Lnet/minecraft/class_4333;field_19522:Lorg/slf4j/Logger;official aLfye;a:Lorg/slf4j/Logger;
-
INVALID_FILE_NAMES
- Mappings:
Namespace Name Mixin selector named INVALID_FILE_NAMESLnet/minecraft/client/realms/FileDownload;INVALID_FILE_NAMES:[Ljava/lang/String;intermediary field_19532Lnet/minecraft/class_4333;field_19532:[Ljava/lang/String;official jLfye;j:[Ljava/lang/String;
-
cancelled
private volatile boolean cancelled- Mappings:
Namespace Name Mixin selector named cancelledLnet/minecraft/client/realms/FileDownload;cancelled:Zintermediary field_19523Lnet/minecraft/class_4333;field_19523:Zofficial bLfye;b:Z
-
finished
private volatile boolean finished- Mappings:
Namespace Name Mixin selector named finishedLnet/minecraft/client/realms/FileDownload;finished:Zintermediary field_19524Lnet/minecraft/class_4333;field_19524:Zofficial cLfye;c:Z
-
error
private volatile boolean error- Mappings:
Namespace Name Mixin selector named errorLnet/minecraft/client/realms/FileDownload;error:Zintermediary field_19525Lnet/minecraft/class_4333;field_19525:Zofficial dLfye;d:Z
-
extracting
private volatile boolean extracting- Mappings:
Namespace Name Mixin selector named extractingLnet/minecraft/client/realms/FileDownload;extracting:Zintermediary field_19526Lnet/minecraft/class_4333;field_19526:Zofficial eLfye;e:Z
-
backupFile
- Mappings:
Namespace Name Mixin selector named backupFileLnet/minecraft/client/realms/FileDownload;backupFile:Ljava/io/File;intermediary field_20490Lnet/minecraft/class_4333;field_20490:Ljava/io/File;official fLfye;f:Ljava/io/File;
-
resourcePackPath
- Mappings:
Namespace Name Mixin selector named resourcePackPathLnet/minecraft/client/realms/FileDownload;resourcePackPath:Ljava/io/File;intermediary field_19528Lnet/minecraft/class_4333;field_19528:Ljava/io/File;official gLfye;g:Ljava/io/File;
-
field_64188
- Mappings:
Namespace Name Mixin selector named field_64188Lnet/minecraft/client/realms/FileDownload;field_64188:Ljava/util/concurrent/CompletableFuture;intermediary field_64188Lnet/minecraft/class_4333;field_64188:Ljava/util/concurrent/CompletableFuture;official hLfye;h:Ljava/util/concurrent/CompletableFuture;
-
currentThread
- Mappings:
Namespace Name Mixin selector named currentThreadLnet/minecraft/client/realms/FileDownload;currentThread:Ljava/lang/Thread;intermediary field_19530Lnet/minecraft/class_4333;field_19530:Ljava/lang/Thread;official iLfye;i:Ljava/lang/Thread;
-
-
Constructor Details
-
FileDownload
public FileDownload()
-
-
Method Details
-
method_76238
- Throws:
Throwable- Mappings:
Namespace Name Mixin selector named method_76238Lnet/minecraft/client/realms/FileDownload;method_76238(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/Object;intermediary method_76238Lnet/minecraft/class_4333;method_76238(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/Object;official aLfye;a(Ljava/util/concurrent/CompletableFuture;)Ljava/lang/Object;
-
method_76240
- Mappings:
Namespace Name Mixin selector named method_76240Lnet/minecraft/client/realms/FileDownload;method_76240()Ljava/net/http/HttpClient;intermediary method_76240Lnet/minecraft/class_4333;method_76240()Ljava/net/http/HttpClient;official eLfye;e()Ljava/net/http/HttpClient;
-
method_76239
- Mappings:
Namespace Name Mixin selector named method_76239Lnet/minecraft/client/realms/FileDownload;method_76239(Ljava/lang/String;)Ljava/net/http/HttpRequest$Builder;intermediary method_76239Lnet/minecraft/class_4333;method_76239(Ljava/lang/String;)Ljava/net/http/HttpRequest$Builder;official cLfye;c(Ljava/lang/String;)Ljava/net/http/HttpRequest$Builder;
-
contentLength
- Mappings:
Namespace Name Mixin selector named contentLengthLnet/minecraft/client/realms/FileDownload;contentLength(Ljava/lang/String;)Ljava/util/OptionalLong;intermediary method_20955Lnet/minecraft/class_4333;method_20955(Ljava/lang/String;)Ljava/util/OptionalLong;official aLfye;a(Ljava/lang/String;)Ljava/util/OptionalLong;
-
downloadWorld
public void downloadWorld(WorldDownload worldDownload, String message, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, LevelStorage storage) - Mappings:
Namespace Name Mixin selector named downloadWorldLnet/minecraft/client/realms/FileDownload;downloadWorld(Lnet/minecraft/client/realms/dto/WorldDownload;Ljava/lang/String;Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;Lnet/minecraft/world/level/storage/LevelStorage;)Vintermediary method_22100Lnet/minecraft/class_4333;method_22100(Lnet/minecraft/class_4889;Ljava/lang/String;Lnet/minecraft/class_4392$class_4393;Lnet/minecraft/class_32;)Vofficial aLfye;a(Lgag;Ljava/lang/String;Lgaz$a;Lflv;)V
-
method_76236
private void method_76236(RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, HttpClient httpClient, String string, File file) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector named method_76236Lnet/minecraft/client/realms/FileDownload;method_76236(Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;Ljava/net/http/HttpClient;Ljava/lang/String;Ljava/io/File;)Vintermediary method_76236Lnet/minecraft/class_4333;method_76236(Lnet/minecraft/class_4392$class_4393;Ljava/net/http/HttpClient;Ljava/lang/String;Ljava/io/File;)Vofficial aLfye;a(Lgaz$a;Ljava/net/http/HttpClient;Ljava/lang/String;Ljava/io/File;)V
-
cancel
public void cancel()- Mappings:
Namespace Name Mixin selector named cancelLnet/minecraft/client/realms/FileDownload;cancel()Vintermediary method_20948Lnet/minecraft/class_4333;method_20948()Vofficial aLfye;a()V
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector named isFinishedLnet/minecraft/client/realms/FileDownload;isFinished()Zintermediary method_20957Lnet/minecraft/class_4333;method_20957()Zofficial bLfye;b()Z
-
isError
public boolean isError()- Mappings:
Namespace Name Mixin selector named isErrorLnet/minecraft/client/realms/FileDownload;isError()Zintermediary method_20961Lnet/minecraft/class_4333;method_20961()Zofficial cLfye;c()Z
-
isExtracting
public boolean isExtracting()- Mappings:
Namespace Name Mixin selector named isExtractingLnet/minecraft/client/realms/FileDownload;isExtracting()Zintermediary method_20964Lnet/minecraft/class_4333;method_20964()Zofficial dLfye;d()Z
-
findAvailableFolderName
- Mappings:
Namespace Name Mixin selector named findAvailableFolderNameLnet/minecraft/client/realms/FileDownload;findAvailableFolderName(Ljava/lang/String;)Ljava/lang/String;intermediary method_20960Lnet/minecraft/class_4333;method_20960(Ljava/lang/String;)Ljava/lang/String;official bLfye;b(Ljava/lang/String;)Ljava/lang/String;
-
untarGzipArchive
private void untarGzipArchive(String name, @Nullable File archive, LevelStorage storage) throws IOException - Throws:
IOException- Mappings:
Namespace Name Mixin selector named untarGzipArchiveLnet/minecraft/client/realms/FileDownload;untarGzipArchive(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/world/level/storage/LevelStorage;)Vintermediary method_20956Lnet/minecraft/class_4333;method_20956(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/class_32;)Vofficial aLfye;a(Ljava/lang/String;Ljava/io/File;Lflv;)V
-
method_76237
private void method_76237(String string, File file, LevelStorage levelStorage, RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus) - Mappings:
Namespace Name Mixin selector named method_76237Lnet/minecraft/client/realms/FileDownload;method_76237(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/world/level/storage/LevelStorage;Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;)Vintermediary method_76237Lnet/minecraft/class_4333;method_76237(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/class_32;Lnet/minecraft/class_4392$class_4393;)Vofficial aLfye;a(Ljava/lang/String;Ljava/io/File;Lflv;Lgaz$a;)V
-
method_76235
private void method_76235(RealmsDownloadLatestWorldScreen.DownloadStatus downloadStatus, File file, WorldDownload worldDownload) - Mappings:
Namespace Name Mixin selector named method_76235Lnet/minecraft/client/realms/FileDownload;method_76235(Lnet/minecraft/client/realms/gui/screen/RealmsDownloadLatestWorldScreen$DownloadStatus;Ljava/io/File;Lnet/minecraft/client/realms/dto/WorldDownload;)Vintermediary method_76235Lnet/minecraft/class_4333;method_76235(Lnet/minecraft/class_4392$class_4393;Ljava/io/File;Lnet/minecraft/class_4889;)Vofficial aLfye;a(Lgaz$a;Ljava/io/File;Lgag;)V
-