Package net.minecraft.client.realms
Class FileDownload
java.lang.Object
net.minecraft.client.realms.FileDownload
- Mappings:
Namespace Name official dqw
intermediary net/minecraft/class_4333
named net/minecraft/client/realms/FileDownload
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
-
Field Summary
Modifier and TypeFieldDescriptionprivate File
(package private) boolean
private Thread
(package private) boolean
(package private) boolean
(package private) boolean
private org.apache.http.client.methods.HttpGet
private static String[]
(package private) static Logger
private org.apache.http.client.config.RequestConfig
(package private) File
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
long
contentLength(String downloadLink)
void
downloadWorld(WorldDownload download, String message, RealmsDownloadLatestWorldScreen.DownloadStatus status, LevelStorage storage)
static String
findAvailableFolderName(String folder)
boolean
isError()
boolean
boolean
private static void
readNbtFile(File file)
(package private) void
untarGzipArchive(String name, File archive, LevelStorage storage)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldqw;a:Lorg/apache/logging/log4j/Logger;
intermediary field_19522
Lnet/minecraft/class_4333;field_19522:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/FileDownload;LOGGER:Lorg/apache/logging/log4j/Logger;
-
INVALID_FILE_NAMES
- Mappings:
Namespace Name Mixin selector official k
Ldqw;k:[Ljava/lang/String;
intermediary field_19532
Lnet/minecraft/class_4333;field_19532:[Ljava/lang/String;
named INVALID_FILE_NAMES
Lnet/minecraft/client/realms/FileDownload;INVALID_FILE_NAMES:[Ljava/lang/String;
-
cancelled
volatile boolean cancelled- Mappings:
Namespace Name Mixin selector official b
Ldqw;b:Z
intermediary field_19523
Lnet/minecraft/class_4333;field_19523:Z
named cancelled
Lnet/minecraft/client/realms/FileDownload;cancelled:Z
-
finished
volatile boolean finished- Mappings:
Namespace Name Mixin selector official c
Ldqw;c:Z
intermediary field_19524
Lnet/minecraft/class_4333;field_19524:Z
named finished
Lnet/minecraft/client/realms/FileDownload;finished:Z
-
error
volatile boolean error- Mappings:
Namespace Name Mixin selector official d
Ldqw;d:Z
intermediary field_19525
Lnet/minecraft/class_4333;field_19525:Z
named error
Lnet/minecraft/client/realms/FileDownload;error:Z
-
extracting
volatile boolean extracting- Mappings:
Namespace Name Mixin selector official e
Ldqw;e:Z
intermediary field_19526
Lnet/minecraft/class_4333;field_19526:Z
named extracting
Lnet/minecraft/client/realms/FileDownload;extracting:Z
-
backupFile
- Mappings:
Namespace Name Mixin selector official f
Ldqw;f:Ljava/io/File;
intermediary field_20490
Lnet/minecraft/class_4333;field_20490:Ljava/io/File;
named backupFile
Lnet/minecraft/client/realms/FileDownload;backupFile:Ljava/io/File;
-
resourcePackPath
- Mappings:
Namespace Name Mixin selector official g
Ldqw;g:Ljava/io/File;
intermediary field_19528
Lnet/minecraft/class_4333;field_19528:Ljava/io/File;
named resourcePackPath
Lnet/minecraft/client/realms/FileDownload;resourcePackPath:Ljava/io/File;
-
httpRequest
private volatile org.apache.http.client.methods.HttpGet httpRequest- Mappings:
Namespace Name Mixin selector official h
Ldqw;h:Lorg/apache/http/client/methods/HttpGet;
intermediary field_20491
Lnet/minecraft/class_4333;field_20491:Lorg/apache/http/client/methods/HttpGet;
named httpRequest
Lnet/minecraft/client/realms/FileDownload;httpRequest:Lorg/apache/http/client/methods/HttpGet;
-
currentThread
- Mappings:
Namespace Name Mixin selector official i
Ldqw;i:Ljava/lang/Thread;
intermediary field_19530
Lnet/minecraft/class_4333;field_19530:Ljava/lang/Thread;
named currentThread
Lnet/minecraft/client/realms/FileDownload;currentThread:Ljava/lang/Thread;
-
requestConfig
private final org.apache.http.client.config.RequestConfig requestConfig- Mappings:
Namespace Name Mixin selector official j
Ldqw;j:Lorg/apache/http/client/config/RequestConfig;
intermediary field_19531
Lnet/minecraft/class_4333;field_19531:Lorg/apache/http/client/config/RequestConfig;
named requestConfig
Lnet/minecraft/client/realms/FileDownload;requestConfig:Lorg/apache/http/client/config/RequestConfig;
-
-
Constructor Details
-
FileDownload
public FileDownload()
-
-
Method Details
-
contentLength
- Mappings:
Namespace Name Mixin selector official a
Ldqw;a(Ljava/lang/String;)J
intermediary method_20955
Lnet/minecraft/class_4333;method_20955(Ljava/lang/String;)J
named contentLength
Lnet/minecraft/client/realms/FileDownload;contentLength(Ljava/lang/String;)J
-
downloadWorld
public void downloadWorld(WorldDownload download, String message, RealmsDownloadLatestWorldScreen.DownloadStatus status, LevelStorage storage)- Mappings:
Namespace Name Mixin selector official a
Ldqw;a(Ldse;Ljava/lang/String;Ldsz$a;Ldib;)V
intermediary method_22100
Lnet/minecraft/class_4333;method_22100(Lnet/minecraft/class_4889;Ljava/lang/String;Lnet/minecraft/class_4392$class_4393;Lnet/minecraft/class_32;)V
named downloadWorld
Lnet/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;)V
-
cancel
public void cancel()- Mappings:
Namespace Name Mixin selector official a
Ldqw;a()V
intermediary method_20948
Lnet/minecraft/class_4333;method_20948()V
named cancel
Lnet/minecraft/client/realms/FileDownload;cancel()V
-
isFinished
public boolean isFinished()- Mappings:
Namespace Name Mixin selector official b
Ldqw;b()Z
intermediary method_20957
Lnet/minecraft/class_4333;method_20957()Z
named isFinished
Lnet/minecraft/client/realms/FileDownload;isFinished()Z
-
isError
public boolean isError()- Mappings:
Namespace Name Mixin selector official c
Ldqw;c()Z
intermediary method_20961
Lnet/minecraft/class_4333;method_20961()Z
named isError
Lnet/minecraft/client/realms/FileDownload;isError()Z
-
isExtracting
public boolean isExtracting()- Mappings:
Namespace Name Mixin selector official d
Ldqw;d()Z
intermediary method_20964
Lnet/minecraft/class_4333;method_20964()Z
named isExtracting
Lnet/minecraft/client/realms/FileDownload;isExtracting()Z
-
findAvailableFolderName
- Mappings:
Namespace Name Mixin selector official b
Ldqw;b(Ljava/lang/String;)Ljava/lang/String;
intermediary method_20960
Lnet/minecraft/class_4333;method_20960(Ljava/lang/String;)Ljava/lang/String;
named findAvailableFolderName
Lnet/minecraft/client/realms/FileDownload;findAvailableFolderName(Ljava/lang/String;)Ljava/lang/String;
-
untarGzipArchive
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldqw;a(Ljava/lang/String;Ljava/io/File;Ldib;)V
intermediary method_20956
Lnet/minecraft/class_4333;method_20956(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/class_32;)V
named untarGzipArchive
Lnet/minecraft/client/realms/FileDownload;untarGzipArchive(Ljava/lang/String;Ljava/io/File;Lnet/minecraft/world/level/storage/LevelStorage;)V
-
readNbtFile
- Mappings:
Namespace Name Mixin selector official a
Ldqw;a(Ljava/io/File;)V
intermediary method_25031
Lnet/minecraft/class_4333;method_25031(Ljava/io/File;)V
named readNbtFile
Lnet/minecraft/client/realms/FileDownload;readNbtFile(Ljava/io/File;)V
-