net.minecraft.client.resources

public class ClientPackSource

implements RepositorySource

eao
net.minecraft.client.resources.ClientPackSource
net.minecraft.class_1066
net.minecraft.client.resource.ClientBuiltinResourcePackProvider
net.minecraft.client.resources.DownloadingPackFinder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_5298
LOGGER
field_195751_a
private static final Pattern
b
SHA1
field_5296
ALPHANUMERAL
field_195752_b
private final VanillaPack
c
vanillaPack
field_5293
pack
field_195753_c
private final File
d
serverPackDir
field_5292
serverPacksRoot
field_195754_d
private final ReentrantLock
e
downloadLock
field_5297
lock
field_195755_e
private final AssetIndex
f
assetIndex
field_16263
index
field_217819_f
private CompletableFuture<?>
g
currentDownload
field_5294
downloadTask
field_195756_f
private UnopenedResourcePack
h
serverPack
field_5295
serverContainer
field_195757_g

Constructor summary

ModifierConstructor
public (File serverPacksRoot, AssetIndex index)

Method summary

Modifier and TypeMethod
public <T extends UnopenedPack> void
a(Map<String, T> arg0, yt$b<T> arg1)
loadPacks(Map<String, T> arg0, UnopenedPack$UnopenedPackConstructor<T> arg1)
method_14453(Map<String, T> arg0, class_3288$class_3290<T> arg1)
register(Map<String, T> arg0, ResourcePackProfile$Factory<T> arg1)
func_195730_a(Map<String, T> arg0, ResourcePackInfo$IFactory<T> arg1)
public VanillaPack
a()
getVanillaPack()
method_4633()
getPack()
func_195746_a()
public static Map<String, String>
b()
getDownloadHeaders()
method_4636()
getDownloadHeaders()
func_195742_b()
public CompletableFuture<?>
a(String arg0, String arg1)
downloadAndSelectResourcePack(String arg0, String arg1)
method_4640(String arg0, String arg1)
download(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
private static void
b(File arg0)
deleteQuietly(File arg0)
method_19437(File arg0)
delete(File file)
func_217811_b(File arg0)
public void
c()
clearServerPack()
method_4642()
clear()
func_195749_c()
private boolean
a(String arg0, File arg1)
checkHash(String arg0, File arg1)
method_4641(String arg0, File arg1)
verifyFile(String expectedSha1, File rfile)
func_195745_a(String arg0, File arg1)
private void
d()
clearOldDownloads()
method_4643()
deleteOldServerPack()
func_195747_e()
public CompletableFuture<Void>
a(File arg0)
setServerPack(File arg0)
method_4638(File arg0)
loadServerPack(File packZip)
func_217816_a(File arg0)