net.minecraft.server.packs

public class DownloadQueue

implements AutoCloseable

asx
net.minecraft.server.packs.DownloadQueue
net.minecraft.class_9028
net.minecraft.util.Downloader

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_47572
LOGGER
private static final int
b
MAX_KEPT_PACKS
field_47679
MAX_RETAINED_CACHE_FILES
private final Path
c
cacheDir
field_47573
directory
private final JsonEventLog<DownloadQueue$LogEntry>
d
eventLog
field_47574
logWriter
private final ConsecutiveExecutor
e
tasks
field_47575
executor

Constructor summary

ModifierConstructor
public (Path directory)

Method summary

Modifier and TypeMethod
private DownloadQueue$BatchResult
b(asx$a arg0, Map<UUID, asx$c> arg1)
runDownload(DownloadQueue$BatchConfig arg0, Map<UUID, DownloadQueue$DownloadRequest> arg1)
method_55488(class_9028$class_9029 arg0, Map<UUID, class_9028$class_9031> arg1)
download(Downloader$Config config, Map<UUID, Downloader$DownloadEntry> entries)
private com.mojang.datafixers.util.Either<String, DownloadQueue$FileInfoEntry>
a(Path arg0)
getFileInfo(Path arg0)
method_55487(Path arg0)
getFileInfo(Path path)
public CompletableFuture<DownloadQueue$BatchResult>
a(asx$a arg0, Map<UUID, asx$c> arg1)
downloadBatch(DownloadQueue$BatchConfig arg0, Map<UUID, DownloadQueue$DownloadRequest> arg1)
method_55486(class_9028$class_9029 arg0, Map<UUID, class_9028$class_9031> arg1)
downloadAsync(Downloader$Config config, Map<UUID, Downloader$DownloadEntry> entries)
public void
close()
close()