net.minecraft.client.resources

public class ClientPackSource

implements RepositorySource

ekh
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 Pack
h
serverPack
field_5295
serverContainer
field_195757_g

Constructor summary

ModifierConstructor
public (File serverPacksRoot, AssetIndex index)

Method summary

Modifier and TypeMethod
public void
a(Consumer<abu> arg0, abu$a arg1)
loadPacks(Consumer<Pack> arg0, Pack$PackConstructor arg1)
method_14453(Consumer<class_3288> arg0, class_3288$class_5351 arg1)
register(Consumer<ResourcePackProfile> arg0, ResourcePackProfile$Factory arg1)
func_230230_a_(Consumer<ResourcePackInfo> arg0, ResourcePackInfo$IFactory arg1)
public VanillaPackResources
a()
getVanillaPack()
method_4633()
getPack()
func_195746_a()
private static Map<String, String>
c()
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
b()
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, abx 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 Pack
a(abu$a arg0)
createProgrammerArtPack(Pack$PackConstructor arg0)
method_25454(class_3288$class_5351 arg0)
method_25454(ResourcePackProfile$Factory arg0)
func_239453_a_(ResourcePackInfo$IFactory arg0)
private static Pack
a(abu$a arg0, Supplier<abj> arg1)
createProgrammerArtPack(Pack$PackConstructor arg0, Supplier<PackResources> arg1)
method_25453(class_3288$class_5351 arg0, Supplier<class_3262> arg1)
method_25453(ResourcePackProfile$Factory arg0, Supplier<ResourcePack> arg1)
func_239454_a_(ResourcePackInfo$IFactory 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)