com.mojang.realmsclient.client

public class FileDownload

fhf
com.mojang.realmsclient.client.FileDownload
net.minecraft.class_4333
net.minecraft.client.realms.FileDownload

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_19522
LOGGER
volatile boolean
b
cancelled
field_19523
cancelled
volatile boolean
c
finished
field_19524
finished
volatile boolean
d
error
field_19525
error
volatile boolean
e
extracting
field_19526
extracting
private volatile File
f
tempFile
field_20490
backupFile
volatile File
g
resourcePackPath
field_19528
resourcePackPath
private volatile org.apache.http.client.methods.HttpGet
h
request
field_20491
httpRequest
private Thread
i
currentThread
field_19530
currentThread
private final org.apache.http.client.config.RequestConfig
j
requestConfig
field_19531
requestConfig
private static final String[]
k
INVALID_FILE_NAMES
field_19532
INVALID_FILE_NAMES

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public long
a(String arg0)
contentLength(String arg0)
method_20955(String arg0)
contentLength(String downloadLink)
public void
a(fiy arg0, String arg1, fjv$a arg2, ewd arg3)
download(WorldDownload arg0, String arg1, RealmsDownloadLatestWorldScreen$DownloadStatus arg2, LevelStorageSource arg3)
method_22100(class_4889 arg0, String arg1, class_4392$class_4393 arg2, class_32 arg3)
downloadWorld(WorldDownload download, String message, RealmsDownloadLatestWorldScreen$DownloadStatus status, LevelStorage storage)
public void
a()
cancel()
method_20948()
cancel()
public boolean
b()
isFinished()
method_20957()
isFinished()
public boolean
c()
isError()
method_20961()
isError()
public boolean
d()
isExtracting()
method_20964()
isExtracting()
public static String
b(String arg0)
findAvailableFolderName(String arg0)
method_20960(String arg0)
findAvailableFolderName(String folder)
void
a(String arg0, File arg1, ewd arg2)
untarGzipArchive(String arg0, File arg1, LevelStorageSource arg2)
method_20956(String arg0, File arg1, class_32 arg2)
untarGzipArchive(String name, File archive, LevelStorage storage)