net.minecraft.client.resources

public class ClientPackSource

implements RepositorySource

ema
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 VanillaPackResources
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 ResourcePack
h
serverPack
field_5295
serverContainer
field_195757_g

Constructor summary

ModifierConstructor
public (File serverPacksRoot, AssetIndex index)

Method summary

Modifier and TypeMethod
public <T extends Pack> void
a(Consumer<T> arg0, aap$a<T> arg1)
loadPacks(Consumer<T> arg0, Pack$PackConstructor<T> arg1)
method_14453(Consumer<T> arg0, class_3288$class_5351<T> arg1)
register(Consumer<T> arg0, ResourcePackProfile$Factory<T> arg1)
func_230230_a_(Consumer<T> arg0, ResourcePackInfo$IFactory<T> arg1)
public VanillaPackResources
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
a(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 file)
func_195745_a(String arg0, File arg1)
private void
d()
clearOldDownloads()
method_4643()
deleteOldServerPack()
func_195747_e()
public CompletableFuture<Void>
a(File arg0, aas arg1)
setServerPack(File arg0, PackSource arg1)
method_4638(File arg0, class_5352 arg1)
loadServerPack(File packZip, ResourcePackSource arg1)
func_217816_a(File arg0, IPackNameDecorator arg1)
private <T extends Pack> T
a(aap$a<T> arg0)
createProgrammerArtPack(Pack$PackConstructor<T> arg0)
method_25454(class_3288$class_5351<T> arg0)
method_25454(ResourcePackProfile$Factory<T> arg0)
func_239453_a_(ResourcePackInfo$IFactory<T> arg0)
private static <T extends Pack> T
a(aap$a<T> arg0, Supplier<aae> arg1)
createProgrammerArtPack(Pack$PackConstructor<T> arg0, Supplier<PackResources> arg1)
method_25453(class_3288$class_5351<T> arg0, Supplier<class_3262> arg1)
method_25453(ResourcePackProfile$Factory<T> arg0, Supplier<ResourcePack> arg1)
func_239454_a_(ResourcePackInfo$IFactory<T> arg0, Supplier<IResourcePack> arg1)
private static FolderPackResources
b(File arg0)
createProgrammerArtDirPack(File arg0)
method_25455(File arg0)
method_25455(File arg0)
func_239459_b_(File arg0)
private static PackResources
c(File arg0)
createProgrammerArtZipPack(File arg0)
method_16048(File arg0)
method_16048(File arg0)
func_239460_c_(File arg0)