com.mojang.realmsclient.client

public class FileDownload

fzw
com.mojang.realmsclient.client.FileDownload
net.minecraft.class_4333
net.minecraft.client.realms.FileDownload
net.minecraft.src.C_3213_

字段概要

修饰符与类型字段
private static final org.slf4j.Logger
a
LOGGER
field_19522
LOGGER
f_86953_
private volatile boolean
b
cancelled
field_19523
cancelled
f_86954_
private volatile boolean
c
finished
field_19524
finished
f_86955_
private volatile boolean
d
error
field_19525
error
f_86956_
private volatile boolean
e
extracting
field_19526
extracting
f_86957_
private volatile File
f
tempFile
field_20490
backupFile
f_86958_
private volatile File
g
resourcePackPath
field_19528
resourcePackPath
f_86959_
private volatile CompletableFuture<?>
h
pendingRequest
field_64188
future
f_433511_
private Thread
i
currentThread
field_19530
currentThread
f_86961_
private static final String[]
j
INVALID_FILE_NAMES
field_19532
INVALID_FILE_NAMES
f_86963_

构造函数概要

修饰符构造函数
public ()

方法概要

修饰符与类型方法
private <T> T
a(CompletableFuture<T> arg0)
joinCancellableRequest(CompletableFuture<T> arg0)
method_76238(CompletableFuture<T> arg0)
submit(CompletableFuture<T> future)
m_446387_(CompletableFuture<T> arg0)
private static HttpClient
e()
createClient()
method_76240()
createClient()
m_440773_()
private static HttpRequest$Builder
c(String arg0)
createRequest(String arg0)
method_76239(String arg0)
createRequestBuilder(String uri)
m_443860_(String p_451509_)
public static OptionalLong
a(String arg0)
contentLength(String arg0)
method_20955(String arg0)
contentLength(String uri)
m_86989_(String p_86990_)
public void
a(gby arg0, String arg1, gcr$a arg2, fni 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)
m_86982_(C_3262_ p_86984_, String p_86985_, C_3296_$C_3297_ p_86986_, C_2785_ arg3)
private void
a(gcr$a arg0, HttpClient arg1, String arg2, File arg3)
download(RealmsDownloadLatestWorldScreen$DownloadStatus arg0, HttpClient arg1, String arg2, File arg3)
method_76236(class_4392$class_4393 arg0, HttpClient arg1, String arg2, File arg3)
download(RealmsDownloadLatestWorldScreen$DownloadStatus status, HttpClient client, String uri, File output)
m_446683_(C_3296_$C_3297_ p_456696_, HttpClient p_451521_, String p_452410_, File arg3)
public void
a()
cancel()
method_20948()
cancel()
m_86966_()
public boolean
b()
isFinished()
method_20957()
isFinished()
m_86995_()
public boolean
c()
isError()
method_20961()
isError()
m_87003_()
public boolean
d()
isExtracting()
method_20964()
isExtracting()
m_87009_()
public static String
b(String arg0)
findAvailableFolderName(String arg0)
method_20960(String arg0)
findAvailableFolderName(String folder)
m_87001_(String p_87002_)
private void
a(String arg0, File arg1, fni arg2)
untarGzipArchive(String arg0, File arg1, LevelStorageSource arg2)
method_20956(String arg0, File arg1, class_32 arg2)
untarGzipArchive(String name, File archive, LevelStorage storage)
m_86991_(String p_86993_, File p_86994_, C_2785_ arg2)
private void
a(String arg0, File arg1, fni arg2, gcr$a arg3)
finishWorldDownload(String arg0, File arg1, LevelStorageSource arg2, RealmsDownloadLatestWorldScreen$DownloadStatus arg3)
method_76237(String arg0, File arg1, class_32 arg2, class_4392$class_4393 arg3)
extract(String name, File archive, LevelStorage storage, RealmsDownloadLatestWorldScreen$DownloadStatus status)
m_447411_(String p_452008_, File p_459078_, C_2785_ p_456927_, C_3296_$C_3297_ arg3)
private void
a(gcr$a arg0, File arg1, gby arg2)
finishResourcePackDownload(RealmsDownloadLatestWorldScreen$DownloadStatus arg0, File arg1, WorldDownload arg2)
method_76235(class_4392$class_4393 arg0, File arg1, class_4889 arg2)
validateAndCopy(RealmsDownloadLatestWorldScreen$DownloadStatus status, File file, WorldDownload download)
m_446273_(C_3296_$C_3297_ p_455767_, File p_454235_, C_3262_ arg2)