net.minecraft.client.resource.pack.repository

public class ClientPackSource

implements RepositorySource

dur
net.minecraft.class_1066
net.minecraft.client.resource.pack.repository.ClientPackSource
net.minecraft.client.resources.DownloadingPackFinder
net.minecraft.client.resources.DownloadingPackFinder

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
field_5298
LOGGER
field_195751_a
LOGGER
private static final Pattern
b
field_5296
SHA1
field_195752_b
field_195752_b
private final BuiltInPack
c
field_5293
defaultPack
field_195753_c
vanillaPack
private final File
d
field_5292
serverPackDirectory
field_195754_d
field_195754_d
private final ReentrantLock
e
field_5297
lock
field_195755_e
field_195755_e
private final AssetIndex
f
field_16263
f_83040479
field_217819_f
field_217819_f
private CompletableFuture<?>
g
field_5294
serverPackFuture
field_195756_f
field_195756_f
private UnopenedResourcePack
h
field_5295
serverPack
field_195757_g
field_195757_g

Constructor summary

ModifierConstructor
public (File serverPackDir, AssetIndex assets)

Method summary

Modifier and TypeMethod
public <T extends UnopenedPack> void
a(Map<String, T> arg0, ww$b<T> arg1)
method_14453(Map<String, T> arg0, class_3288$class_3290<T> arg1)
loadPacks(Map<String, T> arg0, UnopenedPack$Factory<T> arg1)
func_195730_a(Map<String, T> arg0, ResourcePackInfo$IFactory<T> arg1)
addPackInfosToMap(Map<String, T> arg0, ResourcePackInfo$IFactory<T> arg1)
public BuiltInPack
a()
method_4633()
getDefaultPack()
func_195746_a()
getVanillaPack()
public static Map<String, String>
b()
method_4636()
getDownloadHeaders()
func_195742_b()
func_195742_b()
public CompletableFuture<?>
a(String arg0, String arg1)
method_4640(String arg0, String arg1)
downloadServerPack(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
func_217818_a(String arg0, String arg1)
private static void
b(File arg0)
method_19437(File arg0)
m_11649395(File arg0)
func_217811_b(File arg0)
func_217811_b(File arg0)
public void
c()
method_4642()
removeServerPack()
func_195749_c()
clearResourcePack()
private boolean
a(String arg0, File arg1)
method_4641(String arg0, File arg1)
checkHash(String hash, File file)
func_195745_a(String arg0, File arg1)
func_195745_a(String arg0, File arg1)
private void
d()
method_4643()
clearOldDownloads()
func_195747_e()
func_195747_e()
public CompletableFuture<Void>
a(File arg0)
method_4638(File arg0)
applyServerPack(File arg0)
func_217816_a(File arg0)
func_217816_a(File arg0)